Skip to content

Instantly share code, notes, and snippets.

@MirceaUngureanu
Last active November 15, 2018 15:35
Show Gist options
  • Save MirceaUngureanu/d3b8ab2d628c37e4f79cad660b7ff211 to your computer and use it in GitHub Desktop.
Save MirceaUngureanu/d3b8ab2d628c37e4f79cad660b7ff211 to your computer and use it in GitHub Desktop.
My custom short CSS reset
/*resets*/
.main-wrapper {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background-color: white;
text-align: center;
}
.main-wrapper *,
.main-wrapper *:before,
.main-wrapper *:after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
margin: 0;
padding: 0;
border: 0;
line-height: 100%;
}
.main-wrapper a {
text-decoration: none;
color: black;
display: block;
cursor: pointer;
}
.main-wrapper img {
display: block;
max-width: 100%;
height: auto;
}
/*end resets*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment