购物车按钮

2018-11-26  本文已影响0人  Stranger_I
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>购物车按钮</title>
    <style type="text/css">
        .btn:link{
            display: block;
            width: 48px;
            height: 35px;
            background-image: url(img/qw.png);
            background-repeat: no-repeat;
        }
        .btn:link{
            background-position: -10px -340px;
        }
        .btn:hover{
            background-position: -55px -340px;
        }
        .btn:active{
            background-position: -120px -340px;
        }
    </style>
</head>
<body>
    <a href="#" class="btn"></a>
</body>
</html>
上一篇 下一篇

猜你喜欢

热点阅读