Skip to content

Instantly share code, notes, and snippets.

@greatestview
Last active November 24, 2022 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greatestview/71f0cbbd12b989e2d39c6e2469c16f0a to your computer and use it in GitHub Desktop.
Save greatestview/71f0cbbd12b989e2d39c6e2469c16f0a to your computer and use it in GitHub Desktop.
No need for bloated normalize.css with modern browser engines. This is more than sufficient.
html,
body {
height: 100%;
width: 100%;
}
html {
word-break: break-word;
}
body {
font-family: system-ui, sans-serif;
min-height: 100vh;
margin: 0;
}
*,
*::after,
*::before {
box-sizing: border-box;
background-repeat: no-repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment