npm.io
1.2.1 • Published 3 years ago

re-csset

Licence
MIT
Version
1.2.1
Deps
0
Size
4 kB
Vulns
0
Weekly
0

The RE-CSSET Reset

An updated CSS Reset wich overrides the default browser styles

This makes styling way easier and cross-browser by default

How to Install

With NPM:

npm install re-csset

or

npm i re-csset

How to use it

We want a reset to be a base where to work on

Therefore, we have to APPLY RE-CSSET BEFORE ANY OTHER STYLE

Otherwise, the reset will override your project styles

We strongly recommend to use a modern file structure for styling

This will make it easier to avoid specificity problems and bugs in general

Importing

In React:

import "re-csset/reset.css"

In SASS

@use '../node_modules/re-csset/reset.css'

In CSS

@import '../node_modules/re-csset/reset.css'

In HTML

<link rel="stylesheet"href="./node_modules/re-csset/reset.css">

Keywords