# Description

The @import parser directive is used to import one style sheet into another.

This directive has the form:

    @import { URI | string }
      [media type,...];

Note that one or more optional media types may be specified indicating to which media types the imported style sheet applies. This is done by appending a comma-separated list of media types to the URI. The following example illustrates the syntax:

    @import
      url(/css/screen-styles.css)
      screen, projection;

Note: The @import directive must appear before all rule sets otherwise it will be ignored.

# Examples

This example imports a print and screen rule set into this style sheet:

    @import url("/css/print.css");
    @import "screen.css";

# Browser Support

Firefox | IE | Chrome | Opera | Safari
| 1 |  |  |

1 - media types not supported by IE

# Miscellaneous Information

Defined In: | CSS1