A tiny modern CSS reset
Go to file
2016-11-11 11:24:39 +00:00
docs Add docs 2016-10-01 18:22:30 +01:00
.gitignore Add build scripts 2016-09-11 22:39:55 +01:00
LICENSE Init 2016-08-26 13:50:08 +02:00
minireset.css [CGL] prevent duplicated declaration of box-sizing: inherit 2016-11-11 11:24:39 +00:00
minireset.min.css [CGL] prevent duplicated declaration of box-sizing: inherit 2016-11-11 11:24:39 +00:00
minireset.sass [CGL] prevent duplicated declaration of box-sizing: inherit 2016-11-11 11:24:39 +00:00
package.json Add docs 2016-10-01 18:22:30 +01:00
README.md Add docs 2016-10-01 18:22:30 +01:00

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

Install

npm install minireset.css

Or download/clone the repo.

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