html + Bootstrap
来源:互联网 发布:万网域名可以不备案吗 编辑:程序博客网 时间:2024/05/30 19:33
转载请标明http://blog.csdn.net/kylinhao/article/details/46813737
一直想随便写写,但是太懒,想到哪就写到哪吧
详情参考
1. w3c bootstrap教程 http://www.runoob.com/bootstrap/bootstrap-tutorial.html
2. 官网教程 http://v3.bootcss.com/components/
首先Boostrap设置了很多的格式可以让元素的style看起来更漂亮,但是Boostrap的很多样式并没有做成一个合适的文档,所以有时候找的比较麻烦。
下面找一些常用的元素使用bootstrap
1. input text
<label>新密码:</label><input type="password" name="pwd" class="form-control">
这样写了后会发现它们不再一行
这是因为form-control 对input的控制是width:100%;display: block;
让他们在一行显示只需要设置下width和display即可,举个例子
.form-control { width: 300px; display: inline-block; margin: 5px 5px 5px 20px;}
2.table
基本使用
<table class="table table-bordered table-hover" ></table>
3.panel
这个看起来还可以
<div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">title</h3> </div> <div class="panel-body"> body </div> </div>
4.fieldset
<fieldset> <legend>title</legend> <div> body </div></fieldset>
0 0
- html + Bootstrap
- bootstrap html编码规范
- bootstrap基本html 模板
- html-demo: JQuery&Bootstrap
- Bootstrap HTML编码规范
- Bootstrap 按钮http://www.runoob.com/bootstrap/bootstrap-buttons.html
- HTML编码规范,借鉴bootstrap
- springmvc+mybatis+html bootstrap CMS
- bootstrap的html编码规范
- Bootstrap HTML 5 文档类型
- Bootstrap 可视化HTML编辑器,summernote
- html中如何使用bootstrap
- bootstrap轮播HTML代码
- Bootstrap html后台模板总结
- Bootstrap研究3-基础html元素
- layoutit+Bootstrap html页面布局+CSS
- springmvc+mybatis+Rest + html bootstrap 框架整合
- HTML/CSS(一)Bootstrap btn
- nodogsplash 调试工具 ndsctl
- 忘记SAP系统Client 000的所有账号密码
- Tomcat,Weblogic,WebSphere,JBoss。
- C++模板元编程
- 【爬虫】Python的Requests模块
- html + Bootstrap
- Linux学习之CentOS(二十七)--Linux磁盘管理:LVM逻辑卷的拉伸及缩减
- 关于vs2013与office系列软件一起安装出现bug的情况描述以及解决办法——打开vs2013鼠标不动/动不了
- jQuery的is()函数的用法
- 获取手机型号来源
- ABAP程序 加锁/解锁
- Xamarin.Android之定位
- eclipse不能自动编译,不报错
- CnPack Pascal 代码格式化工具测试版