]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add options to the examples so they render properly
authorMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 05:53:32 +0000 (22:53 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 05:53:32 +0000 (22:53 -0700)
docs/components/forms.md

index f78bc40fe7ca12b027b3e3114433f324cee76f1c..00d26b2662a2a41a279b572e85cbec0cd9494312 100644 (file)
@@ -609,9 +609,15 @@ Set heights using classes like `.form-control-lg`, and set widths using grid col
 {% endexample %}
 
 {% example html %}
-<select class="form-control form-control-lg"></select>
-<select class="form-control"></select>
-<select class="form-control form-control-sm"></select>
+<select class="form-control form-control-lg">
+  <option>Large select</option>
+</select>
+<select class="form-control">
+  <option>Default select</option>
+</select>
+<select class="form-control form-control-sm">
+  <option>Small select</option>
+</select>
 {% endexample %}
 
 ## Column sizing