What is the difference between link and @import in CSS?

Both load an external CSS file, but in different ways.

Point<link>@import
WhereIn the HTML headAt the top of a CSS file
LoadingIn parallel with the pageAfter the CSS file that has it is read, so slower
UseBest choiceAvoid for performance
<link rel="stylesheet" href="style.css">
@import url("other.css");

See CSS Inclusion.


Learn more about the similar topics:
Tutorials
CSS Introduction
CSS Inclusion
CSS Syntax
CSS Comments
CSS Variables
List of common CSS Properties
Exercises & Assignments
No Content Found.
Interview Questions & Answers
Explain the various ways to apply CSS styles to a web page
What are the advantages of CSS?
What is CSS?
What is the difference between link and @import in CSS?
What are CSS variables?
What is a CSS reset?