Skip to content

Instantly share code, notes, and snippets.

@stanosmith
Created April 24, 2012 16:38
Show Gist options
  • Save stanosmith/2481300 to your computer and use it in GitHub Desktop.
Save stanosmith/2481300 to your computer and use it in GitHub Desktop.
CSS: * { box-sizing: border-box } FTW
/* apply a natural box layout model to all elements */
* { -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