Why can I not combine these into a single line, when I do it only effects the latter. On hover of .link, I want h3 and h4 to be color:white. Example:
This works, but I wanted to save a line of code by combining them.
.link:hover h3 {
color: white;
}
.link:hover h4 {
color: white;
}
However this does not work, it only effects the h3, and the h4 color:white gets applied before the hover
.link:hover h3, h4 {
color: white;
}