Skip to content

Instantly share code, notes, and snippets.

@drabiter
Created September 26, 2013 02:40
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 drabiter/6709159 to your computer and use it in GitHub Desktop.
Save drabiter/6709159 to your computer and use it in GitHub Desktop.
CSS reset. Source: https://coderwall.com/p/n6k6bq
* {
/* CSS2 Spec defaults for older browsers */
background-attachment: scroll;
background-color: transparent;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
border-collapse: separate;
border-spacing: 0;
border-style: none;
border-width: medium;
bottom: auto;
caption-side: top;
clear: none;
clip: auto;
content: normal;
counter-increment: none;
counter-reset: none;
cursor: auto;
direction: ltr;
display: inline;
empty-cells: show;
float: none;
font-size: medium;
font-style: normal;
font-variant: normal;
font-weight: normal;
height: auto;
left: auto;
letter-spacing: normal;
line-height: normal;
list-style-image: none;
list-style-position: outside;
list-style-type: disc;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
opacity: 1;
orphans: 2;
outline-color: invert;
outline-style: none;
outline-width: medium;
overflow: visible;
padding: 0;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
position: static;
right: auto;
table-layout: auto;
text-align: left;
text-decoration: none;
text-indent: 0;
text-transform: none;
top: auto;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
widows: 2;
width: auto;
word-spacing: normal;
z-index: auto;
/* Initial for newer browsers */
/* http://dev.w3.org/csswg/css-cascade/#all-shorthand */
all: initial;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment