Skip to content

Instantly share code, notes, and snippets.

@miketierney
Forked from nathansmith/html_reset.css
Created January 29, 2010 16:58

Revisions

  1. @nathansmith nathansmith revised this gist Jan 28, 2010. 1 changed file with 0 additions and 11 deletions.
    11 changes: 0 additions & 11 deletions HTML5_reset.css
    Original file line number Diff line number Diff line change
    @@ -85,17 +85,6 @@ img {
    font-size: 0;
    }

    input,
    select {
    vertical-align: middle;
    }

    input,
    select,
    textarea {
    margin: 0;
    }

    table {
    border-collapse: collapse;
    border-spacing: 0;
  2. @nathansmith nathansmith revised this gist Jan 28, 2010. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions HTML5_reset.css
    Original file line number Diff line number Diff line change
    @@ -85,6 +85,17 @@ img {
    font-size: 0;
    }

    input,
    select {
    vertical-align: middle;
    }

    input,
    select,
    textarea {
    margin: 0;
    }

    table {
    border-collapse: collapse;
    border-spacing: 0;
  3. @nathansmith nathansmith created this gist Jan 28, 2010.
    99 changes: 99 additions & 0 deletions HTML5_reset.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,99 @@
    /* `HTML5 Reset
    ----------------------------------------------------------------------------------------------------*/

    a,
    abbr,
    address,
    article,
    aside,
    audio,
    b,
    blockquote,
    body,
    caption,
    cite,
    code,
    dd,
    del,
    dfn,
    dialog,
    div,
    dl,
    dt,
    em,
    fieldset,
    figure,
    footer,
    form,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    header,
    hgroup,
    hr,
    html,
    i,
    iframe,
    img,
    ins,
    kbd,
    label,
    legend,
    li,
    mark,
    menu,
    menu,
    nav,
    object,
    ol,
    p,
    pre,
    q,
    samp,
    section,
    small,
    span,
    strong,
    sub,
    sup,
    table,
    tbody,
    td,
    tfoot,
    th,
    thead,
    time,
    tr,
    ul,
    var,
    video {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    }

    html,
    body {
    height: 100%;
    }

    img {
    font-size: 0;
    }

    table {
    border-collapse: collapse;
    border-spacing: 0;
    }

    th,
    td,
    caption {
    font-weight: normal;
    vertical-align: top;
    text-align: left;
    }