Skip to content

Instantly share code, notes, and snippets.

@TheAyes
Last active September 16, 2024 08:54
Show Gist options
  • Select an option

  • Save TheAyes/e7208ae0de6e542907ab045389e8f2ad to your computer and use it in GitHub Desktop.

Select an option

Save TheAyes/e7208ae0de6e542907ab045389e8f2ad to your computer and use it in GitHub Desktop.
CSS Reset
*, *::before, *::after {
box-sizing: border-box;
min-width: 0;
margin: 0;
padding: 0;
}
html {
font-size: 62.5%;
}
body {
font-size: 1.6rem;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
input, button, textarea, select {
font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
#root, #__next {
isolation: isolate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment