A tiny modern CSS reset
Go to file
Daniel Vivar 4be740c662
Adding support for LitElement (#28)
Co-authored-by: Jeremy Thomas <bbxdesign@gmail.com>
2021-01-26 21:13:05 +00:00
docs Add cache buster 2020-09-06 21:18:17 +01:00
src Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00
.gitignore Fix #8, Push 0.0.3 2017-04-14 14:07:19 +01:00
LICENSE Init 2016-08-26 13:50:08 +02:00
minireset.css Fix #18 2019-10-17 21:08:25 -04:00
minireset.css.lit.js Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00
minireset.min.css Fix #18 2019-10-17 21:08:25 -04:00
minireset.sass Fix #18 2019-10-17 21:08:25 -04:00
package-lock.json Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00
package.json Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00
README.md Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00
rollup.config.js Adding support for LitElement (#28) 2021-01-26 21:13:05 +00:00

minireset.css

npm npm

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

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 projects (recommended for Web Component projects based on LitElement)

CDN

GitHub CDN for minireset.min.css

Code copyright 2019 Jeremy Thomas. Code released under the MIT license.