Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Eric Meyer's reset.css in Sass. Originally by @postpostmodern.
v2.0 | 20110126
License: none (public domain) */
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, 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,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
margin: 0
padding: 0
border: 0
font-size: 100%
font: inherit
vertical-align: baseline
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
display: block
line-height: 1
ol, ul
list-style: none
blockquote, q
quotes: none
blockquote:before, blockquote:after,
q:before, q:after
content: ''
content: none
border-collapse: collapse
border-spacing: 0
Copy link

sashaegorov commented Apr 20, 2011

Arrr… Love it.

Copy link

saschamt commented Nov 21, 2012

thanks, that has spared some fiddling :)

Copy link

chrishough commented Dec 27, 2013

Awesome, thanks man!

Copy link

wokejacqueline commented Jun 22, 2014

Great! Thanks.

Copy link

ghost commented Jul 11, 2014


Copy link

faruk61 commented Oct 18, 2014


Copy link

densityx commented Jan 14, 2015

thanks 😄

Copy link

aoeasif commented Jan 27, 2015

Thanks a lot! it makes my projects easier 😃

Copy link

evanhutomo commented Jan 29, 2015

thanks dude!!

Copy link

caio1511 commented Mar 24, 2015

nice job

Copy link

nariatan commented Sep 15, 2015

Thanks a lot!

Copy link

frontallobe commented Sep 16, 2015

thank you big time

Copy link

SisterofNicholas commented Nov 6, 2015

Thanks! Thanks! Thanks!

Copy link

NicolasLRD commented Jul 25, 2017

Thanks dude !

Copy link

chrishough commented Sep 12, 2017

Thanks soo much for creating this 😸

Copy link

duyht56 commented Jun 25, 2018


Copy link

JoachimTillessen commented Dec 6, 2018

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