Difference between link and @import
Posted 印前
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Difference between link and @import相关的知识,希望对你有一定的参考价值。
原文don’t use @import
- Using @import within a stylesheet adds one more roundtrip to the overall download time of the page.
- Using @import in IE causes the download order to be altered. This may cause stylesheets to take longer to download, which hinders progress rendering making the page feel slower.
翻译:
- 在样式表中使用@import增加一个甚至更多来回的页面整体下载时间
- 在IE中使用@import导致下载顺序乱序,这个可能会导致样式表花更多时间来下载, 导致渲染进程感觉渲染很慢。
以上是关于Difference between link and @import的主要内容,如果未能解决你的问题,请参考以下文章
python: the difference between append and extend
Difference between Netbios and Host name
Is there a difference between `==` and `is` in Python?
What's the difference between all the Selection Segues?
Difference between WCF and Web API and WCF REST and Web Service