zoukankan      html  css  js  c++  java
  • 3层下拉列表

    ,1,建3层列表

    <title>无标题文档</title>
    <style>
    *{
    margin:0px;
    padding:0px;}
    .a{
    border:0;
    height:50px;
    200px;
    top:100px;
    left:100px;
    background-color:#0C0;
    text-align:center;
    vertical-align:middle;
    overflow:hidden;
    line-height:50px;
    position:absolute

    }
    .aa{
    border:0;
    height:50px;
    200px;
    top:100px;
    left:100px;
    background-color:#FF6;
    text-align:center;
    vertical-align:middle;
    overflow:visible;
    line-height:50px;
    position:absolute

    }
    .b{
    border:0 ;
    height:50px;
    200px;
    top:50px;

    background-color:#636;
    text-align:center;
    vertical-align:middle;
    overflow:hidden;
    line-height:50px;
    position:absolute
    }
    .bb{
    border:0;
    height:50px;
    200px;
    top:50px;

    background-color:#93F;
    text-align:center;
    vertical-align:middle;
    overflow:visible;
    line-height:50px;
    position:absolute
    }
    .c{
    border:0;
    height:50px;
    200px;
    top:100px;

    background-color:#9FC;
    text-align:center;
    vertical-align:middle;

    line-height:50px;
    position:absolute
    }
    .d{
    border:0;
    height:50px;
    200px;
    top:150px;
    background-color:#F0C;
    text-align:center;
    vertical-align:middle;
    line-height:50px;
    position:absolute
    }
    #b{
    border:1px;
    height:150px;
    200px;
    top:0px;
    left:200px;
    text-align:center;
    vertical-align:middle;
    position:absolute;
    }

    </style>

    </head>

    <body>
    <div class="a" onmouseover="this.className='aa'" onmouseout="this.className='a'">滚动新闻

    <div class="b" onmouseover="this.className='bb'" onmouseout="this.className='b'" >娱乐
    <div id="b">
    <table cellpadding="0px" cellspacing="0px">
    <tr><td bgcolor="#339933" width="200px">2</td></tr>
    <tr><td bgcolor="#99FF66" width="200px">4</td></tr>
    <tr><td bgcolor="#FF00CC" width="200px">6</td></tr>

    </table></div>

    </div>
    <div class="c">民生</div>
    <div class="d">军事</div>
    </div>

    </div>

  • 相关阅读:
    vue组件传值
    mui父子页面蒙版
    mui页面传值
    mui跳转页面短暂白屏
    Sql 向数据库中添加一行数据
    redis启动报错 no config file specified, using the default config.
    C# 合并表达式树
    .net从集合中取出下拉框类型值数据
    jquery从数组中取出满足要求的元素
    RabbitMQ Topic交换机代码实现
  • 原文地址:https://www.cnblogs.com/wanlibingfeng/p/5325892.html
Copyright © 2011-2022 走看看