Having trouble targeting the correct element in CSS. How can I get .sizewave to target both itself and .bp_bar? Any solutions?
HTML:
<div class="bp_outer_wrapper">
<img class="sizewave" src="media/images/heart.svg">
<div class="bp_wrapper">
<div class="bp_bar"></div>
</div>
</div>
CSS:
/*This one is working*/
.bp_outer_wrapper .sizewave:hover{
animation: sizewave 1s 7 ease-in-out both;
}
/*But this one isn't*/
.bp_outer_wrapper .sizewave:hover .bp_outer_wrapper .bp_wrapper .bp_bar{
animation: bloodpreassure 7s 1 ease-in-out;
animation-fill-mode: forwards;
}