What are pseudo-classes in CSS?

Subh Prakash Singh
Invent the Future
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; }









