Update README.md

This commit is contained in:
Vic Shóstak 2020-01-23 22:31:48 +03:00 committed by GitHub
parent 2ae9afb06f
commit 9f62f68e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,16 +9,40 @@ A tiny little reset that you can use as the basis of your CSS projects. You can
## 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" />`
- NPM:
## Commands
```console
$ npm install --save-dev modern-css-reset
```
- Yarn:
```console
$ yarn add modern-css-reset
```
- Unpkg CDN:
```html
<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />
```
- jsDelivr CDN:
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />
```
### Mannual installation
You can minify and move the main reset to the `dist` by running:
```bash
npm run build
```console
$ git clone https://github.com/hankchizljaw/modern-css-reset.git
$ cd modern-css-reset
$ npm run build
```
## License
MIT