Skip to content

Instantly share code, notes, and snippets.

@dmitriybevz2
Last active June 28, 2016 17:09
Show Gist options
  • Save dmitriybevz2/4afe8d80c0c1fbbb694c301d78577711 to your computer and use it in GitHub Desktop.
Save dmitriybevz2/4afe8d80c0c1fbbb694c301d78577711 to your computer and use it in GitHub Desktop.
box-sizing styles
/* Этот код используеться в начале css для того, чтобы ширина и высота блока вели себя предсказуемо */
*, *:before, *:after {
-webkit-box-sizing: border-box; /* Needed for mobile WebKit */
-moz-box-sizing: border-box; /* Needed for Firefox */
box-sizing: border-box
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment