按钮

2018-09-13  本文已影响0人  Es__
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>按钮</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .box{
            width: 150px;
            height: 46px;
            background-image: url(img/amaz.png);
            background-repeat: no-repeat;
        }
        a:link{
            display: block;
            width: 48px;
            height: 36px;
            background-position: -7px -338px;
        }
        a:hover{
        background-position: -54px -338px;
        }
    </style>
</head>
<body>
    <div class="box">
    </div>
    <a href="#" class="box"></a>
</body>
</html>
an.PNG
上一篇下一篇

猜你喜欢

热点阅读