Last active
January 27, 2019 01:58
-
-
Save adriaanbd/9a68c2a70c66cb9974223a7ec74e6dfd to your computer and use it in GitHub Desktop.
Border box best practice: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
This file contains 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