modern-css-reset/README.md
2019-10-02 09:18:23 +09:00

26 lines
1.1 KiB
Markdown

# A modern CSS reset
![The Uncompressed size of this reset](http://img.badgesize.io/https://unpkg.com/modern-css-reset?label=Uncompressed%20Size)
![The GZIP size of this reset](http://img.badgesize.io/https://unpkg.com/modern-css-reset?compression=gzip&label=GZIP%20Size)
![The Brotli size of this reset](http://img.badgesize.io/https://unpkg.com/modern-css-reset?compression=brotli&label=Brotli%20Size)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
A tiny little reset that you can use as the basis of your CSS projects. You can read a [breakdown of it here](https://hankchizljaw.com/wrote/a-modern-css-reset/).
You can find it on [NPM, here](https://www.npmjs.com/package/modern-css-reset).
## Installation
- NPM: `npm install modern-css-reset`
- Yarn: `yarn add modern-css-reset`
- CDN:
- Unpkg: `<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />`
- jsDelivr: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />`
## Commands
You can minify and move the main reset to the `dist` by running:
```bash
npm run build
```