如果我想快速加载任何图像,是不是应该使用CSS背景而不是
标签?我认为这种差异只会在低速互联网连接中显示出来。
我看到许多与仅使用CSS预加载有关的文章,它们都在CSS背景中使用图像。
我看到许多与仅使用CSS预加载有关的文章,它们都在CSS背景中使用图像。
http://perishablepress.com/press/2008/04/15/pure-css-better-image-preloading-without-javascript/
http://perishablepress.com/press/2007/07/22/css-throwdown-preload-images-without-javascript/
http://divitodesign.com/css/create-an-image-pre-loader-with-css-only/