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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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