Skip to content

Instantly share code, notes, and snippets.

@amalichev
Last active February 22, 2022 18:02
Show Gist options
  • Save amalichev/098e3aa83e3fc7352bcf72075307bcf2 to your computer and use it in GitHub Desktop.
Save amalichev/098e3aa83e3fc7352bcf72075307bcf2 to your computer and use it in GitHub Desktop.
* {
padding: 0;
margin: 0;
border: 0;
}
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
:focus, :active, a:focus, a:active {
outline: none;
}
nav, footer, header, aside {
display: block;
}
html, body {
height: 100%;
width: 100%;
font-size: 100%;
line-height: 1;
font-size: 14px;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
input, button, textarea {
font-family: inherit;
}
input::-ms-clear {
display: none;
}
button {
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
a, a:hover, a:visited {
text-decoration: none;
}
ul li {
list-style: none;
}
img {
vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: 400;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment