@eaze/css-reset

Aggressive CSS resets that remove non-essential browser defaults

Stats

StarsIssuesVersionUpdatedCreatedSize
@eaze/css-reset
2.1.02 months ago6 years agoMinified + gzip package size for @eaze/css-reset in KB

Readme

css-reset

Aggressive CSS resets that remove non-essential browser defaults

Install

npm install --save @eaze/css-reset

Usage

var cssReset = require('@eaze/css-reset')

cssReset()
//=> appends style rules to the head

Rules

Removes:

  • Default spacing and size properties on all native elements
  • List styles
  • Quote styles
  • Table styles
  • Button styles
  • Input styles
  • Firefox select styles
  • Webkit tap highlights (iOS)
  • Anchor styles

Sets:

  • box-sizing: border-box on all elements

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.