JSPM

unreset-css

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4338
  • Score
    100M100P100Q142280F
  • License MIT

Unreset CSS restores browsers' default element styles which are reset by Eric Meyer's Reset CSS, YUI 3 Reset CSS, HTML5 Reset Stylesheet of HTML5 Doctor, or Tim Murtaugh's HTML5 Reset.

Package Exports

  • unreset-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 (unreset-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Unreset CSS npm license

Unreset CSS restores browsers' default element styles which are reset by Eric Meyer's Reset CSS, YUI 3 Reset CSS, HTML5 Reset Stylesheet of HTML5 Doctor, or Tim Murtaugh's HTML5 Reset.

Unreset CSS is based on browsers' default styles:

The sources are in the [defaults](https://github.com/ixkaito/unreset-css/tree/master/defaults) directory.

Install

With npm:

$ npm install --save unreset-css

Or, download manually:

unreset.css unreset.min.css

Import

Sass:

.unreset {
    @import 'node_modules/unreset-css/unreset';
}

CSS:

<link rel="stylesheet" href="unreset.css">

or

<link rel="stylesheet" href="unreset.min.css">

Usage

Add a unreset class to the container of the elements needing to be unreset.

<div class="unreset">
    <h1>This is an H1</h1>
    <p>This is a paragraph.</p>
    <ul>
        <li>This is a list item.</li>
        <li>This is a list item.</li>
    </ul>
</div>

License

MIT © Kite