sanitize.css is a CSS library that provides consistent, cross-browser default styling of HTML elements alongside useful defaults. It is developed alongside normalize.css, which means every normalization is included, and every normalization and opinion are clearly marked and documented. A separate stylesheet normalizes typography using system interface fonts. A separate stylesheet normalizes forms using minimal, standards-like styling. Normalizes styles for a wide range of elements. Corrects bugs and common browser inconsistencies. Provides common, useful defaults. Explains what code does using detailed comments. Browser support. normalize.css and sanitize.css correct browser bugs while carefully testing and documenting changes. normalize.css styles adhere to CSS specifications. sanitize.css styles adhere to common developer expectations and preferences. reset.css unstyled all elements. Both sanitize.css and normalize.css are maintained in sync.
Features
- Usage with CSS
- Usage with CSS in Webpack
- Usage with JS
- Typography using system interface fonts
- Every normalization is included
- Consistent, cross-browser default styling of HTML