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

stubbornella/oocss

0
View on GitHub↗
6,192 stars·701 forks·JavaScript·12 viewsstubbornella.org↗

Oocss

Object-Oriented CSS (OOCSS) is a CSS methodology and framework that structures stylesheets around reusable, composable classes. Its core principle is separating layout and structure from visual design, allowing the same structural classes to work with different visual treatments. The approach encourages styling elements based on their own properties rather than their location in the DOM, making components portable across different contexts.

The methodology is built on class composition, where complex visual patterns are created by combining multiple single-purpose CSS classes on a single element. This avoids duplicating style rules and keeps selector specificity low, enabling easy overrides and composition without deep nesting or !important. A consistent, descriptive naming convention for classes ensures predictability and prevents specificity conflicts across the stylesheet.

OOCSS provides a grid system for consistent layout management and promotes building modular, reusable component classes that can be mixed and matched across a site. The framework includes predefined classes for common visual patterns, allowing developers to compose designs without writing custom positioning rules for each element.

Features

  • Object-Oriented - Provides a CSS methodology that encourages reusable, composable classes for styling elements by their properties rather than DOM location.
  • CSS Class - Defines a consistent naming system for CSS classes to ensure predictability and avoid specificity conflicts.
  • CSS Object Abstractions - Encapsulates common visual patterns into reusable CSS objects for mixing across components.
  • CSS Object-Oriented Architectures - Structures stylesheets around reusable, context-independent classes that separate layout from visual design.
  • Layout-Design Separation - Implements a core principle of separating layout structure from visual design in CSS.
  • CSS Property-Based Selectors - Styles elements by their own properties rather than DOM location for portable components.
  • CSS Layout-Design Separations - Separates layout and positioning rules from visual design to enable reusable structural classes.
  • Selector Specificity Restrictions - Keeps selector specificity low to allow easy overrides and composition without deep nesting or !important.
  • CSS Utility Classes - Defines modular, composable CSS classes that can be mixed and matched across a site to avoid duplicating styles.
  • Component Styling - Styles elements based on their own properties rather than DOM location to make components work consistently across contexts.
  • Context-Independent Styling Techniques - Provides a methodology for styling components independently of their DOM context for reuse.
  • Visual-Structural Separations - Defines layout and positioning rules independently of visual design for reusable structural classes.
  • CSS Content-Container Separations - Styles elements based on their own class names rather than DOM location for portable components.
  • CSS Class-Based Styling - Provides a methodology for composing visual patterns by combining single-purpose CSS classes on elements.
  • Grid Layout Systems - Uses a predefined grid of column classes to arrange content consistently without writing custom positioning rules.
  • CSS Layout-Design Separations - Decouples structural layout classes from visual design classes for greater portability and reuse.
  • Style Property Manipulators - Styles elements based on their own properties rather than DOM location for portable components.
  • CSS Styling Libraries - Methodology for object-oriented CSS architecture.

Star history

Star history chart for stubbornella/oocssStar history chart for stubbornella/oocss

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 stubbornella/oocss do?

Object-Oriented CSS (OOCSS) is a CSS methodology and framework that structures stylesheets around reusable, composable classes. Its core principle is separating layout and structure from visual design, allowing the same structural classes to work with different visual treatments. The approach encourages styling elements based on their own properties rather than their location in the DOM, making components portable across different contexts.

What are the main features of stubbornella/oocss?

The main features of stubbornella/oocss are: Object-Oriented, CSS Class, CSS Object Abstractions, CSS Object-Oriented Architectures, Layout-Design Separation, CSS Property-Based Selectors, CSS Layout-Design Separations, Selector Specificity Restrictions.

Which projects share features with stubbornella/oocss?

Projects with overlapping indexed features include: csswizardry/inuit.css — inuit.css is a Sass-based CSS framework and design system tool focused on building scalable user interfaces. It serves… dhg/skeleton — Skeleton is a lightweight responsive CSS boilerplate and mobile-first framework. It provides a foundation for building… alexwolfe/buttons — Buttons is a CSS button framework and UI component library providing a set of reusable visual elements for mobile and… didi/mpx — MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from… astrit/css.gg — css.gg is a collection of visual assets providing a CSS UI icon library and an SVG icon set. It delivers vector icons… fomantic/fomantic-ui — Fomantic-UI is a component-based CSS library and frontend design system used to build consistent, responsive user…

Projects sharing features with Oocss

These projects share indexed features with Oocss. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
  • dhg/skeletondhg avatar

    dhg/Skeleton

    19,410View on GitHub↗

    Skeleton is a lightweight responsive CSS boilerplate and mobile-first framework. It provides a foundation for building mobile-friendly websites through a fluid 12-column grid system, a minimal CSS reset library to normalize browser defaults, and default styling for raw HTML elements. The project emphasizes a mobile-first development approach, using percentage-based widths and predefined media queries to progressively enhance layouts for larger screens. It includes a utility-first library of single-purpose classes to manage common layout tasks such as floating elements, clearing, and width con

    CSS
    View on GitHub↗19,410
  • alexwolfe/buttonsalexwolfe avatar

    alexwolfe/Buttons

    5,001View on GitHub↗

    Buttons is a CSS button framework and UI component library providing a set of reusable visual elements for mobile and desktop web environments. It functions as a CSS utility system and variable-driven theming engine that enables the creation of consistent buttons using configurable typography and shapes. The system utilizes a modular CSS architecture where independent style and color classes are composed on single elements to produce varied visual effects, such as 3D or flat designs. It employs a declarative design framework that maps configuration options to real-time visual attributes via c

    JavaScript
    View on GitHub↗5,001
  • didi/mpxdidi avatar

    didi/mpx

    3,905View on GitHub↗

    MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from a single codebase. It utilizes a static transpilation pipeline to transform source code into platform-specific bundles, employing a single-file component system that encapsulates templates, logic, and styles. The framework provides a reactive state management system that automatically synchronizes application data with the user interface through computed properties and watchers. The project distinguishes itself through a robust build-time toolchain that supports sub-package p

    JavaScript
    View on GitHub↗3,905
  • Compare all 30 related projects→