Last active
August 29, 2015 13:57
-
-
Save smonn/9504303 to your computer and use it in GitHub Desktop.
box-sizing: border-box; via http://www.paulirish.com/2012/box-sizing-border-box-ftw/
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
/* apply a natural box layout model to all elements */ | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment