1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 15:29:06 +02:00

add block level input mixin for border-box box-sizing

This commit is contained in:
Mark Otto
2012-03-11 21:21:51 -07:00
parent c8f4325c19
commit ee5d2ec91a
5 changed files with 39 additions and 17 deletions

View File

@@ -117,6 +117,19 @@ textarea {
text-indent: 100%;
white-space: nowrap;
}
.input-block-level {
display: block;
width: 100%;
min-height: 28px;
/* Make inputs at least the height of their button counterpart */
/* Makes inputs behave like true block-level elements */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;