Created
April 5, 2012 17:54
-
-
Save stephenway/2312847 to your computer and use it in GitHub Desktop.
CSS Apply a natural box layout model to all elements
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
* { | |
-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
Credit Paul Irish, published on his blog http://paulirish.com/2012/box-sizing-border-box-ftw/