How do CSS Variables enhance the maintainability of CSS code?

  • They have no impact on maintainability
  • They increase code complexity
  • They only work with JavaScript
  • They reduce redundancy in code
CSS Variables, also known as custom properties, help in reducing redundancy in code by allowing you to define values once and use them throughout the stylesheet. This enhances maintainability by making it easier to update styles globally.
Add your answer
Loading...

Leave a comment

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