Improve way to set box-sizing.
This commit is contained in:
parent
9635284f60
commit
651783d6f9
1 changed files with 71 additions and 61 deletions
|
|
@ -13,10 +13,16 @@
|
|||
// ==========================================================================
|
||||
|
||||
// Use the saner border-box model for all elements.
|
||||
* {
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
// Normalize-scss is broken into modular pieces to make it easier to edit.
|
||||
@import 'document/document';
|
||||
@import 'sections/sections';
|
||||
|
|
|
|||
Loading…
Reference in a new issue