Last active
January 27, 2024 13:10
-
-
Save FrantisekSilhan/52340fce5830250922f3dc6c54f095c7 to your computer and use it in GitHub Desktop.
edit of Modern CSS Reset by Andy Bell
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
blockquote,body,dd,dl,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hr,menu,ol,p,pre,ul { | |
margin: 0; | |
} | |
fieldset,legend,menu,ol,ul { | |
padding: 0; | |
} | |
address,b,cite,code,dfn,em,h1,h2,h3,h4,h5,h6,i,kbd,pre,samp,small,strong,sub,sup,th,var { | |
font: inherit; | |
} | |
* { | |
min-width: 0; | |
} | |
body { | |
min-height: 100vh; | |
text-rendering: optimizeSpeed; | |
line-height: 1.5; | |
} | |
html:focus-within { | |
scroll-behavior: smooth; | |
} | |
a:not([class]) { | |
text-decoration-skip-ink: auto; | |
} | |
img,picture { | |
max-width: 100%; | |
display: block; | |
} | |
table { | |
border-collapse: collapse; | |
} | |
ul[role="list"],ol[role="list"] { | |
list-style: none; | |
} | |
@media (prefers-reduced-motion: reduce) { | |
html:focus-within { | |
scroll-behavior: auto; | |
} | |
*,*::before,*::after { | |
animation-duration: 0.01ms !important; | |
animation-iteration-count: 1 !important; | |
transition-duration: 0.01ms !important; | |
scroll-behavior: auto !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment