diff options
| author | Mark Otto <[email protected]> | 2013-08-12 14:03:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-12 14:03:57 -0700 |
| commit | a78c8d9c04e83a22d6eebc2e3d54cb2ccf6b614c (patch) | |
| tree | 70d18a7f44fc125205430a91c33d8eda9ebe7785 /_includes | |
| parent | abedd38c5b4f7f9e9abfd7528b9e7679cbd46fc2 (diff) | |
| download | bootstrap-a78c8d9c04e83a22d6eebc2e3d54cb2ccf6b614c.tar.xz bootstrap-a78c8d9c04e83a22d6eebc2e3d54cb2ccf6b614c.zip | |
Newfangled input and button group sizing (fixes #9295)
Instead of applying `.btn-` or `.input-` to individual elements in
button and input groups, we now have new sizing classes to keep your
markup a little leaner.
* Add `.input-group-sm` or `.input-group-lg` to your `.input-group` to
replicate `.input-sm` and `.input-lg`, respectively.
* Add `.btn-group-xs`, `.btn-group-sm`, or `.btn-group-lg` to your
`.btn-group` to replicate `.btn-xs`, `.btn-sm`, and `. btn-lg`,
respectively.
Both sets of new sizing classes simply use the existing individual
sizing classes as mixins, so customization of them is automatically
inherited when compiling.
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/nav-components.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_includes/nav-components.html b/_includes/nav-components.html index f23434654..c9cb2729d 100644 --- a/_includes/nav-components.html +++ b/_includes/nav-components.html @@ -12,6 +12,8 @@ <ul class="nav"> <li><a href="#btn-groups-single">Basic button group</a></li> <li><a href="#btn-groups-toolbar">Button toolbar</a></li> + <li><a href="#btn-groups-sizing">Button group sizing</a></li> + <li><a href="#btn-groups-nested">Nested button groups</a></li> <li><a href="#btn-groups-vertical">Vertical variation</a></li> <li><a href="#btn-groups-justified">Justified link buttons</a></li> </ul> |
