1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00
Files
bootstrap/docs/components/custom-forms.md
2014-12-24 15:45:37 -08:00

1.4 KiB

layout, title
layout title
page Custom forms

In the interest of customization and cross browser consistency, Bootstrap include a handful of customized form elements. They're solid replacements for default form controls as they're built on top of semantic and accessible markup.

Checkboxes and radios

Checkboxes

{% example html %} Check this custom checkbox {% endexample %}

Radios

{% example html %} Toggle this custom radio Or toggle this other custom radio {% endexample %}

Stacked

Custom checkboxes and radios are inline to start. Add a parent with class .c-inputs-stacked to ensure each form control is on separate lines.

{% example html %}

Toggle this custom radio Or toggle this other custom radio
{% endexample %}