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>
  • 相关阅读:
    RabbitMQ在windows环境下的安装、集群配置
    c# c++通信--命名管道通信
    CreateWindow创建无边框 可拉伸窗体
    jetbrains goland 跳到上一个光标处
    centos 7 install virtualbox
    CentOS 7如何将.deb文件转换.rpm
    golang解析json报错:invalid character 'x00' after top-level value
    linux 查看内存信息,及其他硬件信息 dmidecode命令
    kali 源设置sources.list
    ubuntu linux 1604 编译安装tesseract-ocr 4.0
  • 原文地址:https://www.cnblogs.com/stono/p/4851571.html
Copyright © 2011-2022 走看看