0

I am trying to set one opacity in a parent container and overwrite it in a child container but it does not seem to work

<div class="card bg-dark" style="opacity: .4">
    <div class="bg-light border-2 p-4 m-5 rounded" style="opacity: 1 !important;">
       ...
    </div>
</div>

I'm stomped. What am I missing?

santa
  • 11,716
  • 43
  • 149
  • 239

0 Answers0