@rkh/reset

0.0.1 • Public • Published

Yet another CSS reset

CSS/Sass reset based on scss-reset. Some rules specifically targeting very old browsers have been removed.

The main difference to other resets is that it wraps all resets rules in a CSS layer. This way they do not take precedence over your own CSS layers.

Installation

With NPM:

$ npm install --save @rkh/reset

With Yarn:

$ yarn add @rkh/reset

Usage

Sass/SCSS

@use '@rkh/reset';

You may have to change the path depending on your setup.

It is also possible to use the reset without CSS layers:

@use '@rkh/reset' with ($use-layers: false);

Or with a custom layer name:

@use '@rkh/reset' with ($layer-name: 'my-reset-layer');

CSS

@import '@rkh/reset';

You may have to change the path depending on your setup.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @rkh/reset

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    20.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • rkh