What to read next
Inside AI Traffic’s 796% Growth (& Why It Converts More Ready-to-Buy Visitors)
Lead Generation for Home Builders: The 11 Strategies to Win High-Value Projects in 2026
The Next Big UX/UI Trends You Must Know in 2026
Is Google Analytics Accurate? Why GA4 Data Isn’t Always Reliable (And What Marketers Should Do)
CSS Guidelines is a comprehensive guide for writing maintainable CSS. It has rules such as limiting stylesheet lines to 80 characters, using soft tabs equal to four spaces, and so forth.
OOCSS stands for Object-oriented CSS. The central component of this approach is the CSS object, defined as “a repeating visual pattern, that can be abstracted into an independent snippet of HTML, CSS, and possibly JavaScript.”
BEM stands for Block, Element, Modifier. In this front-end development methodology, a block is a discrete component, or a “building block”. An element is a part of a block; for instance, a search form block has two elements: (1) a text input box and (2) a button. A modifier is a property that changes a block or element visually or behaviorally. Each block has a unique name (a CSS class).
Principles of writing consistent, idiomatic CSS — or idiomatic CSS for short — is a CSS development style guide. It includes guidelines for code-formatting, commenting in the stylesheet, and such. The core principle behind this style guide is to keep your source CSS consistent and readable.