Created
March 15, 2012 08:26
-
-
Save WideSolution/2042924 to your computer and use it in GitHub Desktop.
CSS: box-sizing
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 | |
source: http://paulirish.com/2012/box-sizing-border-box-ftw/ | |
*/ | |
* { | |
-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