If I have
.parent {
background-color: #000;
}
.child {
// the background from the parent with an alpha
// background-color: inherit + alpha
}
can I apply an alpha to the inherited background color?
<div class="parent">
<div class="child">this is the child</div>
</div>
as far as I know the only way is to pass a color rgba(255, 0, 0, 0.3);} any ideas on how to achieve this? thanks!