Bootstrap常用表单组件
来源:互联网 发布:淘宝网官方版下载安装 编辑:程序博客网 时间:2024/06/05 06:14
1 复选框
<div class="checkbox checkbox-info"> <input id="checkbox4" type="checkbox"> <label for="checkbox4"> xuhaitao </label> </div>
2 文件上传
<div id="file-pretty"> <div class="form-group"> <label class="font-noraml control-label">文件选择(单选)</label> <input type="file" class="form-control"> </div> <div class="form-group"> <label class="font-noraml">文件选择(多选)</label> <input type="file" multiple="multiple" class="form-control"> </div> </div>
3 多选框
<div class="ibox-content"> <h3>下拉选择</h3> <p>这个比较有名气啦,不多说</p> <div class="form-group"> <label>基本示例</label> <div class="input-group"> <select data-placeholder="选择省份..." class="chosen-select" style="width:350px;" tabindex="2"> <option value="">请选择省份</option> <option value="110000" hassubinfo="true">徐海涛</option> <option value="110000" hassubinfo="true">北京</option> <option value="120000" hassubinfo="true">天津</option> <option value="130000" hassubinfo="true">河北省</option> <option value="140000" hassubinfo="true">山西省</option> </select> </div> </div> <div class="form-group"> <label class="font-noraml">多选</label> <div class="input-group"> <select data-placeholder="选择省份" class="chosen-select" multiple style="width:350px;" tabindex="4"> <option value="">请选择省份</option> <option value="110000" hassubinfo="true">北京</option> <option value="120000" hassubinfo="true">天津</option> <option value="130000" hassubinfo="true">河北省</option> </select> </div> </div> </div>
4 表格
<tr> <th class="">偏移(Offsets)</th> <td colspan="4">是</td> </tr> <tr> <th class="">列排序</th> <td colspan="4">是</td> </tr>
5
<tr> <td class="project-status"> <span class="label label-primary">进行中 </td> <td class="project-title"> <a href="project_detail.html">LIKE-一款能够让用户快速获得认同感的兴趣社交应用</a> <br/> <small>创建于 2014.08.15</small> </td> <td class="project-completion"> <small>当前进度: 48%</small> <div class="progress progress-mini"> <div style="width: 48%;" class="progress-bar"></div> </div> </td> <td class="project-people"> <a href="projects.html"><img alt="image" class="img-circle" src="img/a3.jpg"></a> <a href="projects.html"><img alt="image" class="img-circle" src="img/a1.jpg"></a> <a href="projects.html"><img alt="image" class="img-circle" src="img/a2.jpg"></a> <a href="projects.html"><img alt="image" class="img-circle" src="img/a4.jpg"></a> <a href="projects.html"><img alt="image" class="img-circle" src="img/a5.jpg"></a> </td> <td class="project-actions"> <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a> <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a> </td></tr>
补充说明:可以在table标签外面再套一个div标签,并且为这个div标签添加project-list类
6 注意no-padding类的使用
7 添加一条水平线
<div class="hr-line-dashed"></div>
8
<div class="social-comment"> <a href="" class="pull-left"> <img alt="image" src="img/a8.jpg"> </a> <div class="media-body"> <a href="#"> 尤小右 </a> 一张图学会Javascript,via: <br/> <a href="#" class="small"><i class="fa fa-thumbs-up"></i> 11</a> - <small class="text-muted">8月18日</small> </div>
1 0
- Bootstrap常用表单组件
- bootstrap表单的其他组件
- bootstrap表单的其他组件
- yii2 常用组件 -- 表单
- bootstrap学习笔记3:bootstrap常用组件
- form表单以及常用组件
- 【学习笔记】Bootstrap常用组件整理
- bootstrap常用组件之头部导航
- Bootstrap常用的组件学习笔记
- Bootstrap日期和时间表单组件运用兼容ie8
- Bootstrap日期和时间表单组件运用兼容ie8
- Bootstrap日期和时间表单组件datetimepicker的使用
- 日期时间选择器 Bootstrap日期和时间表单组件。
- bootstrap表单
- bootstrap表单
- Bootstrap 表单
- Bootstrap表单
- bootstrap表单
- 【洛谷三月月赛R2】小清新签到题
- 使用Optional来避免空指针
- C++重载运算符
- ubuntu install Java jdk8
- C#对于md5加密的两种方式
- Bootstrap常用表单组件
- unity发布apk如何配置环境
- CentOS和RHEL使用源码包安装git
- SharedPreferences 的使用
- Android Xposed框架 -- 应用篇
- C++第三次作业报告
- 2016 版 Laravel 系列入门教程(一)【最适合中国人的 Laravel 教程】
- #OSG+VS#第七周 关于osgearth中shadowing的理解
- Java实现字符串ID自增