I have been searching extensively and cannot seem to pinpoint the problem. I am trying to adjust the opacity of the parent element, but for some reason, the child elements are not reflecting this change.
My attempts at finding guidance through online searches have only resulted in articles about "How to set opacity without affecting child elements". However, my situation is different as the child elements are remaining unaffected by the opacity setting of the parent element, which is what I need.
Below is a snippet of the code I am using:
<span style="opacity: 0.5">
<div>hello</div>
</span>