--bg-color: inherit get the red value from --bg-color of the parent and move to background-color of the p element.
Share this post
The inherit keyword doesn't inherit a value…
Share this post
--bg-color: inherit get the red value from --bg-color of the parent and move to background-color of the p element.