Which modular CSS methodology uses the Block, Element, Modifier structure?
- BEM (Block, Element, Modifier)
- ITCSS (Inverted Triangle CSS)
- OOCSS (Object-Oriented CSS)
- SMACSS (Scalable and Modular Architecture for CSS)
The modular CSS methodology that uses the Block, Element, Modifier structure is BEM, which stands for Block, Element, Modifier. BEM is a naming convention that helps create maintainable and predictable CSS code by organizing styles into blocks, elements, and modifiers.
Loading...
Related Quiz
- How would you define a custom property (or variable) in CSS?
- In a storytelling website, you want an image to slide in and stay in place after the animation finishes. Which properties and values would you primarily consider?
- In a large project, you want to have separate SCSS files for variables, mixins, and base styles. How would you structure and integrate them into a main SCSS file?
- What is the primary function of Autoprefixing in CSS development?
- You have an element inside a container. The container has a font-size of 20px. If you set the child element's font-size to 1.5em, what will be its computed font-size?