Skip to content

Instantly share code, notes, and snippets.

@caiotarifa
Last active August 29, 2015 14:23
Show Gist options
  • Save caiotarifa/0373259480a8ef3f9fc0 to your computer and use it in GitHub Desktop.
Save caiotarifa/0373259480a8ef3f9fc0 to your computer and use it in GitHub Desktop.
Bye, Normalize.
//***************//
// Reset //
//***************//
:root {
box-sizing: border-box;
cursor: default;
font: 16px/1.5 sans-serif;
text-rendering: optimizeLegibility;
text-size-adjust: 100%;
}
*,
::after,
::before {
border-style: solid;
border-width: 0;
box-sizing: inherit;
}
* {
font-size: inherit;
line-height: inherit;
margin: 0;
padding: 0;
}
::after,
::before {
text-decoration: inherit;
vertical-align: inherit;
}
[hidden],
audio:not([controls]),
template {
display: none;
}
a { text-decoration: none; }
textarea { resize: vertical; }
table {
border-collapse: collapse;
border-spacing: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment