
Shobha
The best way to predict the future is to invent it
What are pseudo-classes in CSS?
Pseudo-classes define the special state of an element, like when a user hovers or focuses on it. They start with a colon (:).
For example,
button:hover { background-color: blue; }
For example,
button:hover { background-color: blue; }