按钮

作者: Es__ | 来源:发表于2018-09-13 11:43 被阅读0次
    <!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

    相关文章

      网友评论

          本文标题:按钮

          本文链接:https://www.haomeiwen.com/subject/wzkwgftx.html