Skip to content

Instantly share code, notes, and snippets.

@jkazimierczak
Created July 8, 2023 10:18
Show Gist options
  • Save jkazimierczak/8a449128eb8ed41f2fd543879b86e5e0 to your computer and use it in GitHub Desktop.
Save jkazimierczak/8a449128eb8ed41f2fd543879b86e5e0 to your computer and use it in GitHub Desktop.
Kevin Powell CSS Reset
/* Base */
*, *::before, *::after {
box-sizing: border-box;
}
img, picture, svg, video {
display: block;
max-width: 100%;
}
input, textarea, button, select {
font: inherit;
}
/* Additional */
* {
margin: 0;
padding: 0;
font: inherit;
}
body {
min-height: 100svh;
}
html {
color-scheme: dark;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment