CSS 2.1 selectors
CSS 2.1 selectors
Basic CSS selectors including: *
(universal selector), >
(child selector), :first-child
, :link
, :visited
, :active
, :hover
, :focus
, :lang()
, +
(adjacent sibling selector), [attr]
, [attr="val"]
, [attr~="val"]
, [attr|="bar"]
, .foo
(class selector), #foo
(id selector)
Spec | http://www.w3.org/TR/CSS21/selector.html |
---|---|
Status | W3C Recommendation |
IE | Edge | Firefox | Chrom
|
---|