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

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow sanitize.css

sanitize.css Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sanitize.css!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2022-06-16