강의

멘토링

커뮤니티

Reviews 2

Average rating 5.0

Completed 100% of course

It's good for learning the basics when you don't know anything. I'd like to say that it's good for beginners because you can easily understand the differences by directly 'experiencing' the content that students will cover through the lecture site. And this is not mentioned in the lecture, but since the purposes of import and link seem to be very similar, I looked it up separately, It seems that it's better to avoid using @import and use the link tag in terms of the speed of loading .css files. I also think it would be good if you covered JavaScript. I'm listening to the lecture well. Thank you. Source: http://egloos.zum.com/seye2/v/2319809 https://stackoverflow.com/questions/10036977/best-way-to-include-css-why-use-import

yalco님의 프로필 이미지
yalco
Instructor

Glad to help! When there are many CSS files and they are recycled, the difference between import and link is whether to organize the order, etc. on each page (link) or to finish with an import in one CSS file. If the order of CSS files is important, then link tags must load each CSS in order on each page, which can be prone to error, so in that case, import is preferred. However, if the loading speed of large CSS is important, link would be better as you mentioned. 🙂 I will cover JavaScript in the next lecture. Thank you!

Properly Selling HTML CSS - by Yalco thumbnail
yalco

·

54 lectures

·

2,957 students

Properly Selling HTML CSS - by Yalco thumbnail
yalco

·

54 lectures

·

2,957 students