I'm quite confused, as I always thought that you could change an html element's css when another element is hovered directly in css:
h1:hover h2 {
color:red;
}
I recall with all I learned that the above code should change h2's color to red when h1 is hovered over, but it doesn't work. What am I doing wrong?