CSS Master

(Primo) #1

Table 7.3. Discrete media feature types, descriptions, and legitimate values


for each


Property Description Acceptable values
Whether the device is grid (such Boolean (test using (grid))
as a teletype terminal or phone

grid

with a single fixed font) or
bitmap.
Ability of the primary input none | on-demand | hover
mechanism to have a hover state
as determined by the user agent

hover

Ability of any connected input none | on-demand | hover
mechanism to have a hover state
as determined by the user agent

any-hover

Whether the colors have been none | inverted
inverted by the user agent or
operating system

inverted-colors

Queries the ambient light level dim | normal | washed
of the environment around the
device

light-level

none | scroll |
optional-paged | paged

Describes the behavior of the
device or browser when content
overflows the initial containing

overflow-block

block or viewport along the
block-axis
Describes the behavior of the none | scroll
device or browser when content

overflow-inline

overflows the initial containing
block or viewport in the
inline-axis
Describes behavior for whatever portrait | landscape
is larger out of width or height.

orientation

When the width is greater than
height, the orientation is
landscape. When the inverse
is true, the orientation is
portrait

Applying CSS Conditionally 285

Free download pdf