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

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

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

csswizardry/CSS-Guidelines

0
View on GitHub↗
3,648 星标·871 分支·10 次浏览

CSS Guidelines

CSS Guidelines 是一个综合样式指南和参考,用于在大型 Web 项目中编写可维护、可扩展和模块化的 CSS。它提供了一套专业标准,用于组织样式表和实现一致的命名模式,以改善长期的代码库健康状况并减少技术债务。

该项目专注于一种严格的方法,用于限定类作用域以创建隔离且可预测的组件,防止样式在用户界面的独立部分之间泄漏。它强调扁平的选择器层级以避免特异性冲突,并鼓励将结构布局与视觉美学分离。通过将代码组织为逻辑目录结构并应用单一职责设计原则,该指南确保样式在项目增长时保持易于更新和覆盖。

这些标准涵盖了构建可靠设计系统的基础方面,包括级联层的管理和一致架构模式的实现。该文档作为旨在在复杂界面中建立可预测、高质量样式约定的团队的中心资源。

Features

  • BEM Element Scoping - Uses BEM naming conventions to bind elements to blocks and prevent style leakage.
  • Flat CSS Class Selectors - Enforces flat selector hierarchies to prevent specificity wars and simplify style overrides.
  • BEM - Implements the Block-Element-Modifier methodology to create isolated and predictable CSS components.
  • CSS Specificity Management - Maintains flat selector hierarchies to prevent complex override conflicts during development.
  • CSS Style Guides - Provides a comprehensive reference for writing maintainable and modular CSS code.
  • Single-Purpose CSS Classes - Encourages the use of single-purpose utility classes to maximize visual code reuse.
  • Frontend Architecture Best Practices - Establishes professional standards for clean, predictable styles to reduce technical debt.
  • CSS Architecture Patterns - Organizes stylesheets using consistent patterns to ensure scalability in large codebases.
  • Layout-Design Separation - Decouples structural layout logic from aesthetic skinning to improve design portability.
  • Web Development Standards - Sets professional guidelines for structuring CSS to ensure consistency across interfaces.
  • Design System Foundations - Builds a structured styling base to support the scaling of complex design systems.
  • Specificity Management Strategies - Provides strategies for managing specificity transitions from global to local scopes.
  • Stylesheet Maintainability Standards - Provides standardized guidelines for organizing CSS to ensure long-term maintainability.
  • Visual-Structural Separations - Isolates visual style definitions from structural markup to prevent design breakage.
  • Cascade Layer Management - Uses CSS cascade layers to manage style priority and ensure global defaults are correctly overridden.
  • Modern CSS Best Practices - Implements modular styling patterns that allow interfaces to scale without breaking existing layouts.

Star 历史

csswizardry/css-guidelines 的 Star 历史图表csswizardry/css-guidelines 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

常见问题解答

csswizardry/css-guidelines 是做什么的?

CSS Guidelines 是一个综合样式指南和参考,用于在大型 Web 项目中编写可维护、可扩展和模块化的 CSS。它提供了一套专业标准,用于组织样式表和实现一致的命名模式,以改善长期的代码库健康状况并减少技术债务。

csswizardry/css-guidelines 的主要功能有哪些?

csswizardry/css-guidelines 的主要功能包括:BEM Element Scoping, Flat CSS Class Selectors, BEM, CSS Specificity Management, CSS Style Guides, Single-Purpose CSS Classes, Frontend Architecture Best Practices, CSS Architecture Patterns。

csswizardry/css-guidelines 有哪些开源替代品?

csswizardry/css-guidelines 的开源替代品包括: bendc/frontend-guidelines — This project is a comprehensive collection of frontend development best practices and standards. It provides guides… csswizardry/inuit.css — inuit.css is a Sass-based CSS framework and design system tool focused on building scalable user interfaces. It serves… airbnb/css — This project is a CSS architecture framework and style guide providing formal coding standards for CSS and Sass. It… dropbox/css-style-guide — This project provides a comprehensive framework for standardizing CSS architecture and development practices in… getbem/getbem.github.io — Get BEM to all people in simplest way. necolas/idiomatic-css — Idiomatic CSS is a CSS style guide and architecture standard designed to ensure the creation of consistent and…

CSS Guidelines 的开源替代方案

相似的开源项目,按与 CSS Guidelines 的功能重合度排序。
  • bendc/frontend-guidelinesbendc 的头像

    bendc/frontend-guidelines

    9,089在 GitHub 上查看↗

    This project is a comprehensive collection of frontend development best practices and standards. It provides guides for writing semantic HTML, efficient CSS, and functional JavaScript to improve overall web performance and accessibility. The repository establishes frameworks for modern CSS architecture, focusing on specificity management and the use of Flexbox and Grid for predictable layouts. It outlines patterns for functional JavaScript programming, emphasizing the use of pure functions and composition to reduce execution time and dependency bloat. The guidelines cover several core capabi

    在 GitHub 上查看↗9,089
  • csswizardry/inuit.csscsswizardry 的头像

    csswizardry/inuit.css

    3,795在 GitHub 上查看↗

    inuit.css is a Sass-based CSS framework and design system tool focused on building scalable user interfaces. It serves as a modular preprocessor system that utilizes BEM architecture and OOCSS patterns to structure stylesheets into reusable components and layout abstractions. The framework distinguishes itself by separating structural layout logic from visual skinning, allowing for the creation of design-agnostic layout objects. It employs a configuration-driven build process where developers can use feature switches and variable overrides to inject design tokens and selectively include only

    CSS
    在 GitHub 上查看↗3,795
  • airbnb/cssairbnb 的头像

    airbnb/css

    6,980在 GitHub 上查看↗

    This project is a CSS architecture framework and style guide providing formal coding standards for CSS and Sass. It establishes a structured approach to naming conventions, property organization, and selector management to ensure consistency across large-scale projects. The framework focuses on decoupling visual styles from JavaScript behavior through specific naming prefixes and utilizes a block element modifier system for component naming. It defines strict guidelines for Sass usage, emphasizing the efficient application of variables and mixins to prevent bloated output and complex dependen

    在 GitHub 上查看↗6,980
  • dropbox/css-style-guidedropbox 的头像

    dropbox/css-style-guide

    1,216在 GitHub 上查看↗

    This project provides a comprehensive framework for standardizing CSS architecture and development practices in large-scale web applications. It establishes a structured approach to managing design patterns, ensuring that stylesheets remain maintainable, scalable, and consistent across complex codebases. The methodology centers on the use of block-element-modifier naming conventions to organize user interface components into independent, reusable units. By enforcing flat selector specificity and namespace-based scoping, the framework prevents naming collisions and unintended style overrides.

    在 GitHub 上查看↗1,216
查看 CSS Guidelines 的所有 30 个替代方案→

包含 CSS Guidelines 的精选搜索

收录 CSS Guidelines 的精选合集。
  • 前端开发风格指南