Skip to content

Instantly share code, notes, and snippets.

@robmcalister
Created October 18, 2013 21:15
Show Gist options
  • Save robmcalister/7048379 to your computer and use it in GitHub Desktop.
Save robmcalister/7048379 to your computer and use it in GitHub Desktop.
box model the right way
/* 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