I have the next html structure:
<div class="parent">
<div class="child"></div>
</div>
And css:
.parent {
width: 100px;
height: 100px;
}
.parent:hover {
background-color: red;
}
.child {
width: 50px;
height: 50px;
}
How can I change background color of child div when its parent div is hovered? Can I do it with css or I shoud use JQuery?