开发者

How many Pseudo-classes are there in CSS?

How many Pseudo-classes are there in CSS? Wha开发者_如何学Ct are they?


A bunch of useful ones.

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜