Skip to content

Instantly share code, notes, and snippets.

@Brian-Pob
Created September 25, 2023 01:31
Show Gist options
  • Save Brian-Pob/e19cc84a3d84f7d0d33426b1e741897e to your computer and use it in GitHub Desktop.
Save Brian-Pob/e19cc84a3d84f7d0d33426b1e741897e to your computer and use it in GitHub Desktop.
Minified version of my css reset
*,::after,::before{box-sizing:border-box}*{margin:0}body,html{height:100%}body{line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed}ol[role=list],ul[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,::after,::before{animation-duration:0s!important;animation-iteration-count:1!important;transition-duration:0s!important;scroll-behavior:auto!important}}#__next,#root{isolation:isolate}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment