About 22,400 results
Open links in new tab
  1. Modifiers — MaintainableCSS - an approach to writing modular, …

    Chapter 8 Modifiers Like state, modifiers also override styles. They are useful when modules (or components) have small and well understood differences. Take an e-commerce site whereby each …

  2. BEM 101 | CSS-Tricks

    Apr 2, 2015 · The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. Developed by the team at Yandex, its goal is to …

  3. Understanding the CSS BEM convention - GeeksforGeeks

    Jul 26, 2024 · The modifier is added as a class to the button element, following the BEM naming convention. The class name "card__button--primary" indicates that it is a variation of the …

  4. CSS .class Selector - W3Schools

    Definition and Usage The CSS .class selector selects elements with a specific class attribute value. To select all kinds of elements with a specific class, write a period (.) character, followed by the class …

  5. Mastering CSS Modifiers in HTML - tutorialpedia.org

    Oct 16, 2025 · A CSS modifier is a class that is used to alter the appearance of an existing HTML element or component, providing a way to create variations without duplicating a large amount of …

  6. Naming - BEM

    Naming There are only two hard problems in Computer Science: cache invalidation and naming things — Phil Karlton It is a known fact that the right styleguide can significantly increase development …

  7. CSS selectors and combinators - CSS | MDN - MDN Web Docs

    Nov 7, 2025 · CSS selectors are used to define a pattern of the elements that you want to select for applying a set of CSS rules on the selected elements. Combinators define the relationship between …

  8. Class selectors - CSS - MDN

    Nov 7, 2025 · The CSS class selector matches elements based on the contents of their class attribute.

  9. BEM — Block Element Modifier

    BEM — Block Element Modifier is a methodology, that helps you to achieve reusable components and code sharing in the front-end.

  10. BEM Visually Explained - Keeping Up To Date

    BEM (Block, Element, Modifier) is a methodology for naming CSS styles in a modular and maintainable manner. If you’ve worked on large websites, I’m sure you’ll have come across indecipherable class …