CSS Hover over something and have a completely different div change its attribute

Swippinomum

New Member
im trying to write a code where you hover over a div and have a completely different div change its effectheres my codehtml\[code\] <div class="a">LOREM IPSUM</div> <div class="boxhighlight"></div>\[/code\]css\[code\] .a:hover, .boxhighlight { background-color:black; }\[/code\]what i want to happen is that when the user hovers over the word lorem ipsum, the div boxhighlight will change its background coloris there a way to do this?thanks
 
Back
Top