1 dépôt
CSS methodologies that encourage reusable, composable classes for styling elements by their properties rather than their location in the DOM.
Distinct from CSS Frameworks: Distinct from CSS Frameworks: focuses on object-oriented methodology, not general pre-styled interface elements.
Explore 1 awesome GitHub repository matching web development · Object-Oriented. Refine with filters or upvote what's useful.
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 elem
Provides a CSS methodology that encourages reusable, composable classes for styling elements by their properties rather than DOM location.