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
·
csswizardry avatar

csswizardry/CSS-Guidelines

0
View on GitHub↗
3,648 stars·871 forks·19 views

CSS Guidelines

CSS Guidelines is a comprehensive style guide and reference for writing maintainable, scalable, and modular CSS in large-scale web projects. It provides a set of professional standards for organizing stylesheets and implementing consistent naming patterns to improve long-term codebase health and reduce technical debt.

The project centers on a strict methodology for scoping classes to create isolated and predictable components, preventing style leakage between independent parts of a user interface. It emphasizes a flat selector hierarchy to avoid specificity conflicts and encourages the separation of structural layout from visual aesthetics. By organizing code into logical directory structures and applying single-responsibility design principles, the guidelines ensure that styles remain easy to update and override as a project grows.

These standards cover the foundational aspects of building reliable design systems, including the management of cascading layers and the implementation of consistent architectural patterns. The documentation serves as a central resource for teams aiming to establish predictable, high-quality styling conventions across complex interfaces.

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 history

Star history chart for csswizardry/css-guidelinesStar history chart for csswizardry/css-guidelines

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 csswizardry/css-guidelines do?

CSS Guidelines is a comprehensive style guide and reference for writing maintainable, scalable, and modular CSS in large-scale web projects. It provides a set of professional standards for organizing stylesheets and implementing consistent naming patterns to improve long-term codebase health and reduce technical debt.

What are the main features of csswizardry/css-guidelines?

The main features of csswizardry/css-guidelines are: 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.

What are some open-source alternatives to csswizardry/css-guidelines?

Open-source alternatives to csswizardry/css-guidelines include: 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…

Open-source alternatives to CSS Guidelines

Similar open-source projects, ranked by how many features they share with CSS Guidelines.
  • bendc/frontend-guidelinesbendc avatar

    bendc/frontend-guidelines

    9,089View on 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

    View on GitHub↗9,089
  • csswizardry/inuit.csscsswizardry avatar

    csswizardry/inuit.css

    3,795View on 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
    View on GitHub↗3,795
  • airbnb/cssairbnb avatar

    airbnb/css

    6,980View on 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

    View on GitHub↗6,980
  • dropbox/css-style-guidedropbox avatar

    dropbox/css-style-guide

    1,216View on 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.

    View on GitHub↗1,216
  • See all 30 alternatives to CSS Guidelines→

    Curated searches featuring CSS Guidelines

    Hand-picked collections where CSS Guidelines appears.
    • a style guide for front end development