我想知道,如果我這樣做:加載精靈1次或多次?
<div style="width:50px;height:50px;background: transparent url(sprite.png) 0px 0px no-repeat;">555</div>
<div style="width:50px;height:50px;background: transparent url(sprite.png) -56px 0px no-repeat;">666</div>
<div style="width:50px;height:50px;background: transparent url(sprite.png) -109px 0px no-repeat;">666</div>
這種的下載圖像的3倍?
還是要下載圖像1次,並在網頁中顯示它的不同部分?