首页 > 其他 > 详细

Difference between link and @import

时间:2016-04-05 12:37:55      阅读:146      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!