niven
6
Ahh hang on… This won’t work:
.glow:hover {
.lorem {
font-size: 36px;
}
}
CSS doesn’t natively allow for nesting style declarations.
For nested HTML elements, you need:
.glow:hover .lorem {
font-size: 36px;
}
As long as .lorem is nested inside of .glow in the HTML, the browser can then look at your CSS and correctly traverse the HTML structure and apply your styles.