Skip to content

Instantly share code, notes, and snippets.

@bookwyrm
Created January 14, 2015 17:06
Show Gist options
  • Save bookwyrm/8a354c3672a9d20b2a80 to your computer and use it in GitHub Desktop.
Save bookwyrm/8a354c3672a9d20b2a80 to your computer and use it in GitHub Desktop.
Inherited box-sizing Breaks Principle of Least Surprise Code Samples - http://www.vanderpol.net/inherited-box-sizing-breaks-principle-of-least-surprise/
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
*, *:before, *:after {
box-sizing: border-box;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment