Created
February 25, 2021 14:15
-
-
Save IacovColisnicenco/bb3a800a0a91165f81126325da845db1 to your computer and use it in GitHub Desktop.
box-sizing — best practice
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
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