# import at-rule

The `@import` 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).

## Syntax

`import url('file name') [media types]; @import 'file name' [media types];`

## See also

- the `@media` at-rule
  that specifies a style for a media type
- 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