The goal
Change an element by hovering another with CSS.
The problem
I don't know the syntax. Any ideas?
Code spotlight
I want to change .frame
by hovering .app > a
. The CSS syntax is spotlighted below:
.app a:hover ->¹ .frame {
background-color: yellow;
}
.frame {
background-color: blue;
width: 300px;
height: 300px;
}
¹ just illustration.