Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    reset-csspublic

    reset.css

    An unmodified* copy of Eric Meyer's CSS reset.

    Install

    With curl:

    $ curl -O "https://unpkg.com/reset-css@4.0.1/reset.css"
    $ curl -O "https://unpkg.com/reset-css@4.0.1/sass/_reset.scss"
    $ curl -O "https://unpkg.com/reset-css@4.0.1/less/reset.less"

    With NPM:

    $ npm install --save reset-css

    With Yarn:

    $ yarn add reset-css

    With Bower:

    $ bower install reset-css

    Usage

    HTML:

    <link rel="stylesheet" href="/path/to/reset-css/reset.css" />

    CSS:

    @import '/path/to/reset-css/reset.css';

    Via PostCSS and postcss-import:

    @import 'reset-css';

    Via webpack and css-loader:

    import 'reset-css';

    Via Sass:

    @import '/path/to/reset-css/sass/reset';

    Via Less:

    @import '/path/to/reset-css/less/reset';

    *Changelog

    Two changes have been made from the 2011 version, both approved by Mr. Meyer:

    • Added main to list of HTML 5 elements (#7)
    • Added rule to fix hidden attribute on HTML 5 elements (#12)

    Eric Meyer http://meyerweb.com/eric/tools/css/reset/

    License: none (public domain)

    Keywords

    none

    install

    npm i reset-css

    Downloadsweekly downloads

    7,241

    version

    4.0.1

    license

    Unlicense

    homepage

    meyerweb.com

    repository

    githubgithub

    last publish

    collaborators

    • avatar