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>
  • 相关阅读:
    mysql数据库引擎myisam与innodb
    Java观察者模式的理解
    线程安全的单例模式
    线程相关
    java 线程读写锁
    原子变量AtomicInteger
    接口文档管理,版本管理工具,阿里RAP的windows下部署
    谷歌浏览器报错:跨域问题处理( Access-Control-Allow-Origin)_ 用于本地测试的快捷解决方法
    mysql bin-log日志记录
    阿里RDS中插入emoji 表情插入失败的解决方案
  • 原文地址:https://www.cnblogs.com/stono/p/4851571.html
Copyright © 2011-2022 走看看