美文网首页
购物车LOGO

购物车LOGO

作者: 张明越 | 来源:发表于2019-06-02 13:14 被阅读0次

    HTML

    <!DOCTYPE html>

    <html lang="en">

    <head>

        <meta charset="UTF-8">

        <link rel="stylesheet" href="./购物车图标.css">

        <title>购物logo</title>

        <style type="text/css"></style>

    </head>

    <body>

        <div class="gwc">

            <a href="-"></a>

        </div>

    </body>

    </html>


    css

    *{

    margin: 0;

    padding: 0;

    }

    .gwc{

    display: block;

    width: 42px;

    height: 30px;

    background-image: url(./1.png);

    background-repeat: no-repeat;

    background-position: -8px -338px;

    margin: 20px 20px auto;

    }

    .gwc:hover{

    background-position: -58px -338px;

    }

    相关文章

      网友评论

          本文标题:购物车LOGO

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