Skip to content

Instantly share code, notes, and snippets.

@ramcandrews
Created April 22, 2023 00:42
Show Gist options
  • Save ramcandrews/dcb37a78711e09dda86b1ea8da695c5a to your computer and use it in GitHub Desktop.
Save ramcandrews/dcb37a78711e09dda86b1ea8da695c5a to your computer and use it in GitHub Desktop.
Use this to reset the css styles so thigns are easier to debug.
*, *::before, *::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
font: inherit;
}
html {
color-scheme: dark light;
}
body {
min-height: 100vh;
}
img, picture, svg, video {
display: block;
max-width: 100%;
}
input, textarea, button, select {
font-inherit;
}
/* https://youtube.com/shorts/2lyDv0wOQuQ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment