0

i'm trying to know how to change the container by hovering on the content

.container {
   width:100vw;
   height:100vh;
}
.content:hover .container {
   background-color:#fff;
}
<div class="container">
   <div class="content">content</div>
</div>

1 Answers1

0
.container{
    width:100vw;
    height:100vh;
    background: red;
}    
.container:hover{
    background: white;
}
Sco
  • 620
  • 5
  • 11