Skip to content

Instantly share code, notes, and snippets.

@sen0rxol0
Last active March 19, 2021 08:06
Show Gist options
  • Save sen0rxol0/a932ef62f01c251e93b15e952dcbd101 to your computer and use it in GitHub Desktop.
Save sen0rxol0/a932ef62f01c251e93b15e952dcbd101 to your computer and use it in GitHub Desktop.

Revisions

  1. sen0rxol0 revised this gist Mar 19, 2021. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions reset.css
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,11 @@ body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    font-weight: normal;
    }

    /* HTML5 elements in non-HTML5 browsers */
    article, aside, footer, header, nav, section {
    display: block;
    }

    img {
    max-width: 100%;
    height: auto;
  2. sen0rxol0 revised this gist Mar 9, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion reset.css
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    font-size: 16px;
    }

    *, *:before, *:after {
    *, *::before, *::after {
    box-sizing: inherit;
    }

  3. sen0rxol0 created this gist Mar 7, 2021.
    36 changes: 36 additions & 0 deletions reset.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    :root {
    box-sizing: border-box;
    font-size: 16px;
    }

    *, *:before, *:after {
    box-sizing: inherit;
    }

    body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
    }

    img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    }

    button[disabled],
    input[disabled] {
    cursor: default;
    }

    /**
    * 1. Remove default vertical scrollbar in IE 6/7/8/9.
    * 2. Improve readability and alignment in all browsers.
    */

    textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
    resize: vertical;
    }