bootstrap的使用案例
2020-08-06 19:16
1091 查看
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <!--1.引入viewport meta标签 --> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- 2.引入bootstrap.min.css --> <link rel="stylesheet" href="../bootstrap-4.5.0-dist/css/bootstrap.min.css"> <!-- 3.引入 jquery-3.5.0.min.js--> <script src="../jquery-3.5.0/jquery-3.5.0.min.js" ></script> <!-- 4.引入 bootstrap.min.js--> <script src="../bootstrap-4.5.0-dist/js/bootstrap.min.js"></script> <!-- 53设置自定义样式 --> <title>Hello, world!</title> <style> div.container{ height: 100px; background-color: #ccc; } div.row div{ height: 50px; border: 1px solid red; } section{ width: 200px; height: 200px; /* background: linear-gradient( to right, red,blue); */ background: radial-gradient(circle,red,blue); } </style> </head> <body> <div class="container"> <div class="row justify-content-md-center"> <div class="col-ma-3 col-sm-1 col-lg-5"></div> <div class="col-md-6 col-sm-1 col-lg-7"></div> </div> </div> <table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>修改</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> <section>111111</section> </body> </html>
相关文章推荐
- mybatis分页插件使用案例(前端bootstrap)
- 使用BootStrap进行响应式布局案例
- bootstrap中popover.js(弹出框)使用总结+案例
- 第二章 使用Bootstrap的准备-tab标签小案例 笔记3
- 使用Angular 4、Bootstrap 4、TypeScript和ASP.NET Core开发的Apworks框架案例应用
- 使用Angular 4、Bootstrap 4、TypeScript和ASP.NET Core开发的Apworks框架案例应用:Task List
- bootstrap-table表格插件的使用案例
- bootstrap中icheck的使用案例
- bootstrap-paginator使用简单案例
- 20个使用Bootstrap制作的前端框架网站案例
- Bootstrap 字体图标使用案例
- 在Django里使用BootStrap
- 【实用】使用Bootstrap构建表格及表格的分页,刷新等操作
- Android中Json数据解析,Thread+Handler ,SimpleAdapter使用小案例
- 使用HashMap做一个缓存案例【缓存一张图片】
- 安卓案例-使用QuickContactBadge 关联联系人
- Android 使用Gson解析json案例详解
- 基于BootStrap的Metronic框架实现页面链接收藏夹功能按钮移动收藏记录(使用Sortable进行拖动排序)
- init.rc中command案例使用
- 使用bootstrap模板开发,网页打开很慢的解决办法