A bare-bones CSS reset for modern web development.
Find a file
2023-06-19 18:17:54 -07:00
dist Build package 2023-06-19 18:03:35 -07:00
src Update reset.css to my version 2023-06-19 18:03:01 -07:00
.gitignore Add .idea directory to gitignore 2023-06-19 18:11:54 -07:00
CONTRIBUTING.md Contributing guide 2019-10-01 15:04:17 +01:00
LICENSE Rename LICENCE to LICENSE 2020-01-23 22:33:22 +03:00
package-lock.json Buildy McBuildFace 2021-01-18 10:46:25 +00:00
package.json Update package.json 2023-06-19 18:03:55 -07:00
README.md Update README to point to correct package 2023-06-19 18:17:54 -07:00

A modern CSS reset

The Uncompressed size of this reset The GZIP size of this reset The Brotli size of this reset License: MIT

A tiny little reset that you can use as the basis of your CSS projects. You can read a breakdown of it here.

Installation

NPM:

npm install --save-dev @punkfairie/modern-css-reset

Yarn:

yarn add @punkfairie/modern-css-reset

Unpkg CDN:


<link rel="stylesheet"
    href="https://unpkg.com/@punkfairie/modern-css-reset/dist/reset.min.css"/>

jsDelivr CDN:


<link rel="stylesheet"
    href="https://cdn.jsdelivr.net/npm/@punkfairie/modern-css-reset/dist/reset.min.css"/>

Manual installation

First, let's clone this repository:

git clone https://github.com/punkfairie/modern-css-reset.git

Then, go to modern-css-reset directory:

cd modern-css-reset

And now, you can minify and move the main reset to the dist by running:

npm run build

That's it! 🎉

License

MIT