This opinionated css reset is forked from Elad Shechters original version. This iteration includes a number of resets I felt were missing.
npm install @marknotton/css-reset
yarn add @marknotton/css-reset
Or download the latest version.
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 { ... }
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";