Skip to content

Instantly share code, notes, and snippets.

@siggiarni
Created December 12, 2014 10:03
Show Gist options
  • Save siggiarni/e6e23baa9362bec38905 to your computer and use it in GitHub Desktop.
Save siggiarni/e6e23baa9362bec38905 to your computer and use it in GitHub Desktop.
/* apply a natural box layout model to all elements, but allowing components to change */
/* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
html {
box-sizing: border-box;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment