@eaze/css-reset

Aggressive CSS resets that remove non-essential browser defaults

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@eaze/css-reset
2.1.0a year ago7 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