Skip to content

Instantly share code, notes, and snippets.

@fiximportant
Created April 2, 2018 11:53
Show Gist options
  • Save fiximportant/00451171bd6f2459263a664fc60e7d57 to your computer and use it in GitHub Desktop.
Save fiximportant/00451171bd6f2459263a664fc60e7d57 to your computer and use it in GitHub Desktop.
BoxSizing - CrossBrowser
html {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment