A pseudo-class adds a condition to a CSS selector. Think of it as a little “when this happens” tag: the browser applies the rule only while that condition is true. The `:hover` pseudo-class is triggered when the mouse pointer is over an element. section 5.5
Highlight a link on hover
Attach `:hover` to the `a` selector to give links a temporary rollover style. While the pointer is over a link, it turns yellow and gains an underline; when the pointer leaves, its normal blue, unlined style returns. section 5.5
a:hover {
color: #ffc200;
text-decoration: underline;
}
This rule shows the pseudo-class syntax: write the element selector, add `:hover`, then declare the styles to use during the hover. section 5.5


