Usage of @import Rule for CSS

JavascriptWeb DevelopmentFront End Scripts

@import is used to import an external stylesheet in a manner similar to the <link> element.

Here is the syntax of the @import rule:

   <@import "URL";

Following is the example showing you how to import a style sheet file into HTML document:

   @import "new.css";
Published on 13-Apr-2018 07:55:00