HTML and CSS Reference
In-Depth Information
resolution ,, min-resolution
min-resolution ,, max-resolution
resolution
max-resolution
Values: <resolution>
alues: <resolution>
Refers to the resolution of the output device in terms of pixel density, measured in either
dots-per-inch ( dpi ) or dots-per-centimeter ( dpcm ). If an output device has pixels that are
not square, the least dense axis is used; for example, if a device is 100dpcm along one axis
and 120dpcm along the other, 100 is the value returned. Additionally, a bare resolution
feature query can never match (though min-resolution and max-resolution can).
orientation
orientation
Values:
alues: portrait
portrait || landscape
landscape
Refers to the output device's total output area, where portrait is returned if the media
feature height is equal to or greater than the media feature width . Otherwise, the result is
landscape .
scan
scan
Values:
alues: progressive
progressive || interlace
interlace
Refers to the scanning process used in an output device with a media type of tv .
grid
grid
Values:
alues: 0 || 1
Refers to the presence (or absence) of a grid-based output device, such as a tty terminal.
A grid-based device will return 1 ; otherwise, 0 is returned.
Search WWH ::




Custom Search