/reset

Yet another CSS/Sass reset.

Primary LanguageSCSSMIT LicenseMIT

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 reset 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.