Skip to content

Instantly share code, notes, and snippets.

@andrew-cobley
Forked from trey/reset.sass
Created August 6, 2014 14:02
Show Gist options
  • Save andrew-cobley/4b0c64b34686fa9def23 to your computer and use it in GitHub Desktop.
Save andrew-cobley/4b0c64b34686fa9def23 to your computer and use it in GitHub Desktop.

Revisions

  1. @trey trey revised this gist Feb 7, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    /* http://meyerweb.com/eric/tools/css/reset/
    /* v2.0 | 20110126
    /* License: none (public domain)
    v2.0 | 20110126
    License: none (public domain) */

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  2. @trey trey revised this gist Feb 7, 2011. 1 changed file with 46 additions and 43 deletions.
    89 changes: 46 additions & 43 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -1,43 +1,46 @@
    /* 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
    /* 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
  3. @trey trey revised this gist Aug 1, 2008. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    // http://meyerweb.com/eric/tools/css/reset/
    // v1.0 | 20080212
    /* 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,
  4. @trey trey revised this gist Jul 31, 2008. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    /* http://meyerweb.com/eric/tools/css/reset/
    /* v1.0 | 20080212
    // 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,
  5. @trey trey revised this gist Jul 31, 2008. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -17,13 +17,10 @@ fieldset, form, label, legend
    :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
    @@ -44,4 +41,3 @@ del
    table
    :border-collapse collapse
    :border-spacing 0

  6. @trey trey created this gist Jul 31, 2008.
    47 changes: 47 additions & 0 deletions reset.sass
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    /* 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