日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > web前端 > htmlcss > CSS Sprites:實用技巧,還是潛在危險?[譯]

CSS Sprites:實用技巧,還是潛在危險?[譯]

來源:程序員人生   發布時間:2014-03-15 00:23:03 閱讀次數:2910次

無處不在的CSS sprites——是為數不多的幾個可以繞過“逐漸流行”階段,而直接讓自己成為CSS最佳實踐的Web設計技巧中的一個。盡管在A List Apart對它進行一個解釋以及贊同認可這種方式之前,它還沒有真正地流行。它最早是由Petr Stanícek.在2003年7月提出來作為一個CSS的解決方案。

Ah, the ubiquitous CSS sprites — one of the few web design techniques that was able to bypass “trend” status almost instantly, planting itself firmly into the category of best practice CSS. Although it didn’t really take off until well after A List Apart explained and endorsed it, it was discussed as a CSS solution as early as July, 2003 by Petr Stanícek.

當今許多web程序員對這項技巧(CSS sprites)有著很嫻熟的應用能力,介紹CSS sprites的教程和文章也是不計其數。幾乎在每一篇教程中,都要求設計師以及程序員應該實施CSS sprites以減少HTTP請求和節省帶寬。迄今為止,這項技術已經被許多網站所應用了,包括亞馬遜,正在使用著極大數量的sprites圖片。

Most web developers today have a fairly strong grasp of this technique, and there have been countless tutorials and articles written on it. In almost every one of those tutorials, the claim is made that designers and developers should be implementing CSS sprites in order to minimize HTTP requests and save valuable kilobytes. This technique has been taken so far that many sites, including Amazon, now use mega sprites.

可是 這項技術被廣泛熱議的帶來的好處真的值得么?設計師們是否可以在沒經過仔細考慮所有方面的因素的情況下轉而使用CSS sprites?在這篇文章中,我將來討論一下CSS sprites的一些贊同或者反對使用CSS sprites的意見,尤其集中在大量使用的sprites,以及為什么這樣子使用CSS sprites在許多情況下是等同于浪費時間。

Is this much-discussed benefit really worthwhile? Are designers jumping on the CSS sprite bandwagon without a careful consideration of all the factors? In this article, I’m going to discuss some of the pros and cons of using CSS sprites, focusing particularly on the use of “mega” sprites, and why such use of sprites could in many cases be a waste of time.

原文地址  譯者:solari

生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 在线视频国产一区 | 成人久久影院 | 亚洲国产一区二区在线 | 成人做爰www免费看视频网站 | 国产精品国产三级国产普通话三级 | 国产精品久久久久久久妇 | 国产精品网站在线观看 | 亚洲国产精品久久久 | 久久精品成人 | 亚洲最大成人综合 | 一级黄色片一级黄色片 | 91精品国产乱码久久久久久久久 | 亚洲狼人综合 | 国产日产精品一区二区三区四区 | 日韩免费电影 | 日韩视频在线观看 | 熟女少妇a性色生活片毛片 国产伊人精品 | 亚洲成色999久久网站 | 亚洲性色av | 日韩视频欧美视频 | 中文字幕影院 | 欧美精三区欧美精三区 | 亚洲图片久久 | 99re在线观看 | 国产精品久久久久久久久久久久午夜片 | 成人免费观看在线 | 精品久久久网站 | wwww.国产 | av九九九| 亚洲午夜久久久 | 97中文字幕第00页 | 久久精品一区二区三区不卡牛牛 | 女用夫妻性快活器 | 久久精品亚洲精品国产欧美 | 日韩欧美精品一区二区三区经典 | 欧美二三区 | 久久九九久久九九 | 国产一区二区三区电影在线观看 | 三级精品视频 | 国产一区二区三区高清视频 | 一区二区三区高清不卡 |