<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>超级购物车</title>
<style type="text/css">
.nav{
display: block;
width: 40px;
height: 30px;
background: url("img/xbt.pg.png") no-repeat;
background-position: -10px -339px;
}
/*.nav:link{
;
width: 40px;
height: 30px;
}*/
.nav:hover{
background-position: -60px -339px;
}
.nav:active{
background-position: -125px -339px;
}
</style>
</head>
<body>
<a href="#" class="nav"></a>
</body>
</html>
网友评论