i want to make a dropdown menu on butto hover, but when hovered, the effect
are not applying to any other element like div or body.
this is the code
here is a link to my code if you really like to dive in search for dropbtn:hover
.dropbtn:hover .dropdown-content {
background: green ; //tried !important also not working
display:block;
}
.dropbtn:hoverAND to.dropdown-contentyou should separate them with comma:.dropbtn:hover, .dropdown-content {...}