The BEM methodology suggests a naming convention where the block is separated from the element by a ________.
- -
- .
- :
- _
BEM (Block Element Modifier) methodology recommends using an underscore (_) to separate the block from the element in class names. This naming convention enhances code readability and helps identify the hierarchy of elements within a block. For instance, a button element inside a header block might be named header_button.
Loading...
Related Quiz
- What is the main advantage of using CSS-in-JS?
- When you want to generate multiple class or ID variations in SASS, you would typically use ________.
- To create a shadow effect behind an element, you'd use the ________ filter.
- Animating properties like opacity and transform is considered more performant because they don't trigger ________ in most browsers.
- The CSS function ______ allows you to perform arithmetic calculations directly within your stylesheets.