Shinjikun
Shinjikun

Reputation: 590

How many Pseudo-classes are there in CSS?

How many Pseudo-classes are there in CSS? What are they?

Upvotes: 0

Views: 157

Answers (2)

Ewan Todd
Ewan Todd

Reputation: 7312

See 5.10 Pseudo-elements and pseudo-classes of the CSS2 spec.

CSS3 selectors are in Last Call status. See 6.6 Pseudo-classes, and 7 Pseudo elements.

Upvotes: 3

Bjorn
Bjorn

Reputation: 71830

A bunch of useful ones.

I mostly use: :hover :active but :before :after and :first-child are useful too.

Upvotes: 5

Related Questions