Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hankchizljaw/modern-css-reset
A bare-bones CSS reset for modern web development.
https://github.com/hankchizljaw/modern-css-reset
Last synced: 3 months ago
JSON representation
A bare-bones CSS reset for modern web development.
- Host: GitHub
- URL: https://github.com/hankchizljaw/modern-css-reset
- Owner: Andy-set-studio
- License: mit
- Archived: true
- Created: 2019-10-01T12:59:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T10:43:23.000Z (about 1 year ago)
- Last Synced: 2024-05-23T06:48:54.306Z (6 months ago)
- Language: CSS
- Homepage: https://hankchizljaw.com/wrote/a-modern-css-reset/
- Size: 32.2 KB
- Stars: 2,944
- Watchers: 60
- Forks: 451
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-CSS-Resources - modern-css-reset: - bones CSS reset for modern web development. (Frameworks / Resources / M)
- fucking-awesome-css-frameworks - Repo
- awesome-css-frameworks - Repo
README
# A modern CSS reset
🚨 **Important announcement**: This version of the reset is now archived. You can read a [more up to date one here](https://andy-bell.co.uk/a-more-modern-css-reset/).
***
![The Uncompressed size of this reset](https://img.badgesize.io/https://unpkg.com/modern-css-reset?label=Uncompressed%20Size)
![The GZIP size of this reset](https://img.badgesize.io/https://unpkg.com/modern-css-reset?compression=gzip&label=GZIP%20Size)
![The Brotli size of this reset](https://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/).
## Installation
NPM:
```console
npm install --save-dev modern-css-reset
```Yarn:
```console
yarn add modern-css-reset
```Unpkg CDN:
```html
```
jsDelivr CDN:
```html
```
### Manual installation
First, let's clone this repository:
```console
git clone https://github.com/hankchizljaw/modern-css-reset.git
```Then, go to `modern-css-reset` directory:
```console
cd modern-css-reset
```And now, you can minify and move the main reset to the `dist` by running:
```console
npm run build
```That's it! 🎉
## License
MIT