Skip to content

Instantly share code, notes, and snippets.

@trey
Created July 31, 2008 20:36
Show Gist options
  • Select an option

  • Save trey/3524 to your computer and use it in GitHub Desktop.

Select an option

Save trey/3524 to your computer and use it in GitHub Desktop.
Eric Meyer's reset.css in Sass. Originally by @postpostmodern.
/* http://meyerweb.com/eric/tools/css/reset/
/* v1.0 | 20080212
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
body
:line-height 1
ol, ul
:list-style none
blockquote, q
:quotes none
blockquote:before, blockquote:after, q:before, q:after
:content ''
:content none
a
:text-decoration none
// remember to define focus styles!
*:focus
:outline 0
// remember to highlight inserts somehow!
ins
:text-decoration none
del
:text-decoration line-through
// tables still need 'cellspacing="0"' in the markup
table
:border-collapse collapse
:border-spacing 0
@sashaegorov
Copy link

Arrr… Love it.

@saschamt
Copy link

thanks, that has spared some fiddling :)

@chrishough
Copy link

Awesome, thanks man!

@wokejacqueline
Copy link

Great! Thanks.

Copy link

ghost commented Jul 11, 2014

Thanx!

@faruk61
Copy link

faruk61 commented Oct 18, 2014

THX!

@densityx
Copy link

thanks 😄

@aoeasif
Copy link

aoeasif commented Jan 27, 2015

Thanks a lot! it makes my projects easier 😃

@evanhutomo
Copy link

thanks dude!!

@caio1511
Copy link

nice job

@nariatan
Copy link

Thanks a lot!

@erdindev
Copy link

thank you big time

@SisterofNicholas
Copy link

Thanks! Thanks! Thanks!

@NicolasLRD
Copy link

Thanks dude !

@chrishough
Copy link

Thanks soo much for creating this 😸

@duyht56
Copy link

duyht56 commented Jun 25, 2018

Nice!

@JoachimTillessen
Copy link

You might want to change lines 36 and following to this:

blockquote, q
  quotes: none
  &:before, &:after
    content: ''
    content: none

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