diff options
| author | Mark Otto <[email protected]> | 2012-06-19 14:42:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-06-19 14:42:46 -0700 |
| commit | b54264cde0b1e72fbb463e4aa272ed1c2876bd02 (patch) | |
| tree | 868d23d81c6cf39a002d196be438927f4450e14e /docs/components.html | |
| parent | 64ba423b6d06c98e95e23d8c34df62a47a421a03 (diff) | |
| download | bootstrap-b54264cde0b1e72fbb463e4aa272ed1c2876bd02.tar.xz bootstrap-b54264cde0b1e72fbb463e4aa272ed1c2876bd02.zip | |
add basic vertical button group support
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html index ce931783f..3b3f5a783 100644 --- a/docs/components.html +++ b/docs/components.html @@ -263,6 +263,30 @@ </div> </pre> + + <hr class="bs-docs-separator"> + + + <h2>Vertical button groups</h2> + <p>Make a set of buttons appear vertically stacked rather than horizontally.</p> + <div class="bs-docs-example"> + <div class="btn-group btn-group-vertical"> + <button type="button" class="btn"><i class="icon-align-left"></i></button> + <button type="button" class="btn"><i class="icon-align-center"></i></button> + <button type="button" class="btn"><i class="icon-align-right"></i></button> + <button type="button" class="btn"><i class="icon-align-justify"></i></button> + </div> + </div> +<pre class="prettyprint linenums"> +<div class="btn-group btn-group-vertical"> + ... +</div> +</pre> + + + <hr class="bs-docs-separator"> + + <h3>Checkbox and radio flavors</h3> <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p> |
