Is there a way to prevent the opacity of the parent div
from affecting the opacity of the img
?
<div class="parent_div" style="opacity:0.2">
<p>Some text</p>
<img class="gif" style="opacity: 1;" src="https://thumbs.gfycat.com/InsistentTautGodwit-size_restricted.gif"></div>