CSS pseudo-class


Topic | v1 | created by jjones |
Description

A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s). For example, :hover can be used to change a button's color when the user's pointer hovers over it.


Relations

e.g. :hover

The :hover CSS pseudo-class matches when the user interacts with an element with a pointing device, b...

e.g. :focus

The :focus CSS pseudo-class represents an element (such as a form input) that has received focus. It...

subtopic of CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a docu...

e.g. :active

The :active CSS pseudo-class represents an element (such as a button) that is being activated by the...


Edit details Edit relations Attach new author Attach new topic Attach new resource
Resources