如何在CSS中实现图片交替效果
#newone {
display:block;
padding:0;
margin:0;
background:url(/newone.gif) no-repeat;
width:40px;
height:20px;
}
a#logoban:hover {
background:url(/secondone.gif) no-repeat;
}
如何在CSS中实现图片交替效果
#newone {
display:block;
padding:0;
margin:0;
background:url(/newone.gif) no-repeat;
width:40px;
height:20px;
}
a#logoban:hover {
background:url(/secondone.gif) no-repeat;
}