New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unreset-css

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unreset-css

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.

1.0.1
latest
Source
npm
Version published
Weekly downloads
4.1K
-17.53%
Maintainers
1
Weekly downloads
 
Created
Source

Unreset CSS npm

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:

  • Firefox (Gecko) or browse to resource://gre-resources/html.css on your Firefox.
  • Chrome (Chromium Blink)
  • Safari (WebKit)
  • Internet Explorer 9
  • Edge
  • Opera

The sources are in the defaults directory.

Install

With npm:

$ npm install --save unreset-css

Or, download manually:

unreset.css unreset.css unreset.min.css

Import

Sass:

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

Node-sass:

  • If you’re using Eyeglass, skip to Step 2. Otherwise, you’ll need to add Unreset CSS to your node-sass includePaths option. require("unreset-css").includePaths is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project.

  • Import Unreset CSS into your Sass files:

    .unreset {
        @import "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

Keywords

css

FAQs

Package last updated on 02 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts