Last active
December 23, 2015 00:09
-
-
Save benjamincharity/6551952 to your computer and use it in GitHub Desktop.
CSS reset to browser defaults.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| http://www.w3.org/TR/CSS/#properties | |
| http://www.w3.org/TR/css3-cascade/#initial0 | |
| http://dev.w3.org/csswg/css-cascade/#all-shorthand | |
| */ | |
| * { | |
| /* 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