码迷,mamicode.com
首页 > 其他好文 > 详细

Difference between link and @import

时间:2016-04-05 12:39:58      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

原文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

标签:

原文地址:http://www.cnblogs.com/AliceX-J/p/5344895.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!