Is it possible to change the CSS property of a class when hovering over another class in CSS?
#_nav li {
display:inline;
text-decoration:none;
padding-top:5vh;
line-height:8vh;
margin-right:5vh;
cursor:pointer;
}
#_nav li:hover + #drop{
color:blue;
}
#drop{
color:red;
}
When I hover over
_nav_li
I want the color of #drop to turn blue.