Is there any way to select using only css images whose parent is a <div class="img-parent" ></div>
, that is, from a child element?
<div class="img-parent" >
<img src="/teste.png">
</div>
Something like .img-parent < img
, inverse, where img is daughter of div?