2019-01-19 22:42:31 +08:00
|
|
|
# minireset.css
|
2016-08-26 19:50:08 +08:00
|
|
|
|
2017-04-14 21:07:19 +08:00
|
|
|
[![npm](https://img.shields.io/npm/v/minireset.css.svg)](https://www.npmjs.com/package/minireset.css)
|
|
|
|
[![npm](https://img.shields.io/npm/dm/minireset.css.svg)](https://www.npmjs.com/package/minireset.css)
|
|
|
|
|
2016-08-26 19:50:08 +08:00
|
|
|
A tiny modern CSS reset that covers the basics:
|
|
|
|
|
|
|
|
* **resets the font sizes**: so that using semantic markup doesn't affect the styling
|
|
|
|
* **resets the block margins**: so that the spacing is only applied when you need it
|
2016-10-02 01:22:30 +08:00
|
|
|
* **resets tables**: so that tabular data only takes the space it needs
|
|
|
|
* **preserves the inline paddings**: so that buttons and inputs keep their default layout
|
2016-08-26 19:50:08 +08:00
|
|
|
* **sets the border-box box sizing**: so that borders and paddings don't affect the set dimensions
|
|
|
|
* **sets responsive media elements**: so that images and embeds scale with the browser width
|
|
|
|
|
2019-01-19 22:42:31 +08:00
|
|
|
## Download/Install
|
|
|
|
|
|
|
|
[Download the latest version](https://raw.githubusercontent.com/jgthms/minireset.css/master/minireset.min.css)
|
2016-08-26 19:50:08 +08:00
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install minireset.css
|
|
|
|
```
|
2019-01-19 22:28:51 +08:00
|
|
|
|
2019-01-19 22:42:31 +08:00
|
|
|
Or clone the repo.
|
2019-01-19 22:28:51 +08:00
|
|
|
|
2019-01-19 22:42:31 +08:00
|
|
|
## CDN
|
2016-08-26 19:50:08 +08:00
|
|
|
|
2019-01-19 22:42:31 +08:00
|
|
|
[GitHub CDN for minireset.min.css](https://cdn.rawgit.com/jgthms/minireset.css/master/minireset.min.css)
|
2016-08-26 19:50:08 +08:00
|
|
|
|
|
|
|
## Copyright and license
|
|
|
|
|
2019-01-19 22:42:31 +08:00
|
|
|
Code copyright 2019 Jeremy Thomas. Code released under [the MIT license](https://github.com/jgthms/minireset.css/blob/master/LICENSE).
|