awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
csstools avatar

csstools/sanitize.css

0
View on GitHub↗
5,293 星标·302 分支·CSS·CC0-1.0·4 次浏览csstools.github.io/sanitize.css↗

Sanitize.css

sanitize.css 是一个 CSS 标准化和重置库,为排版、表单控件和元素布局提供了标准化的基准。它移除了浏览器默认的不一致性,为 Web 设计和现代应用建立了可预测的基础。

该项目实施了一个现代 CSS 基准,专注于系统界面字体和跨不同 Web 浏览器及操作系统的统一渲染。它集成了系统字体栈,以确保在各种平台上实现一致的排版和快速渲染。

该样式表涵盖了核心布局和无障碍功能,包括盒模型(box-sizing)的标准化以及从表单输入中移除操作系统特定的样式。它对图像和视频应用了响应式约束以防止布局溢出,并包含尊重系统级减少动画偏好的机制。

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 历史

csstools/sanitize.css 的 Star 历史图表csstools/sanitize.css 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

csstools/sanitize.css 是做什么的?

sanitize.css 是一个 CSS 标准化和重置库,为排版、表单控件和元素布局提供了标准化的基准。它移除了浏览器默认的不一致性,为 Web 设计和现代应用建立了可预测的基础。

csstools/sanitize.css 的主要功能有哪些?

csstools/sanitize.css 的主要功能包括:Browser Style Resets, CSS Resets, Browser Style Normalizers, System Font Stacks, Form Element Normalization, Box Sizing Configurations, Cross-Browser Consistency Layers, CSS Normalization。

csstools/sanitize.css 有哪些开源替代品?

csstools/sanitize.css 的开源替代品包括: 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…

Sanitize.css 的开源替代方案

相似的开源项目,按与 Sanitize.css 的功能重合度排序。
  • jonathantneal/sanitize.cssjonathantneal 的头像

    jonathantneal/sanitize.css

    5,293在 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
    在 GitHub 上查看↗5,293
  • necolas/normalize.cssnecolas 的头像

    necolas/normalize.css

    53,540在 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
    在 GitHub 上查看↗53,540
  • sindresorhus/modern-normalizesindresorhus 的头像

    sindresorhus/modern-normalize

    7,348在 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
    在 GitHub 上查看↗7,348
  • twbs/bootstraptwbs 的头像

    twbs/bootstrap

    174,380在 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
    在 GitHub 上查看↗174,380
  • 查看 Sanitize.css 的所有 30 个替代方案→