diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index c59a7fd974..700d92d785 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3019,6 +3019,16 @@ button.close { line-height: 16px; } +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + .btn-primary.active, .btn-warning.active, .btn-danger.active, diff --git a/docs/base-css.html b/docs/base-css.html index 4f0df407d7..f827380ac4 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1439,26 +1439,34 @@ For example, <code>section</code> should be wrapped as inline.
IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button
elements, rendering text gray with a nasty text-shadow that we cannot fix.
Fancy larger or smaller buttons? Add .btn-large
, .btn-small
, or .btn-mini
for two additional sizes.
- - -
-- - -
-- - -
- - -+ + +
++ + +
++ + +
++<button class="btn btn-large" type="button">Large button</button> +<button class="btn btn-small" type="button">Small button</button> +<button class="btn btn-mini" type="button">Mini button</button> ++
Create block level buttons—those that span the full width of a parent— by adding .btn-block
.
<button class="btn btn-large btn-block" type="button">Block level button</button>
Use the .btn
class on an <a>
, <button>
, or <input>
element.