CSS CSS Layout Basics Getting Started with CSS Layout CSS Reset with Normalize

lukej
lukej
28,605 Points

Using @import "normalize.css";

Is it ok to use the code below in my main css file when I distribute my site or should I link to the css like Guil did in the video?

@import "normalize.css";
Matas Astramskas
Matas Astramskas
Front End Web Development Techdegree Graduate 28,501 Points

if i understand correcly you are using sass, well i think the best solution is to add link to index.html <link rel="stylesheet" type="text/css" href="normalize.css">

because @import is used to import partial files

Ardyson Ajoste
Ardyson Ajoste
2,104 Points

I'd like to know this as well. Wouldn't this be better to avoid linking normalize.css to multiple html files?