diff options
| author | Mark Otto <[email protected]> | 2014-12-24 04:13:23 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-12-24 04:13:23 -0800 |
| commit | 18e08e777b5dcdb445952a579c02a77f86f7e56b (patch) | |
| tree | 8ee9956cb2516d642825130d5606c613d6cdd89c /docs/components/custom-forms.md | |
| parent | e1bb907050bbf1598f58a53fc64e2432753d5b24 (diff) | |
| download | bootstrap-18e08e777b5dcdb445952a579c02a77f86f7e56b.tar.xz bootstrap-18e08e777b5dcdb445952a579c02a77f86f7e56b.zip | |
add custom forms, stub out examples for radios and checkboxes
Diffstat (limited to 'docs/components/custom-forms.md')
| -rw-r--r-- | docs/components/custom-forms.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/components/custom-forms.md b/docs/components/custom-forms.md new file mode 100644 index 000000000..de0fb7e7f --- /dev/null +++ b/docs/components/custom-forms.md @@ -0,0 +1,25 @@ +--- +layout: page +title: Custom forms +--- + +{% example html %} +<label class="c-input c-checkbox"> + <input type="checkbox"> + <span class="c-indicator"></span> + Check this custom checkbox +</label> +{% endexample %} + +{% example html %} +<label class="c-input c-radio"> + <input id="radio1" name="radio" type="radio"> + <span class="c-indicator"></span> + Toggle this custom radio +</label> +<label class="c-input c-radio"> + <input id="radio2" name="radio" type="radio"> + <span class="c-indicator"></span> + Or toggle this other custom radio +</label> +{% endexample %} |
