forked from mirror/_s
Apply a natural box layout model to all elements; see #341.
This commit is contained in:
parent
aa0879e054
commit
73d72d6791
|
@ -50,6 +50,13 @@ html {
|
|||
-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
|
||||
-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
|
||||
}
|
||||
*,
|
||||
*:before,
|
||||
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
@ -264,7 +271,6 @@ input[type="submit"]:active {
|
|||
}
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
|
||||
padding: 0; /* Addresses excess padding in IE8/9 */
|
||||
}
|
||||
input[type="search"] {
|
||||
|
|
Reference in New Issue