Skip to content
r.

sanitize.css

csstools/sanitize.css · Public GitHub repository

A best-practices CSS foundation

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

sanitize.css live demo screenshot
Captured from the live demo · 2026-10-31

About this project

Author-written excerpt from the project README.

[sanitize.css] is a CSS library that provides consistent, cross-browser default styling of HTML elements alongside useful defaults.

sanitize.css is developed alongside [normalize.css], which means every normalization is included, and every normalization and opinion are clearly marked and documented.

sanitize.css wraps styles in zero-specificity selectors using :where().

Requirements and intended audience

[sanitize.css] is a CSS library that provides consistent, cross-browser default styling of HTML elements alongside useful defaults.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-02. Source: https://github.com/csstools/sanitize.css/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-03-26. Saved release: v13.0.0 · 2021-09-14. These dates do not guarantee ongoing maintenance.

Technologies
CSS
Licence
CC0-1.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-16. This does not test every feature.

Browse related categories