bootstrap3-表格

发布时间:2020-10-17 22:41:00 作者:素颜猪
来源:网络 阅读:321

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width,initial-scale=1">

<title>bootstrap3</title>

<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  

</head>

<body>

<div class="container">

<h3>表格</h3>

      <p>创建响应式表格 (将在小于768px的小型设备下水平滚动)。另外:添加交替单元格的背景色:</p> 

      <div class="table-responsive">

      <table class="table table-striped table-bordered">

      <thead>

          <tr>

            <th>#</th>

            <th>Name</th>

            <th>Street</th>

          </tr>

        </thead>


        <tbody>

          <tr>

            <td>1</td>

            <td>Anna Awesome</td>

            <td>Broome Street</td>

          </tr>

          <tr>

            <td>2</td>

            <td>Debbie Dallas</td>

            <td>Houston Street</td>

          </tr>

          <tr>

            <td>3</td>

            <td>John Doe</td>

            <td>Madison Street</td>

          </tr>

        </tbody>

      </table>

      </div>

</div>

    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>

  <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</body>

</html>

bootstrap3-表格

推荐阅读:
  1. html 表格
  2. HTML表格

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

bootstrap -表格 strap

上一篇:JS传参及动态修改页面布局

下一篇:python的time模块和datetime模块实例解析

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》