Migrate existing code to repo
This commit is contained in:
parent
b6c6217bf6
commit
50503a421d
19 changed files with 1451 additions and 1 deletions
14
src/_box-sizing.sass
Normal file
14
src/_box-sizing.sass
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* 1. Reset box-sizing on all elements to border-box.
|
||||
*
|
||||
* This uses Jon Neal's method of setting the default box-sizing on the root
|
||||
* html element and then having all other elements inherit box-sizing
|
||||
* (https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/).
|
||||
* This method seems to cause the least number of headaches and override
|
||||
* issues.
|
||||
*/
|
||||
html
|
||||
box-sizing: border-box /* 1 */
|
||||
|
||||
*, *::before, *::after
|
||||
box-sizing: inherit /* 1 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue