Describes the number of bits per pixel in a monochrome frame buffer. If the device is not a monochrome device, the output device value will be 0.
Possible values
- Value: <integer>
- Applies to: visual media types
- Accepts min/max prefixes: yes
Remarks
The specified integer value cannot be negative.
Examples
The following two declarations indicate that a style sheet applies to all monochrome devices.
@media all and (monochrome) {
...
}
@media all and (min-monochrome: 1) {
...
}
The following declaration indicates that a style sheet applies to monochrome devices with more than 2 bits per pixels.
@media all and (min-monochrome: 2) {
...
}
The following declarations indicate that there is one style sheet for color devices and another for monochrome devices.
<link rel="stylesheet" media="print and (color)" href="http://..." /> <link rel="stylesheet" media="print and (monochrome)" href="http://..." />
Build date: 11/29/2012