Bootstrap 排版 文本
小一点浅一点(设置文本为父文本大小的 85%)<small> .small
大一点粗一点 行高高一点 .lead
粗 <strong>
斜体 <em>
添加背景色 <mark>
中间横杠 <del>
下滑线 <u>
文本位置:text-left text-right text-center
元素位置浮动:.pull-left .pull-right 导航条用.navbar-left .navbar-right
清除浮动:clearfix
元素块居中:.center-block
强制显示或隐藏:.show .hidden
关闭按钮:.close
下拉三角图标:caret
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Menu <span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">一个链接</a></li>
<li><a href="#">另一个链接 link</a></li>
<li><a href="#">其他功能</a></li>
</ul>
</div>
文本颜色:.text-muted .text-primary .text-success .text-warning .text-danger .text-info <a>标签也可以用
元素背景颜色:.bg-primary .bg-success .bg-info .bg-warning .bg-danger
换行:text-justify
不换行:text-nowrap
字母大小写:text-lowercase text-uppercase text-capitalize
解释缩略词:<abbr title="解释W">W</abbr>
地址:<address >
<a href="mailto:#">1554112092@qq.com</a>
</address>
引用:<blockquote>
设定引用右对齐 .blockquote-reverse
列表:ul : list-unstyled list-inline
ol:
描述 <dl class="dl-horizontal">
<dt></dt>
<dd></dd>
</dl>
最新文章
- How to apply Local Group Policy settings silently using the ImportRegPol.exe and Apply_LGPO_Delta.exe utilities.
- 好网站:字体转换器在线转换 http://www.diyiziti.com/
- poj1329Circle Through Three Points(三角形外接圆)
- DataTables给表格绑定事件
- 转载--DEV GridControl 的一些基本操作
- Java Web整合开发(16) -- Struts 2.x 概述
- LinQ 创建连接、简单增删改查
- EntityFramework 6.x多个上下文迁移实现分布式事务
- ScrollView嵌套ListView后,进入页面不从顶部开始显示的问题解决
- Linux Mysql数据库安全配置
- docker 构建 https 私有仓库 Registry
- Linux--Introduction and Basic commands(Part one)
- java相对路径、绝对路径及类路径
- C#部分试题实例
- 《Linux内核分析》课程第七周学习总结
- AppState使用
- Thread in depth 4:Synchronous primitives
- 洛谷P2812校园网络
- elastic-job动态添加定时任务
- 二、socket编写简单BIO的HTTP服务器