Loading…

What is the use of Sass @import function?

SASS @import directive is used to include one stylesheet inside another stylesheet and in other words, we can say that it imports the .SASS and .scss files.The location of the stylesheet can either be in the same server or it is written with the URL to the directory of another server. For Example:-

  • @import "test.css";
  • @import "css/test.css";
  • @import url("http://check.com/css/test.css");

Suggest An Answer

No suggestions avaliable!

Latest post from Sass Interview Questions

Ask Question