The inherit keyword doesn't inherit a value from a property if it's used for CSS variables
--bg-color: inherit get the red value from --bg-color of the parent and move to background-color of the p element. The answer is red.
--bg-color: inherit get the red value from --bg-color of the parent and move to background-color of the p element. The answer is red.
No posts