A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS)
npm install css-reset-and-normalizecss-reset-and-normalize
=======================
> A combination of css reset and normalize (available in CSS, SCSS, Stylus and
> LESS).







- About
- Rules and Reasons
- Installation
- Usage
- Optional Addons:
- Usage
- License
---
This combination of css reset and normalize is based on
- CSS Reset 2.0
(public domain) by Eric Meyer
- normalize.css 8.0.1
(MIT) by Nicolas Gallagher and Jonathan Neal
- Bootstrap 4.5.3 Reboot
(MIT) by Twitter Inc.
Take a look at the source code, it has
comments.
BTW: Here's an article about Reboot, Resets and Reasoning
by Chris Coyier.
css-reset-and-normalize is a npm package. You can install it…
`` sh`…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:
- from unpkg:
There are multiple ways:
- HTML
` html`
- CSS @import
` css`
@import "path/to/reset-and-normalize.min.css";
- SCSS @import
` scss`
@import 'path/to/node_modules/css-reset-and-normalize/scss/reset-and-normalize';
- Stylus @require
` stylus`
@require 'path/to/node_modules/css-reset-and-normalize/stylus/reset-and-normalize'
- LESS @import
` less`
@import 'path/to/node_modules/css-reset-and-normalize/less/reset-and-normalize';
- button-resetlink-reset
-
See source code.
The optional addons can be included the same way like the base library.
SCSS example:
` scss``
@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';