Answers for "style of element hover other element css"

CSS
2

css affect other elements on hover

#container:hover ~ #cube { background-color: yellow; }
Posted by: Guest on April-15-2020
-1

css hover change other element

#container:hover > #cube { background-color: yellow; }
Posted by: Guest on August-12-2020

Browse Popular Code Answers by Language