Skip to content

Instantly share code, notes, and snippets.

@reactormade
Created December 29, 2013 20:18
Show Gist options
  • Save reactormade/8174351 to your computer and use it in GitHub Desktop.
Save reactormade/8174351 to your computer and use it in GitHub Desktop.
Apply a natural box layout model to all elements
/*
* apply a natural box layout model to all elements
* http://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
*, *: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