zoukankan      html  css  js  c++  java
  • Bootstrap table

    Bootstrap table:

    <!DOCTYPE html>
    <html>
    
    <head>
        <title></title>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="dist/css/bootstrap.css">
    </head>
    
    <body>
        <p class="btn-primary">.table, .table-striped, .table-hover, .table-condensed, .table-bordered, .table-responsive </p>
        <table class="table">
            <tbody>
                <thead>
                    <th>this is just table class</th>
                </thead>
                <tr>
                    <td>this is row1, col1</td>
                </tr>
                <tr>
                    <td>row2, col1</td>
                </tr>
                <tr>
                    <td>row3, col1</td>
                </tr>
            </tbody>
        </table>
        <table class="table table-striped">
            <tbody>
                <thead>
                    <th>this is table and table-striped class</th>
                </thead>
                <tr>
                    <td>this is row1, col1</td>
                </tr>
                <tr>
                    <td>row2, col1</td>
                </tr>
                <tr>
                    <td>row3, col1</td>
                </tr>
            </tbody>
        </table>
        <table class="table table-bordered">
            <tbody>
                <thead>
                    <th>this is table table-bordered class</th>
                </thead>
                <tr>
                    <td>this is row1, col1</td>
                </tr>
                <tr>
                    <td>row2, col1</td>
                </tr>
                <tr>
                    <td>row3, col1</td>
                </tr>
            </tbody>
        </table>
        <table class="table table-condensed">
            <tbody>
                <thead>
                    <th>this is table table-condensed class</th>
                </thead>
                <tr>
                    <td>this is row1, col1</td>
                </tr>
                <tr>
                    <td>row2, col1</td>
                </tr>
                <tr>
                    <td>row3, col1</td>
                </tr>
            </tbody>
        </table>
        <table class="table table-hover">
            <tbody>
                <thead>
                    <th>this is table table-hover class</th>
                </thead>
                <tr>
                    <td>this is row1, col1</td>
                </tr>
                <tr>
                    <td>row2, col1</td>
                </tr>
                <tr>
                    <td>row3, col1</td>
                </tr>
            </tbody>
        </table>
        <div class="table-responsive">
    
            <table class="table">
                <tbody>
                    <thead>
                        <th>this is table-responsive class</th>
                    </thead>
                    <tr>
                        <td>this is row1, col1, and this is a long long long long long long long long long long row</td>
                    </tr>
                    <tr>
                        <td>row2, col1</td>
                    </tr>
                    <tr>
                        <td>row3, col1</td>
                    </tr>
                </tbody>
            </table>
        </div>
    
    
        <script type="text/javascript" src="dist/jQuery/jquery-1.11.3.js"></script>
        <script type="text/javascript" src="dist/js/bootstrap.js"></script>
    </body>
    
    </html>
  • 相关阅读:
    day_01 python基础 基本数据类型 if条件
    计算多边形周长和面积
    我研究出来的属性查询,贴自己的代码,请大家指教
    配置sde
    如何编辑SDE数据库(转载)
    ArcSED连接方式
    不同窗体传递数据
    sde stuff
    ArcSED
    不显示查询问题的解决(太完美了,新建一个图层,表示查询结果)
  • 原文地址:https://www.cnblogs.com/stono/p/4851571.html
Copyright © 2011-2022 走看看