Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
Last active June 30, 2020 11:55
Show Gist options
  • Save agustinpfs/ae42a1e82db59afeaf7a0268ece2b654 to your computer and use it in GitHub Desktop.
Save agustinpfs/ae42a1e82db59afeaf7a0268ece2b654 to your computer and use it in GitHub Desktop.
Basic reset CSS
/* RESET - resetea los estilos por defecto del navegador */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, img, small,
strong, center, ul, li, form, label, article, aside, figure, figcaption,
footer, header, menu, nav, section, audio, video, main {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
}
html {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1em; }
h5 { font-size: 0.8em; }
h6 { font-size: 0.7em; }
.button, a, a:focus {
outline: none;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment