Skip to content

Instantly share code, notes, and snippets.

@fullmetalbrackets
Created November 30, 2021 03:23
Show Gist options
  • Save fullmetalbrackets/50263f7d2fb8e6761efc883fa99ef403 to your computer and use it in GitHub Desktop.
Save fullmetalbrackets/50263f7d2fb8e6761efc883fa99ef403 to your computer and use it in GitHub Desktop.
CSS Reset
html {
box-sizing: border-box;
height: 100%;
}
*, *:before, *:after {
box-sizing: inherit;
}
* {
margin: 0;
}
body {
height: 100%;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
input, button, textarea, select {
font: inherit;
font-size: 1rem;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
hyphens: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment