Description

Defines the media types that can display a set of style rules

Example

@media print{
  body{color:black;}
}

Values
all | braille | embossed | handheld | print | projection | screen | speech | tty | tv
Default value
all
Introduced in CSS version
2.1
Applies to elements
All
Inherited
N/A
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions5.51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties