Created
October 5, 2015 15:49
-
-
Save thebeckyhamm/da3d0e150c652df73084 to your computer and use it in GitHub Desktop.
Box Sizing border box best practice: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment