CSS精灵图 是颗好糖 2022-02-05 113 阅读1分钟 先用PS切片定位background-position 然后根据公式计算background-size background-size = 原图总宽度 * 原图标宽度 / 理想宽度 理想宽度记得要标明