Skip to content

Instantly share code, notes, and snippets.

@pampels
Created November 17, 2013 04:27
Show Gist options
  • Save pampels/7509223 to your computer and use it in GitHub Desktop.
Save pampels/7509223 to your computer and use it in GitHub Desktop.
css: box-sizing
/* 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