Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-reset-and-normalize

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-reset-and-normalize

A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS)

  • 2.3.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.5K
decreased by-11.19%
Maintainers
1
Weekly downloads
 
Created
Source

css-reset-and-normalize

A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS).

npm Package Version npm Downloads Package Dependencies GitHub Workflow Status (branch) GitHub last Commit GitHub Repo License MIT


About

This combination of css reset and normalize is based on

Rules and Reasons

Take a look at the source code, it has comments.

BTW: Here's an article about Reboot, Resets and Reasoning by Chris Coyier.

Installation

css-reset-and-normalize is a npm package. You can install it…

# …using npm
npm install --save css-reset-and-normalize
# …or yarn
yarn add css-reset-and-normalize

You can also use the latest generated CSS directly from a CDN:

  • from jsdelivr:
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/css-reset-and-normalize/css/reset-and-normalize.min.css">

  • from unpkg:
    <link rel="stylesheet" href="//unpkg.com/css-reset-and-normalize/css/reset-and-normalize.min.css">

Usage

There are multiple ways:

  • HTML <link>

    <link rel="stylesheet" href="path/to/reset-and-normalize.min.css">
    
  • CSS @import

    @import "path/to/reset-and-normalize.min.css";
    
  • SCSS @import

    @import 'path/to/node_modules/css-reset-and-normalize/scss/reset-and-normalize';
    
  • Stylus @require

    @require 'path/to/node_modules/css-reset-and-normalize/stylus/reset-and-normalize'
    
  • LESS @import

    @import 'path/to/node_modules/css-reset-and-normalize/less/reset-and-normalize';
    

Optional Addons:

  • button-reset
  • link-reset

See source code.

Usage

The optional addons can be included the same way like the base library.

SCSS example:

@import 'path/to/node_modules/css-reset-and-normalize/scss/reset-and-normalize';
@import 'path/to/node_modules/css-reset-and-normalize/scss/button-reset';
@import 'path/to/node_modules/css-reset-and-normalize/scss/link-reset';

License

MIT © Simon Lepel

Keywords

FAQs

Package last updated on 07 Mar 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc