Bootstrap3 排版-缩略语】的更多相关文章

当鼠标悬停在缩写和缩写词上时就会显示完整内容,Bootstrap 实现了对 HTML 的 <abbr> 元素的增强样式.缩略语元素带有 title 属性,外观表现为带有较浅的虚线框,鼠标移至上面时会变成带有"问号"的指针.如想看完整的内容可把鼠标悬停在缩略语上, 但需要包含 title 属性. 基本缩略语 如想看完整的内容可把鼠标悬停在缩略语上, 但需要为 <abbr> 元素设置 title属性. attr <abbr title="attrib…
Bootstrap 将全局 font-size 设置为 14px,line-height 设置为 1.428.这些属性直接赋予 元素和所有段落元素.另外,<p> (段落)元素还被设置了等于 1/2 行高(即 10px)的底部外边距(margin). Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur…
无序列表 排列顺序无关紧要的一列元素. <ul> <li>...</li> </ul> 有序列表 顺序至关重要的一组元素. <ol> <li>...</li> </ol> 无样式列表 移除了默认的 list-style 样式和左侧外边距的一组元素(只针对直接子元素).这是针对直接子元素的,也就是说,你需要对所有嵌套的列表都添加这个类才能具有同样的样式. <ul class="list-unsty…
在你的文档中引用其他来源的内容. 默认样式的引用 将任何 HTML 元素包裹在 <blockquote> 中即可表现为引用样式.对于直接引用,我们建议用 <p> 标签. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. <blockquote> <p>Lorem ipsum dolor sit amet, consectetur adip…
让联系信息以最接近日常使用的格式呈现.在每行结尾添加 可以保留需要的样式. Twitter, Inc. 795 Folsom Ave, Suite 600 San Francisco, CA 94107 P: (123) 456-7890 Full Name first.last@example.com <address> <strong>Twitter, Inc.</strong><br> 795 Folsom Ave, Suite 600<br&g…
通过这几个类可以改变文本的大小写. <p class="text-lowercase">Lowercased text.</p> <p class="text-uppercase">Uppercased text.</p> <p class="text-capitalize">Capitalized text.</p> -–下面有个"顶"字,你懂得O(∩_…
通过文本对齐类,可以简单方便的将文字重新对齐. Left aligned text. Center aligned text. Right aligned text. Justified text. No wrap text. <p class="text-left">Left aligned text.</p> <p class="text-center">Center aligned text.</p> <p…
标记文本 突出显示的文本由于其相关性在另一个上下文中,使用<mark>标记. You can use the mark tag to highlight text. You can use the mark tag to <mark>highlight</mark> text. 被删除的文本 对于被删除的文本使用 <del> 标签. This line of text is meant to be treated as deleted text. <d…
HTML 中的所有标题标签,<h1> 到 <h6> 均可使用.另外,还提供了 .h1 到 .h6 类,为的是给内联(inline)属性的文本赋予标题的样式. h1. Bootstrap heading Semibold 36px h2. Bootstrap heading Semibold 30px h3. Bootstrap heading Semibold 24px h4. Bootstrap heading Semibold 18px h5. Bootstrap headin…
第 2 章 排版样式 在 h1 ~ h6 元素之间,还可以嵌入一个 small 元素作为副标题 <h1>Bootstrap 框架 <small>Bootstrap 小标题</small></h1> 通过 Firebug 查看,我们发现 h1 ~ h3 下 small 元素的大小只占父元素的 65%,那么 通过计算(查看 Firebug 计算后的样式) h1 ~h3 下的 small 为 23.4px.19.5px.15.6px: h4 ~ h6 下 smal…