• 侧边导航栏


    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            .nav a {
                display: block;
                 200px;
                height: 50px;
                line-height: 50px;
                text-decoration: none;
                color: #fff;
                background-color: black;
                padding-left: 44px;
            }
            
            .nav a:hover {
                background-color: orange;
            }
        </style>
    </head>
    
    <body>
        <div class="nav">
            <a href="#">手机、电脑、路由器</a>
            <a href="#">手机、电脑、路由器xxxxx</a>
            <a href="#">手机、电脑、路由器</a>
            <a href="#">手机、电脑、路由器xx</a>
            <a href="#">手机、电脑、路由器</a>
            <a href="#">手机、电脑、路由器</a>
            <a href="#">手机、电脑、路由器xxxxxxx</a>
        </div>
    </body>
    
    </html>
    
  • 相关阅读:
    java oop
    traceroute
    ping
    ICMP Internet控制报文协议
    window,centos双系统坏了
    bcm53344 gpio驱动分析
    ioctl参数cmd=2错误
    BCM_GPIO驱动测试
    C++ 类和对象
    C++ 内存管理
  • 原文地址:https://www.cnblogs.com/icemiaomiao3/p/14568555.html
Copyright © 2020-2023  润新知