Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSS: box-sizing
/*
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
You can’t perform that action at this time.