What is a difference between @import and @include keyword in Sass?
Experience Level: Junior
Tags: Sass
Answer
The @import keyword is used to include partials (smaller Sass files that are prefixed by _underscore character) into a main file.
The @include keyword is used to insert processed css styles from mixin body into a selector.
Related General job interview questions
How do you add a new dependency to a file package.json?
npm JuniorWhat is a difference between installing a package locally and globally?
npm JuniorHow can dependency injection be used in views and how can it be helpful?
.NET CoreASP.NET Core MediorWhat is a difference between a List and Dictionary?
.NETBig OC#Data Structures JuniorCould you describe your regular day at your current role? What does it look like?
General Junior
Chat
Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.
Anonymous
Καλησπέρα.
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
the infinteis -3/15 so 1triition / infinet
Anonymous
e
e
Anonymous
<a href="https://inspirum.pl "
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
[url]https://inspirum.pl[/url]
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e