Created
November 20, 2013 15:14
-
-
Save thekarel/7564814 to your computer and use it in GitHub Desktop.
box sizing
This file contains hidden or 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
/* | |
The width and height properties include the padding and border, but not the margin. | |
https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing | |
Default: content-box | |
*/ | |
element { | |
box-sizing: border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment