将一个页面涉及到的所有图片都包含到一张大图中去,然后利用CSS的 background-image,background- repeat,background-position 的组合进行背景定位。利用CSS Sprites能很好地减少网页的http请求,从而大大的提高页面的性能;CSS Sprites能减少图片的字节。
参考博客:https://blog.csdn.net/allenyhy/article/details/81484642
参考博客:https://blog.csdn.net/qq_42975998/article/details/88628971
原文:https://www.cnblogs.com/nayek/p/11962532.html