Bring back box-sizing reset.

Props @chrisdc.
See #674.
This commit is contained in:
Konstantin Obenland 2014-12-31 12:27:05 -08:00
parent 6c47be98c1
commit 115221ea34
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
html {
box-sizing: border-box;
}
*, *,
*:before, *:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */

View File

@ -353,6 +353,10 @@ big {
/*-------------------------------------------------------------- /*--------------------------------------------------------------
3.0 Elements 3.0 Elements
--------------------------------------------------------------*/ --------------------------------------------------------------*/
html {
box-sizing: border-box;
}
*, *,
*:before, *:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */