Sometimes, we want to include one CSS file in another.
In this article, we’ll look at how to include one CSS file in another.
How to include one CSS file in another?
To include one CSS file in another, we use @import.
For instance, we write
@import url("mystyle.css");
to import mystyle.css in a CSS file to add the styles from the file.
Conclusion
To include one CSS file in another, we use @import.