★ SELECTORS / 3.
BASIC FILTERS
LEGEND ★ SELECTORS / 7.
VISIBILITY FILTERS
El Element
Fx Function
Num Number
Int Integer
0-1 Boolean
:first
Matches the first selected element.
a<El>
:last
Matches the last selected element.
a<El>
:not(selector)
Filters...
More
★ SELECTORS / 3.
BASIC FILTERS
LEGEND ★ SELECTORS / 7.
VISIBILITY FILTERS
El Element
Fx Function
Num Number
Int Integer
0-1 Boolean
:first
Matches the first selected element.
a<El>
:last
Matches the last selected element.
a<El>
:not(selector)
Filters out all elements matching the given
selector.
a<El(s)>
:even
Matches even elements, zero-indexed.
a<El(s)>
:odd
Matches odd elements, zero-indexed.
a<El(s)>
:eq(index)
Matches a single element by its index.
a<El>
:gt(index)
Matches all elements with an index above the
given one.
a<El(s)>
:lt(index)
Matches all elements with an index below the
given one.
a<El(s)>
:header
Matches all elements that are headers, like h1,
h2, h3 and so on.
a<El(s)>
:animated
Matches all elements that are currently being
animated.
a<El(s)>
C
★ SELECTORS / 1.
BASIC
#id
Matches a single element with the given id
attribute.
a<El>
element
Matches all elements with the given name.
a<El(s)>
.
class
Matches all elements with the given class.
a<El(s)>
.
Less