Replace classic box-sizing reset with inheritance reset
Reference: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
This commit is contained in:
parent
93c5f71faf
commit
fc6f7802a2
|
@ -1,10 +1,14 @@
|
|||
/* Base */
|
||||
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
font: 300 21px Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
|
|
Loading…
Reference in New Issue