transparent
-- Specifies that the color should be transparent. This is default
inherit
-- Inherits this property from its parent element.
But practically speaking, I don't see any difference in them. In the following example, both child elements will have coral
background color.
<div style="background-color: coral">
<div style="background-color: transparent">
transparent
</div>
<div style="background-color: inherit">
inherit
</div>
</div>
In which conditions would I get a different result?