JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35374
  • Score
    100M100P100Q145318F
  • License Unlicense

An unmodified copy of Eric Meyer's CSS reset.

Package Exports

  • reset-css
  • reset-css/reset.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (reset-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

reset.css

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

Install

With curl:

$ curl -O "https://unpkg.com/reset-css@4.0.0/reset.css"
$ curl -O "https://unpkg.com/reset-css@4.0.0/sass/_reset.sass"
$ curl -O "https://unpkg.com/reset-css@4.0.0/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)