HTML and CSS Reference
resolution ,, min-resolution
min-resolution ,, max-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).
portrait || 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
progressive || interlace
Refers to the scanning process used in an output device with a media type of tv .
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.