Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgthms/minireset.css
A tiny modern CSS reset
https://github.com/jgthms/minireset.css
css reset
Last synced: about 2 months ago
JSON representation
A tiny modern CSS reset
- Host: GitHub
- URL: https://github.com/jgthms/minireset.css
- Owner: jgthms
- License: mit
- Created: 2016-08-26T11:49:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T08:33:02.000Z (11 months ago)
- Last Synced: 2024-05-02T00:04:56.937Z (about 2 months ago)
- Topics: css, reset
- Language: JavaScript
- Homepage: http://jgthms.com/minireset.css/
- Size: 239 KB
- Stars: 2,740
- Watchers: 49
- Forks: 524
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-css - MiniReset.css - A tiny modern CSS reset. (Reset and Normalize / Editor's Draft :black_nib:)
- awesome-css-frameworks - Repo
- Awesome-CSS-Resources - minireset.css:
- awesome-stars - minireset.css - A tiny modern CSS reset (CSS)
- awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (JavaScript)
- awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (css)
- awesome-stars - minireset.css - A tiny modern CSS reset (JavaScript)
- awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (JavaScript)
- docsify-awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (JavaScript)
- awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (JavaScript)
- awesome-stars - minireset.css - A tiny modern CSS reset (CSS)
- awesome-css-frameworks - Repo
- awesome-stars - minireset.css
- awesome-stars - minireset.css
- awesome-stars - jgthms/minireset.css - A tiny modern CSS reset (JavaScript)
- fucking-awesome-css-frameworks - Repo
README
# minireset.css
[![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)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
* **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
* **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## Download/Install
[Download the latest version](https://raw.githubusercontent.com/jgthms/minireset.css/master/minireset.min.css)
```sh
npm install minireset.css
```Or clone the repo.
## Options
It will be available in your modules directory in `/node_modules/minireset.css/`:
* `minireset.css`: CSS rules
* `minireset.min.css`: minified CSS rules (recommended for production sites)
* `minireet.sass`: CSS rules written in SASS (recommended for SCSS/SASS projects)
* `minireset.css.lit.js`: CSS rules exported as a `CSSResult` object for [LitElement](https://lit-element.polymer-project.org/) projects (recommended for Web Component projects based on LitElement)## CDN
[GitHub CDN for minireset.min.css](https://cdn.jsdelivr.net/gh/jgthms/minireset.css@master/minireset.min.css)
## Copyright and license
Code copyright 2019 Jeremy Thomas. Code released under [the MIT license](https://github.com/jgthms/minireset.css/blob/master/LICENSE).