css import css file code example
Example 1: import css
<link rel="stylesheet" type="text/css" href="style.css">
Example 2: import css in another css file
@import "navigation.css"; /* Via string */
or
@import url("navigation.css"); /* Via url */
Example 3: how to import a css file in html
To add, make a stylesheet and to import we write <link rel="stylesheet" href="styles.css">