HTML & CSS · Middle · Question 34 of 75
What does the currentColor value mean?
- 1The color the user picked in the system settings
- ✓Correct answer: The value of the current element's
colorproperty - 3The background color of the parent element
Explanation
currentColor substitutes the computed color value. It's handy for SVG icons (fill: currentColor), borders and shadows that should match the text color: change color on :hover, and the icon recolors along with the text.