# media at-rule

The `@media` at-rule is intended to import a CSS file into the current style sheet. The following media types can be specified in for this at-rule: `all` (all types, used by default), `print` (print devices), `screen` (screen monitor), `speech` (speech synthesizers).

## Syntax

`media media type { }`

## See also

- the `@import` at-rule
  that imports a CSS file
- the `@supports` at-rule
  that sets a style for elements whose capabilities are supported by the browser
- the `!important` flag
  that sets a style precedence

← →
↑
en ru