awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
csstools avatar

csstools/sanitize.css

0
View on GitHub↗
5,293 stars·302 forks·CSS·CC0-1.0·20 viewscsstools.github.io/sanitize.css↗

Sanitize.css

sanitize.css is a CSS normalizer and reset library that provides a standardized baseline for typography, form controls, and element layouts. It removes browser default inconsistencies to establish a predictable foundation for web design and modern applications.

The project implements a modern CSS baseline focusing on system interface fonts and consistent rendering across different web browsers and operating systems. It integrates a system-font stack to ensure consistent typography and fast rendering on various platforms.

The stylesheet covers core layout and accessibility capabilities, including the standardization of the box-sizing model and the removal of operating system specific styling from form inputs. It applies responsive constraints to images and videos to prevent layout overflow and includes mechanisms to respect system-level preferences for reduced motion.

Features

  • Browser Style Resets - Provides a comprehensive reset of browser default styles to establish a neutral baseline for all elements.
  • CSS Resets - Provides a set of baseline styles that remove browser default inconsistencies for a predictable design foundation.
  • Browser Style Normalizers - Resets default browser styles for all HTML elements to ensure a consistent rendering baseline.
  • System Font Stacks - Integrates a prioritized stack of native system fonts for fast and consistent typography across platforms.
  • Form Element Normalization - Removes operating system specific styling from form inputs for consistent cross-browser appearance.
  • Box Sizing Configurations - Standardizes the box-sizing property globally to ensure predictable element dimension calculations.
  • Cross-Browser Consistency Layers - Provides a consistency layer that removes browser and OS specific styling from form controls.
  • CSS Normalization - Resets browser default styles to ensure a consistent and predictable baseline across different platforms.
  • Modern CSS Best Practices - Implements a modern baseline of styles focusing on system fonts and consistent rendering for web applications.
  • Typography Systems - Applies global settings for system interface fonts and consistent line heights for better legibility.
  • Asset Size Constraints - Applies constraints to images and videos to prevent layout overflow and maintain reading measures.
  • Web Accessibility Compliance - Implements accessibility standards by respecting reduced motion preferences and optimizing typography legibility.
  • Motion Preference Handlers - Provides CSS rules that detect and respond to system-level reduced motion preferences.
  • Responsive Media Constraints - Implements responsive constraints on images and videos to prevent layout overflow and maintain consistent reading measures.
  • Media Overflow Constraints - Applies responsive constraints to images and videos to prevent layout overflow on small screens.
  • Responsive CSS Frameworks - Provides a collection of base rules for optimizing asset layout and handling system-level accessibility preferences.
  • CSS Styling Libraries - Modern CSS reset and normalization.
  • Stalled Development Frameworks - Foundation for best-practice CSS styling.

Star history

Star history chart for csstools/sanitize.cssStar history chart for csstools/sanitize.css

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does csstools/sanitize.css do?

sanitize.css is a CSS normalizer and reset library that provides a standardized baseline for typography, form controls, and element layouts. It removes browser default inconsistencies to establish a predictable foundation for web design and modern applications.

What are the main features of csstools/sanitize.css?

The main features of csstools/sanitize.css are: Browser Style Resets, CSS Resets, Browser Style Normalizers, System Font Stacks, Form Element Normalization, Box Sizing Configurations, Cross-Browser Consistency Layers, CSS Normalization.

Which projects share features with csstools/sanitize.css?

Projects with overlapping indexed features include: jonathantneal/sanitize.css — sanitize.css is a CSS reset library and normalizer that provides a baseline stylesheet for web projects. It… necolas/normalize.css — Normalize.css is a CSS reset library and browser style normalizer. It provides a collection of baseline styles… sindresorhus/modern-normalize — modern-normalize is a CSS reset stylesheet and browser style normalizer. It provides a minimal set of global style… twbs/bootstrap — Bootstrap is a comprehensive, mobile-first CSS framework designed for building responsive web interfaces. It provides… allthingssmitty/css-protips — This project is a curated knowledge base and technical reference for professional web styling. It serves as a… joshuaclayton/blueprint-css — Blueprint-css is a CSS framework that provides a set of predefined styles and a responsive grid system for building…

Projects sharing features with Sanitize.css

These projects share indexed features with Sanitize.css. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • jonathantneal/sanitize.cssjonathantneal avatar

    jonathantneal/sanitize.css

    5,293View on GitHub↗

    sanitize.css is a CSS reset library and normalizer that provides a baseline stylesheet for web projects. It establishes a uniform visual starting point by removing inconsistent browser-specific default styles and implementing a global CSS reset. The project focuses on cross-browser style normalization, ensuring that typography, form controls, and HTML elements render consistently across different browsers and devices. It implements a system-font stack to eliminate rendering discrepancies and applies box-sizing normalization to ensure a predictable layout model. The library also includes acce

    CSS
    View on GitHub↗5,293
  • necolas/normalize.cssnecolas avatar

    necolas/normalize.css

    53,540View on GitHub↗

    Normalize.css is a CSS reset library and browser style normalizer. It provides a collection of baseline styles designed to ensure a consistent visual appearance of HTML elements across all modern web browsers. The project functions as a cross-browser consistency layer that corrects common default rendering bugs and eliminates inconsistencies in user-agent stylesheets. It establishes a uniform visual baseline by overriding default browser rendering behaviors and mitigating vendor-specific errors. This stylesheet standardizes browser rendering to prevent unexpected layout bugs and ensures that

    CSScsscss-resetnormalize-css
    View on GitHub↗53,540
  • sindresorhus/modern-normalizesindresorhus avatar

    sindresorhus/modern-normalize

    7,348View on GitHub↗

    modern-normalize is a CSS reset stylesheet and browser style normalizer. It provides a minimal set of global style overrides designed to remove inconsistent default user-agent styles and prevent browser-specific rendering quirks. The project establishes a predictable frontend layout baseline by standardizing typography and layout properties. It specifically enforces a consistent layout model by applying border-box sizing across all HTML elements. The stylesheet uses tag-based global targeting to apply normalization rules directly to HTML elements, removing the need for specific class names.

    TypeScript
    View on GitHub↗7,348
  • twbs/bootstraptwbs avatar

    twbs/bootstrap

    174,380View on GitHub↗

    Bootstrap is a comprehensive, mobile-first CSS framework designed for building responsive web interfaces. It provides a standardized library of reusable UI components, such as navigation bars, modals, and forms, alongside a robust grid system that ensures consistent layout alignment across diverse viewport sizes. By establishing a baseline through browser normalization and standardized typography, the project enables developers to create accessible, cross-browser compatible web applications. The framework distinguishes itself through a modular Sass-based architecture that allows for deep cust

    MDXbootstrapcsscss-framework
    View on GitHub↗174,380
Compare all 30 related projects→