OOCSS primarily focuses on separating container and content, and promoting the reuse of ________.
- CSS rules
- HTML elements
- JavaScript functions
- Styles
Object-Oriented CSS (OOCSS) emphasizes separating the container and content in your styles and promoting the reuse of styles (i.e., CSS rules). This approach helps keep your CSS modular, making it easier to maintain and reducing redundancy in your code.
Loading...
Related Quiz
- How can you specify a fallback font if the primary font fails to load?
- You want to overlay a button on top of an image. The button should be at the bottom right corner of the image. How would you position the button using CSS?
- Which CSS property is used to clip an element to a basic shape like a circle or ellipse?
- Which CSS pseudo-class would allow you to target only the last list item in an unordered list?
- Which SASS/SCSS feature allows you to pass values when including a mixin?