0
change style another element
I want to change the style an element when I hove on another element in CSS actually, I know I can do it with dom javascript but I want to do it just with css
1 Réponse
+ 2
You can do it for a few scenario but not for all.
1) If element you are hovering and element that will change color are siblings then you can do it.
2) element that will change color is child of element that is hovered.
edit: thanks Kevin ★
Here is example
https://code.sololearn.com/WjtevZg6vIwP/?ref=app