@marknotton/css-reset

1.11.5 • Public • Published

CSS Reset

This opinionated css reset is forked from Elad Shechters original version. This iteration includes a number of resets I felt were missing.

How to get started:

npm install @marknotton/css-reset
yarn add @marknotton/css-reset

Or download the latest version.

How to use:

The Sass way:

Import directly in your scss file:

@use "@marknotton/css-reset"

Or

@use "node_module/@marknotton/css-reset/css/reset.css"

Or if you want to use Cascade Layers within your SCSS:

@use 'sass:meta';

@layer reset, defaults;

@layer reset {
  @include meta.load-css("@marknotton/css-reset");
}

@layer defaults { ... }

The Javascript way:

Include the following snippet in one of the JavaScript/TypeScript entry files:

import "@marknotton/css-reset";

Or

import "node_module/@marknotton/css-reset/css/reset.css";

Readme

Keywords

Package Sidebar

Install

npm i @marknotton/css-reset

Weekly Downloads

30

Version

1.11.5

License

MIT

Unpacked Size

9.07 kB

Total Files

5

Last publish

Collaborators

  • marknotton