bootstrap入门上手
来源:互联网 发布:stc单片机引脚 编辑:程序博客网 时间:2024/06/04 00:24
下面列出了bootstrap的上手案例,其中包含了使用bootstrap的CSS,表格的属性设置
<!DOCTYPE html><html> <head><meta charset="utf-8"> <title>Bootstrap 实例</title> <!-- 包含头部信息用于适应不同设备 --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 包含 bootstrap 样式表 --> <link rel="stylesheet" href="https://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css"> </head> <body> <div class="container"> <h2>表格</h2> <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> <h2>图像</h2> <p>创建相应式图片(将扩展到父元素)。 另外:图片以椭圆型展示:</p> <img src="cinqueterre.jpg" class="img-responsive img-circle" alt="Cinque Terre" width="304" height="236"> <h2>图标</h2> <p>插入图标:</p> <p>云图标: <span class="glyphicon glyphicon-cloud"></span></p> <p>信件图标: <span class="glyphicon glyphicon-envelope"></span></p> <p>搜索图标: <span class="glyphicon glyphicon-search"></span></p> <p>打印图标: <span class="glyphicon glyphicon-print"></span></p> <p>下载图标:<span class="glyphicon glyphicon-download"></span></p> </div> <!-- JavaScript 放置在文档最后面可以使页面加载速度更快 --> <!-- 可选: 包含 jQuery 库 --> <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script> <!-- 可选: 合并了 Bootstrap JavaScript 插件 --> <script src="https://apps.bdimg.com/libs/bootstrap/3.2.0/js/bootstrap.min.js"></script> </body></html>
bootstrap入门就这么简单
0 0
- bootstrap入门上手
- Bootstrap框架-快速上手
- Bootstrap快速上手
- Bootstrap快速上手
- BootStrap快速上手
- Bootstrap框架快速上手攻略
- 一分钟上手bootstrap table
- BootStrap 入门
- Bootstrap入门
- bootstrap入门
- BootStrap入门
- bootstrap入门
- bootstrap入门
- BootStrap入门
- bootstrap 入门
- Bootstrap入门
- Bootstrap入门
- Bootstrap-入门
- Learning——Link
- OC 重点block-------4-------block案例1
- 机器学习笔记(五)模型评估方法
- Jmeter搭建
- mysql主从复制原理和注意事项
- bootstrap入门上手
- java使用DateUtils对日期进行数学运算
- java中多线程中测试某个条件的变化用 if 还是用 while?
- CSDN写博客自动同步代码片问题(博客添加的代码发布后却没有在CODE上查看代码片)
- 多线程实现多客户端通信
- K9K8G08U0B-PIB0 1G用512MBMT29F4G替代驱动修改
- wxWidgets学习笔记之1:“hello,world”
- udp协议基础
- Android 6.0系统音量相关小知识点