-
-
Save adelarsq/7fb3b89fd7d3b9d23b362765251e0ab2 to your computer and use it in GitHub Desktop.
The CSS I put in the top of every new web app
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
:root { | |
box-sizing: border-box; | |
} | |
*, ::before, ::after { | |
box-sizing: inherit; | |
} | |
html { | |
scroll-behavior: smooth; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment