亚马逊购物车按钮
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
.a1:link{
width: 47px;
height: 34px;
display: block;
background-image: url(img/亚马逊购物车.png);
}
.a1:hover{
background-image: url(img/亚马逊购物车.png);
background-position: -47px 0;
}
</style>
</head>
<body>
<a href="#" class="a1"></a>
</body>
</html>
网友评论