+ 8
where is the problem ?
i want to make menu that when user hover on parent menu's name it change child menu's color i write this code like websites guid but it doesn't work where is the problem ?(and i want just use css to do it) https://code.sololearn.com/WeoIEnYAm8N0/?ref=app
3 Réponses
+ 9
#parent:hover + #child{
color:red;
}
+ 7
Hatsy Rei
Thank you
+ 3
try it
#parent:hover ~ #child{
color:red;
}