Skip to content

Instantly share code, notes, and snippets.

@douglasjarquin
Created April 16, 2009 04:44
Show Gist options
  • Save douglasjarquin/96224 to your computer and use it in GitHub Desktop.
Save douglasjarquin/96224 to your computer and use it in GitHub Desktop.
// http://meyerweb.com/eric/tools/css/reset/
// v1.0 | 20080212
html
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
body
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:line-height 1
div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
blockquote
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:quotes none
&:before, &:after
:content ''
:content none
pre, a, abbr, acronym, address, big, cite, code
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
del
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:text-decoration line-through
dfn, em, font, img
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
ins
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:text-decoration none
kbd
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
q
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:quotes none
&:before, &:after
:content ''
:content none
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
ol, ul
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:list-style none
li, fieldset, form, label, legend
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
table
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:border-collapse collapse
:border-spacing 0
caption, tbody, tfoot, thead, tr, th, td
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
*:focus
:outline 0
@luizberti
Copy link

I really like what you did here on converting Eric Meyer's reset to SASS but maybe you should try using Normalize.css on your projects, it's a more up-to-date way of flattening out browser default styles.

http://necolas.github.io/normalize.css/

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment