Edit

Import Styles

The @import function is also used to include external css file. It is also support to media queries. It declare in the <style> tag to add CSS file.

Example of Code

<!DOCTYPE html>
<html>
    <head>
        <title>My Example</title>
        <style>
            @import "example.css";
        </style>
    </head>
    <body>
        <h1>Embedded Styles</h1>
        <p id="intro">Allow you to define styles for the whole document.</p>
        <p class="colorful">This has a style applied via a class.</p>
    </body>
</html>

Output

            My Example                       

Embedded Styles

       

Allow you to define styles for the whole document.

       

This has a style applied via a class.