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
jonathantneal avatar

jonathantneal/sanitize.css

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

Sanitize.css

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 accessibility foundations, such as mapping accessibility roles to visual cursors and respecting system preferences for reduced motion. Additionally, it handles responsive media by forcing images and embedded content to remain within their parent containers.

Features

  • Browser Style Normalizers - Provides a baseline stylesheet that removes inconsistent browser-specific default styles for a uniform visual starting point.
  • Global CSS Stylings - Provides a comprehensive global CSS reset to remove browser-specific default styles.
  • CSS Resets - Implements a global CSS reset that clears default margins and establishes a consistent starting point.
  • Visual Baseline Overrides - Replaces inconsistent native styling for form controls and inputs with a minimal and uniform visual baseline.
  • System Font Stacks - Defines a prioritized list of native system fonts to ensure consistent typography across platforms.
  • Form Element Normalization - Applies minimal styling to form elements to remove inconsistent browser-default appearances.
  • Global Layout Defaults - Implements global box-sizing normalization and margin resets to create a predictable and consistent layout model.
  • Box Sizing Configurations - Implements global box-sizing settings to ensure a predictable layout model across all elements.
  • Typography Systems - Establishes a standardized typography system using native interface fonts to eliminate rendering discrepancies.
  • CSS Normalization - Ensures standard rendering of typography, form controls, and media assets across different browsers.
  • Modern CSS Baselines - Provides a lightweight starting point for web projects with consistent box-sizing, margins, and system font stacks.
  • Media Fit Constraints - Forces images and embedded content to remain within their parent containers using maximum dimensions.
  • CSS Accessibility Foundations - Improves user experience by mapping accessibility roles to visual cursors and respecting reduced motion preferences.
  • Accessibility Baselines - Provides a baseline stylesheet that implements reduced motion preferences and accessibility role cursor mapping.
  • Media Asset Normalization - Forces images and embedded content to remain within their parent containers and align with surrounding text.
  • Typography Normalization - Applies a consistent system-font stack to eliminate rendering discrepancies across different browsers and devices.
  • Responsive Media Containers - Ensures images and embedded content fit within their containers and align correctly with surrounding text.
  • Reset and Normalize - Modern CSS rules based on current best practices.

Star history

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

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. 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 jonathantneal/sanitize.css do?

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.

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

The main features of jonathantneal/sanitize.css are: Browser Style Normalizers, Global CSS Stylings, CSS Resets, Visual Baseline Overrides, System Font Stacks, Form Element Normalization, Global Layout Defaults, Box Sizing Configurations.

What are some open-source alternatives to jonathantneal/sanitize.css?

Open-source alternatives to jonathantneal/sanitize.css include: csstools/sanitize.css — sanitize.css is a CSS normalizer and reset library that provides a standardized baseline for typography, form… sindresorhus/modern-normalize — modern-normalize is a CSS reset stylesheet and browser style normalizer. It provides a minimal set of global style… necolas/normalize.css — Normalize.css is a CSS reset library and browser style normalizer. It provides a collection of baseline styles… allthingssmitty/css-protips — This project is a curated knowledge base and technical reference for professional web styling. It serves as a… milligram/milligram — A minimalist CSS framework. joshuaclayton/blueprint-css — Blueprint-css is a CSS framework that provides a set of predefined styles and a responsive grid system for building…

Open-source alternatives to Sanitize.css

Similar open-source projects, ranked by how many features they share with Sanitize.css.
  • csstools/sanitize.csscsstools avatar

    csstools/sanitize.css

    5,293View on GitHub↗

    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, inclu

    CSS
    View on GitHub↗5,293
  • 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
  • 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
  • allthingssmitty/css-protipsAllThingsSmitty avatar

    AllThingsSmitty/css-protips

    30,114View on GitHub↗

    This project is a curated knowledge base and technical reference for professional web styling. It serves as a comprehensive guide to modern CSS best practices, focusing on techniques that leverage native browser capabilities to create efficient, maintainable, and scalable stylesheets. The collection emphasizes the use of declarative style logic and modern layout engines to replace brittle, imperative approaches. By prioritizing native pseudo-class state management, logical property mapping, and relative unit scaling, the guide demonstrates how to build responsive interfaces that remain consis

    awesomeawesome-listcss
    View on GitHub↗30,114
  • See all 30 alternatives to Sanitize.css→