亚马逊的购物车logo
2019-03-28 本文已影响0人
徐辉英
代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>亚马逊</title>
<style type="text/css">
.btn{
display: block;
width: 42px;
height: 30px;
background-image: url(image/amazon-sprite_.png);
background-repeat: no-repeat;
background-position: -8px -338px;
margin:570px 570px auto
}
.btn:hover{
background-position: -58px -338px
}
</style>
</head>
<body>
<a href="#" class="btn"></a>
</body>
</html>
效果图
