怎么把这些一样的代码写一起啊
.service .list li .item2 {
display: block;
position: absolute;
top: 0;
left: 0;
width: 36px;
height: 42px;
text-indent: -9999px;
background-image: url(../images/icon.png);
background-repeat: no-repeat;
background-position: -41px -192px;
}
.service .list li .item3 {
display: block;
position: absolute;
top: 0;
left: 0;
width: 36px;
height: 42px;
text-indent: -9999px;
background-image: url(../images/icon.png);
background-repeat: no-repeat;
background-position: -82px -192px;
}
这一串只有最后一行不一样