You are tasked with redesigning a website to make it more maintainable. The current CSS is highly specific and difficult to override. Which CSS methodology would you choose to refactor the CSS for better maintainability and scalability?
- Atomic CSS
- BEM
- OOCSS
- SMACSS
OOCSS (Object-Oriented CSS) is a methodology that encourages the separation of structure and skin, making CSS more maintainable and scalable. It avoids overly specific selectors, making it easier to override styles when redesigning a website.
Loading...
Related Quiz
- In a multi-column layout, which CSS property is used to control the gap between columns?
- What does the text-transform property do in CSS?
- Animating properties like opacity and transform is considered more performant because they don't trigger ________ in most browsers.
- An element will be positioned relative to the viewport if its position property is set to ________.
- The CSS unit ______ is equivalent to the computed value of the font-size of the element's parent.