HTML & CSS · Senior · Question 74 of 75

Why avoid @import inside plain CSS files?

Explanation

Use <link> tags or a bundler that inlines imports at build time. In Sass, @use is compiled away, so this doesn't apply to it.

Further reading

Problem with a question

HTML & CSS · Senior · question 74

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz