Socket
Socket
Sign inDemoInstall

sanitize.css

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124Next

5.0.0

Diff

Changelog

Source

5.0.0 (March 1, 2017)

  • Added: normalize.css v6 parity, including summary display
  • Added: form elements to inherit line-height from html
  • Removed: font styles on html
  • Removed: unnecessary border-spacing zeroing
jonathantneal
published 4.1.0 •

Changelog

Source

4.1.0 (July 1, 2016)

  • Updated: The focus removal on :hover now targets a:hover
jonathantneal
published 4.0.0 •

Changelog

Source

4.0.0 (June 20, 2016)

  • Added: All improvements from normalize.css v4.1.1
  • Added: Documentation for each opinionated feature
  • Added: Universal background-repeat: no-repeat
  • Removed: Reset of universal margin and padding
  • Removed: Inheritance of font-size on elements (form controls still have it)
  • Removed: Pre-compiled files that used variables
  • Updated: abbr[title] styled using border-bottom over text-decoration
  • Updated: Tests and linting
Why are variables removed in v4?

Variables were there for developers to override styles in sanitize.css without editing the original file or overriding the rule. However, you should override the rule so that your change is explicit, and so that your source maps accurately indicate your changes coming from your files.

jonathantneal
published 3.3.0 •

Changelog

Source

3.3.0 (March 3, 2016)

  • Added: b and strong normalization
  • Added: ::-moz-focus-inner normalization
  • Added: hr normalization
  • Added: svg fill as the current color
  • Updated: Organized rules into normalization, universal inheritance, opinionated defaults, and configurable defaults
  • Updated: Moved source and compiled libraries
jonathantneal
published 3.2.0 •

Changelog

Source

3.2.0 (February 3, 2016)

  • Added: selection.less
  • Updated: Use root-prefixed values across all formats
  • Updated: Documentation
jonathantneal
published 3.1.1 •

Changelog

Source

3.1.1 (February 1, 2016)

  • Updated: box-sizing variable corrected to border-box in sass, scss, styl
jonathantneal
published 3.1.0 •

Changelog

Source

3.1.0 (February 1, 2016)

  • Added: Project configuration (.editorconfig)
  • Added: Style linting rules and tests
  • Added: touch-action: manipulation to remove delays during mobile tapping
  • Removed: text-rendering due to performance issues
  • Updated: ::selection color variable corrected to --selection-color
  • Updated: Use direct nesting
jonathantneal
published 3.0.0 •

Changelog

Source

3.0.0 (October 23, 2015)

  • Added: Normalization for iOS 8+
  • Added: background-repeat for all elements
  • Added: CONTRIBUTING.md
  • Updated: background color and color for :root previously html
  • Updated: ::selection color to #ffffff
  • Updated: dist from CSS source using PostCSS, cssnext, and cssnano
  • Updated: Documentation
jonathantneal
published 2.1.1 •

Changelog

Source

2.1.1 (October 5, 2015)

  • Updated: bower.json
jonathantneal
published 2.1.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc