Skip to content

Instantly share code, notes, and snippets.

@trey
Created July 31, 2008 20:36
Show Gist options
  • Save trey/3524 to your computer and use it in GitHub Desktop.
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/
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
body
line-height: 1
ol, ul
list-style: none
blockquote, q
quotes: none
blockquote:before, blockquote:after,
q:before, q:after
content: ''
content: none
table
border-collapse: collapse
border-spacing: 0
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!

@frontallobe
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