Skip to content

Instantly share code, notes, and snippets.

@stanosmith
Created March 1, 2017 23:25
Show Gist options
  • Save stanosmith/3143499b4eb3575b4e4585ea80943142 to your computer and use it in GitHub Desktop.
Save stanosmith/3143499b4eb3575b4e4585ea80943142 to your computer and use it in GitHub Desktop.
CSS box-sizing
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