Switch to SCSS syntax to resolve abiguous syntax issues in SASS

This commit is contained in:
M. George Hansen 2016-11-04 15:33:06 -07:00
parent 82b1c35392
commit 71d96ab639
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
22 changed files with 365 additions and 252 deletions

16
src/_box-sizing.scss Normal file
View file

@ -0,0 +1,16 @@
/**
* 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;
}
*, *::before, *::after {
box-sizing: inherit;
}