我想知道,如果我这样做:加载精灵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次,并在网页中显示它的不同部分?