mirror of
https://github.com/jgthms/minireset.css.git
synced 2024-10-22 22:31:05 +08:00
A tiny modern CSS reset
c383c3fb9b
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
docs | ||
src | ||
.gitignore | ||
LICENSE | ||
minireset.css | ||
minireset.css.lit.js | ||
minireset.min.css | ||
minireset.sass | ||
package-lock.json | ||
package.json | ||
README.md | ||
rollup.config.js |
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
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 rulesminireset.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 aCSSResult
object for LitElement projects (recommended for Web Component projects based on LitElement)
CDN
GitHub CDN for minireset.min.css
Copyright and license
Code copyright 2019 Jeremy Thomas. Code released under the MIT license.