• Bootstrap手风琴悬浮下拉框,直接拷~~~


    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
        <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
        <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    
        <style>
                .box{
                    width: 400px;
                    height: 600px;
                    margin-top: 100px;
                }
            </style>
    </head>
    <body>
    
    
            <div class="container box">
                <div class="panel-group">
    
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"> 
                                <a href="#ding" data-toggle="collapse" data-parent="#accordion">订单管理</a>
                            </h4>
                        </div>
                        <div id="ding" class="panel-collapse collapse in">
                            <div class="panel-body">
                                <ul class="nav">
                                    <li>
                                        <a href="#">衣服管理</a>
                                    </li>
                                    <li>
                                        <a href="#">鞋子管理</a>
                                    </li>
                                    <li>
                                        <a href="#">水果管理</a>
                                    </li>
                                    <li>
                                        <a href="#">蔬菜管理</a>
                                    </li>
                                    <li>
                                        <a href="#">电脑管理</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"> 
                                <a href="#hui"  data-toggle="collapse" data-parent="#accordion">会员管理</a>
                            </h4>
                        </div>
                        <div id="hui" class="panel-collapse collapse">
                            <div class="panel-body">
                                <ul class="nav">
                                    <li>
                                        <a href="#">衣服管理</a>
                                    </li>
                                    <li>
                                        <a href="#">鞋子管理</a>
                                    </li>
                                    <li>
                                        <a href="#">水果管理</a>
                                    </li>
                                    <li>
                                        <a href="#">蔬菜管理</a>
                                    </li>
                                    <li>
                                        <a href="#">电脑管理</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"> 
                                <a href="#cai"  data-toggle="collapse" data-parent="#accordion">财务管理</a>
                            </h4>
                        </div>
                        <div id="cai" class="panel-collapse collapse">
                            <div class="panel-body">
                                <ul class="nav">
                                    <li>
                                        <a href="#">衣服管理</a>
                                    </li>
                                    <li>
                                        <a href="#">鞋子管理</a>
                                    </li>
                                    <li>
                                        <a href="#">水果管理</a>
                                    </li>
                                    <li>
                                        <a href="#">蔬菜管理</a>
                                    </li>
                                    <li>
                                        <a href="#">电脑管理</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
    
                </div>
            </div>
        </body>
    </html>
  • 相关阅读:
    Git 简易手册
    【Swift】UILabel 设置内边距
    【iOS】屏幕适配之NSLayoutConstraint
    【Swift】TTTAttributedLabel使用小记
    【iOS】Alamofire库在iOS7下设置Head无效的问题
    【iOS】在Swift中使用JSONModel
    【读书笔记】100个Switf必备tips
    【读书笔记】长尾理论
    【读书笔记】结网
    嗯,农民伯伯的2014就是这些
  • 原文地址:https://www.cnblogs.com/dongxixi/p/11062346.html
Copyright © 2020-2023  润新知