HTML and CSS Reference
In-Depth Information
values that can be input into the number field. If the entered value falls into this range
between the minimum and maximum range, the
:in-range
selector style rule will ap-
ply, while if it is outside of this range, the
:out-of-range
selector will apply. The
range input form control can use these selectors too, in theory; however, as of this writ-
ing, only Opera supports it (and partially so, because the
:out-of-range
selector is
ignored).
Pattern matching selectors
Additional logic can be introduced into a selector by using one of the “nth-” type select-
ors, part of the
tree-structural pseudoclass
selectors group (see
Table 6-9
). All but one
of these selectors is new in CSS3.
Search WWH ::
Custom Search