Last active
June 28, 2016 17:09
-
-
Save dmitriybevz2/4afe8d80c0c1fbbb694c301d78577711 to your computer and use it in GitHub Desktop.
box-sizing styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Этот код используеться в начале 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