• 简单的css 菜单


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <style>
    .sub-nav{
        position: relative;
        border-bottom: 1px solid #E3E6EA;
        height:42px;
        font-family:"Microsoft YaHei", simsun;    
    }

    .sub-nav ul{
        padding:14px 0px 0px 25px;
    }
    .sub-nav ul li{
        float:left;
        line-height:14px;
        color:#5f727f;
        border-right: 1px solid #dcdde0;
        curson: pointer;
    }
    ul, ol{
        list-style:outside none none;    
    }
    .sub-item-in{
        margin-left:0;
    }
    .sub-nav ul li .sub-item-in{
        padding:0 6px;
        margin: 0 5px;
        position:relative;
        font-size:14px;
    }
    .sub-nav .trans {
        position: absolute;
        height: 3px;
        background: none repeat scroll 0% 0% #5EB5F1;
        overflow: hidden;
        left: 25px;
        bottom: -1px;
        68px;
        font-size: 0px;
        line-height: 0;
    }
    .has-trans {
        transition: all 0.3s ease-out 0s;
    }
    </style>

    </head>
    <body>
    <div class="sub-nav">
        <ul>
            <li><span class="sub-item-in" data-spm-click="gostr=/tbtrip;locaid=d101">Guo Nei</span></li>
            <li><span class="sub-item-in" data-spm-click="gostr=/tbtrip;locaid=d102" data-type="iflight">HongKong</span></li>
            <li><span class="sub-item-in" data-spm-click="gostr=/tbtrip;locaid=d103" data-type="flightCheap">Special Price</span></li>
            <li><span class="sub-item-in" data-spm-click="gostr=/tbtrip;locaid=d104" data-type="iflightCheap">International Special Price</span></li>
        </ul>
         <div style="left: 25px; 40px;" class="trans has-trans J_TransBar"></div>
    </div>
    </body>
    </html>

  • 相关阅读:
    C#解决界面不响应
    C#调用SendMessage 用法
    C#开机自动启动程序代码
    C# WinForm使用乐器数字接口
    以下C#程序的输出结果是( )。
    C# 关键字extern用法
    C#循环测试题
    C#播放wav文件
    Matches正则使用提取内容
    C#测试题若干,都是基础阿
  • 原文地址:https://www.cnblogs.com/BenWong/p/4196259.html
Copyright © 2020-2023  润新知