鼠标放上图片更换
实际内容是图片横换位移或位置
.btn01 {
background: url("../p_w_picpaths/1.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
display: block;
height: 86px;
width: 53px;
}
.btn01:hover {
background-position: -53px 0;
height: 86px;
width: 53px;
}
转载于:https://blog.51cto.com/lailai/1424137