0
Good afternoon, I wonder if you have how to change the background of the father div when the child element(img) gain mouse focus(:)
.pai{
padding: 20px;
background-color: #ffb3b3;
display: inline-flex;
}
.filho{
padding: 20px;
background-color: lightblue;
display: inline-flex;
}
<div class="pai">
<img class="filho">
</div>
Not yet, but it is one of the Ports for css4 http://css4.rocks/
– Felipe Duarte
that is, it is not yet possible to perform this correct feat?
– Jefter Rocha
Only with css not, if wanted, I can put a solution with some javascript lines.
– Felipe Duarte
Thanks for taking the doubt, in js I can, I just wanted to know if you had with pure CSS same!
– Jefter Rocha
There yes! dispose.
– Felipe Duarte