Skip to content

Instantly share code, notes, and snippets.

@aau8
Last active December 17, 2022 10:18
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 aau8/a7cbf54a8a251c70790e5487ca50c0ee to your computer and use it in GitHub Desktop.
Save aau8/a7cbf54a8a251c70790e5487ca50c0ee to your computer and use it in GitHub Desktop.
Сброс css-стилей
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
}
body {
font-size: 100%;
line-height: 1;
}
input,
button,
textarea,
select {
font-family: inherit;
color: inherit;
}
input[type="submit"] {
cursor: pointer;
}
button {
color: inherit;
background-color: inherit;
user-select: none;
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
ul li,
ol li {
list-style-position: inside;
}
img {
vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment