How does the use of CSS variables (custom properties) impact the maintainability and performance of a website?
- Accelerating server response time
- Enhancing browser compatibility
- Optimizing database queries
- Reducing code redundancy
CSS variables improve maintainability by reducing code redundancy. They allow you to define values once and reuse them throughout the stylesheet, making updates easier and less error-prone.
Loading...
Related Quiz
- In responsive design, setting the ________ property ensures that images and other elements are displayed crisply on high-DPI screens.
- What is the difference between using em and rem units for font-sizing in CSS?
- Which tool can be used to automatically add vendor prefixes to CSS properties?
- To create a shadow effect behind an element, you'd use the ________ filter.
- What is the purpose of grouping multiple CSS selectors that share the same declarations?