aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-27 15:42:58 -0700
committerMark Otto <[email protected]>2012-07-27 15:42:58 -0700
commitfe6a4b0b5497a78a085e85125f4397a27b7737dc (patch)
tree0bd945dfd64e0d472cbb3cefbe416139ac404377 /less
parent16b4ac0d8fd5fd2aa588a8b486b71b449e3821ca (diff)
downloadbootstrap-fe6a4b0b5497a78a085e85125f4397a27b7737dc.tar.xz
bootstrap-fe6a4b0b5497a78a085e85125f4397a27b7737dc.zip
add .btn-block for a full-width button option
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 8bdf34b20..b6c78ce36 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -99,6 +99,15 @@
line-height: @baseLineHeight - 4px;
}
+// Block button
+.btn-block {
+ display: block;
+ width: 100%;
+ padding-left: 0;
+ padding-right: 0;
+ .box-sizing(border-box);
+}
+
// Alternate buttons
// --------------------------------------------------