2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

add .btn-block for a full-width button option

This commit is contained in:
Mark Otto
2012-07-27 15:42:58 -07:00
parent 16b4ac0d8f
commit fe6a4b0b54
4 changed files with 71 additions and 42 deletions
+10
View File
@@ -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,