• 微信导航滑动门效果


    <!doctype html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport"
              content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            body {
                background: url("img/wx.jpg") repeat-x;
            }
    
            .nav a {
                display: inline-block;
                line-height: 33px;
                text-align: center;
                text-decoration: none;
                background: url("img/to.png") no-repeat;
                color: #fff;
                padding-left: 16px;
            }
    
            .nav span {
                display: inline-block;
                background: url(img/to.png) no-repeat right;
                padding-right: 15px;
    
            }
    
            .nav a:hover, .nav a:hover span {
                background-image: url(img/ao.png);
            }
    
        </style>
    </head>
    <body>
    <ul class="nav">
        <li>
            <a href="#">
                <span>首页</span>
            </a>
        </li>
    </ul>
    </body>
    </html>
  • 相关阅读:
    CSS中的单位简介
    grid-layout
    position
    form
    objects
    个人介绍
    第十二周作业:
    第十一周作业
    第十周web作业
    第九周作业
  • 原文地址:https://www.cnblogs.com/Sky-Ice/p/9874712.html
Copyright © 2020-2023  润新知