css:
.star_bg {
width: 150px;
height: 26px;
background: url(/*星星图片*/) repeat-x;
position: absolute;
right: 15px;
bottom: 23px;
z-index: 999;
overflow: hidden;
}
.star {
height: 100%;
width: 30px;
margin-right: 10px;
line-height: 10em;
position: absolute;
z-index: 3;
}
.star:hover {
background: url(/*星星图片*/) repeat-x 0 -27px!important; left: 0; z-index: 2; .star_bg {
width: 150px;
hei