Last active
January 16, 2022 07:27
-
-
Save Alexs7zzh/2178d4a631d8116ce1480c560de53700 to your computer and use it in GitHub Desktop.
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
*, | |
*::before, | |
*::after { | |
box-sizing: border-box; | |
} | |
* { | |
margin: 0; | |
} | |
html { | |
text-rendering: optimizeLegibility; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
text-size-adjust: 100%; | |
font-size: 18px; | |
line-height: 1.5; | |
} | |
html:focus-within { | |
scroll-behavior: smooth; | |
} | |
body { | |
height: 100%; | |
} | |
img, picture, video, canvas, svg { | |
display: block; | |
max-width: 100%; | |
height: auto; | |
} | |
input, button, textarea, select { | |
font: inherit; | |
} | |
button { | |
appearance: none; | |
background: transparent; | |
} | |
p, h1, h2, h3, h4, h5, h6 { | |
overflow-wrap: break-word; | |
} | |
:target { | |
scroll-margin-top: 2em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment