1、用ps打开图片 2、找到图片所在位置 3、选择左边切片工具 4、框出你所需要的图片 5、右键选择 编辑切片选项 6、得到的x,y就是坐标 background: url(images/icon.png) no-repeat 0 -353px;