What is the main advantage of using a methodology like OOCSS?

  • It focuses solely on the layout of the webpage
  • It increases the specificity of CSS rules
  • It limits the flexibility of styling
  • It promotes code reusability and reduces redundancy
Object-Oriented CSS (OOCSS) promotes code reusability by separating structure and skin. This means styling for layout is kept separate from styling for visual design, making the code more modular and easier to maintain.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *