Typography

1
1
1
1
1
1
1
1
1
1
1
1
4
4
4
4
8
6
6
12

The default grid system provided in Bootstrap utilizes 12 columns that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically.

As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.


Offsetting columns
4
4 offset 4
3 offset 3
3 offset 3
8 offset 4

h1. Heading 1

h2. Heading 2

h3. Heading 3

h4. Heading 4

h5. Heading 5
h6. Heading 6

Blockquotes

Element Usage Optional
<blockquote> Block-level element for quoting content from another source

Add cite attribute for source URL

Use .pull-left and .pull-right classes for floated options
<small> Optional element for adding a user-facing citation, typically an author with title of work Place the <cite> around the title or name of source

To include a blockquote, wrap <blockquote> around any HTML as the quote. For straight quotes we recommend a <p>.

Include an optional <small> element to cite your source and you'll get an em dash &mdash; before it for styling purposes.

Example blockquotes

Default blockquotes are styled as such:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.

Someone famous in Body of work

To float your blockquote to the right, add class="pull-right":

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.

Someone famous in Body of work

Lists

Unordered

<ul>

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem
Unstyled

<ul class="unstyled">

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem
Ordered

<ol>

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
  6. Faucibus porta lacus fringilla vel
  7. Aenean sit amet erat nunc
  8. Eget porttitor lorem

List with icons

<ul class="unstyled"> + icons

  • Web design
  • Responsive design
  • Cross-everything
  • Styleguide docs
  • jQuery plugins
  • Built for and by nerds
  • 12-column grid
  • Max-width 1200px
  • Growing library
Tag Description
<table> Wrapping element for displaying data in a tabular format
<thead> Container element for table header rows (<tr>) to label table columns
<tbody> Container element for table rows (<tr>) in the body of the table
<tr> Container element for a set of table cells (<td> or <th>) that appears on a single row
<td> Default table cell
<th> Special table cell for column (or row, depending on scope and placement) labels
Must be used within a <thead>
<caption> Description or summary of what the table holds, especially useful for screen readers

Example tables

1. Default table styles

Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the .table class is required.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
2. Striped table

Get a little fancy with your tables by adding zebra-striping—just add the .table-striped class.

Note: Striped tables use the :nth-child CSS selector and is not available in IE7-IE8.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
3. Bordered table

Add borders around the entire table and rounded corners for aesthetic purposes.

# First Name Last Name Username
1 Mark Otto @mdo
Mark Otto @TwBootstrap
2 Jacob Thornton @fat
3 Larry the Bird @twitter
4. Condensed table

Make your tables more compact by adding the .table-condensed class to cut table cell padding in half (from 8px to 4px).

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
5. Combine them all!

Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes.

Full name
# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Button class="" Description
Default btn Standard gray button with gradient
Primary btn btn-primary Provides extra visual weight and identifies the primary action in a set of buttons
Info btn btn-info Used as an alternative to the default styles
Success btn btn-success Indicates a successful or positive action
Warning btn btn-warning Indicates caution should be taken with this action
Danger btn btn-danger Indicates a dangerous or potentially negative action
Inverse btn btn-inverse Alternate dark gray button, not tied to a semantic action or use
  • icon-glass
  • icon-music
  • icon-search
  • icon-envelope
  • icon-heart
  • icon-star
  • icon-star-empty
  • icon-user
  • icon-film
  • icon-th-large
  • icon-th
  • icon-th-list
  • icon-ok
  • icon-remove
  • icon-zoom-in
  • icon-zoom-out
  • icon-off
  • icon-signal
  • icon-cog
  • icon-trash
  • icon-home
  • icon-file
  • icon-time
  • icon-road
  • icon-download-alt
  • icon-download
  • icon-upload
  • icon-inbox
  • icon-play-circle
  • icon-repeat
  • icon-refresh
  • icon-list-alt
  • icon-lock
  • icon-flag
  • icon-headphones
  • icon-volume-off
  • icon-volume-down
  • icon-volume-up
  • icon-qrcode
  • icon-barcode
  • icon-tag
  • icon-tags
  • icon-book
  • icon-bookmark
  • icon-print
  • icon-camera
  • icon-font
  • icon-bold
  • icon-italic
  • icon-text-height
  • icon-text-width
  • icon-align-left
  • icon-align-center
  • icon-align-right
  • icon-align-justify
  • icon-list
  • icon-indent-left
  • icon-indent-right
  • icon-facetime-video
  • icon-picture
  • icon-pencil
  • icon-map-marker
  • icon-adjust
  • icon-tint
  • icon-edit
  • icon-share
  • icon-check
  • icon-move
  • icon-step-backward
  • icon-fast-backward
  • icon-backward
  • icon-play
  • icon-pause
  • icon-stop
  • icon-forward
  • icon-fast-forward
  • icon-step-forward
  • icon-eject
  • icon-chevron-left
  • icon-chevron-right
  • icon-plus-sign
  • icon-minus-sign
  • icon-remove-sign
  • icon-ok-sign
  • icon-question-sign
  • icon-info-sign
  • icon-screenshot
  • icon-remove-circle
  • icon-ok-circle
  • icon-ban-circle
  • icon-arrow-left
  • icon-arrow-right
  • icon-arrow-up
  • icon-arrow-down
  • icon-share-alt
  • icon-resize-full
  • icon-resize-small
  • icon-plus
  • icon-minus
  • icon-asterisk
  • icon-exclamation-sign
  • icon-gift
  • icon-leaf
  • icon-fire
  • icon-eye-open
  • icon-eye-close
  • icon-warning-sign
  • icon-plane
  • icon-calendar
  • icon-random
  • icon-comment
  • icon-magnet
  • icon-chevron-up
  • icon-chevron-down
  • icon-retweet
  • icon-shopping-cart
  • icon-folder-close
  • icon-folder-open
  • icon-resize-vertical
  • icon-resize-horizontal
  • icon-hdd
  • icon-bullhorn
  • icon-bell
  • icon-certificate
  • icon-thumbs-up
  • icon-thumbs-down
  • icon-hand-right
  • icon-hand-left
  • icon-hand-up
  • icon-hand-down
  • icon-circle-arrow-right
  • icon-circle-arrow-left
  • icon-circle-arrow-up
  • icon-circle-arrow-down
  • icon-globe
  • icon-wrench
  • icon-tasks
  • icon-filter
  • icon-briefcase
  • icon-fullscreen

Built as a sprite

Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with background-position. This is the same method we use on Twitter.com and it has worked well for us.

All icons classes are prefixed with .icon- for proper namespacing and scoping, much like our other components. This will help avoid conflicts with other tools.

Glyphicons has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit here in the docs. Please consider doing the same in your projects.

How to use

Bootstrap uses an <i> tag for all icons, but they have no case class—only a shared prefix. To use, place the following code just about anywhere:

There are also styles available for inverted (white) icons, made ready with one extra class:

There are 140 classes to choose from for your icons. Just add an <i> tag with the right classes and you're set. You can find the full list in sprites.less or right here in this document.

Heads up! When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <i> tag for proper spacing.

Use cases

Icons are great, but where would one use them? Here are a few ideas:

  • As visuals for your sidebar navigation
  • For a purely icon-driven navigation
  • For buttons to help convey the meaning of an action
  • With links to share context on a user's destination

Essentially, anywhere you can put an <i> tag, you can put an icon.

Examples

Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.

Error or danger
Oh snap! Change a few things up and try submitting again.
Success
Well done! You successfully read this important alert message.
Information
Heads up! This alert needs your attention, but it's not super important.
Warning
Heads up! This alert needs your attention, but it's not super important.
Labels Markup
Default <span class="label">Default</span>
Success <span class="label label-success">Success</span>
Warning <span class="label label-warning">Warning</span>
Important <span class="label label-important">Important</span>
Info <span class="label label-info">Info</span>
Inverse <span class="label label-inverse">Inverse</span>
About

Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.

Available classes
Name Example Markup
Default 1 <span class="badge">1</span>
Success 2 <span class="badge badge-success">2</span>
Warning 4 <span class="badge badge-warning">4</span>
Important 6 <span class="badge badge-important">6</span>
Info 8 <span class="badge badge-info">8</span>
Inverse 10 <span class="badge badge-inverse">10</span>

Examples and markup

Basic

Default progress bar with a vertical gradient.

Striped

Uses a gradient to create a striped effect (no IE).

Animated

Takes the striped example and animates it (no IE).

Options and browser support

Additional colors

Progress bars use some of the same button and alert classes for consistent styles.

Striped bars

Similar to the solid colors, we have varied striped progress bars.

Behavior

Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

If you use the .active class, your .progress-striped progress bars will animate the stripes left to right.

Browser support

Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.

Opera and IE do not support animations at this time.

About Tooltips

Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use css3 for animations, and data-attributes for local title storage.

Example use of Tooltips

Hover over the links below to see tooltips:

Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.

© Copyright © 2013.Company name All rights reserved. - More Templates
重复推动创新作文素材最美的心作文初中作文周末计划 对话英语作文指路的英语作文带翻译种西瓜的作文200字重复推动创新作文素材中考英语作文30周末计划 对话英语作文助人为乐感觉真好作文中考英语作文时间要求中考英语图表作文范文重复推动创新作文素材主题为盼望的作文500中考英语图表作文范文周末计划 对话英语作文中考穿越作文中考优秀作文读书种西瓜的作文200字种西瓜的作文200字中秋节说明文作文400字中秋节说明文作文450自律的作文800字助人为乐感觉真好作文助人为乐的作文450个字种树与育人的作文足球精神英文作文指路的英语作文带翻译中考父爱满分作文中秋节说明文作文400字柱状图英语作文关键句普天之下,暗黑书魂横行现世,唯有刀笔师,拯救苍生于水火之中。 冥冥自有定数,众多刀笔师中仅有一名年轻的度魂刀笔师。其战力不凡,悟性极高,捕获书魂的技艺超群,冠绝现世,无人匹敌。 众书魂一听“叶枫”之名,无不闻风丧胆,逃之夭夭。 孤儿叶枫秉承栖霞古寺老住持无为大师斩获书魂、拯救现世的旨意,艺成下山,踏上了解救众生之路,一路离奇经历。与结交的好友们患难与共,一步一步完成老住持交给他的任务,而他的身世也渐渐明朗开来......白牧,一个行动受制于轮椅的普通人,每天过着枯燥乏味的生活,直到某一天,平板上出现了一个神秘的游戏。 当他沉迷其中,无法自拔时,才突然发现,游戏的背景竟然是现实…… (灵气复苏,幕后,无敌流)讲述了一个少年穿越异世界当冒险王的故事,成长的旅途中结识了不少的朋友,有开心的冒险,有不迷失方向前进的勇气,为了梦想寻找托贝尔斯特神迹, 李杰加入了密逃团,可以正式出道了。他会发生什么事情呢?【系统+记者+内幕曝光】   不知什么时候,媒体报道只在意噱头和热度,却无人关心真相。   陈牧穿越平行时空,成为一位独立记者。   特立独行的选择站在真相那一边。   网红奶茶店每天排长队。   陈牧报道:“某网红奶茶店为节约成本,长期使用过期牛奶,现已有多位受害者住院,奶茶店生意却每日爆满。”   某流量小生事业蒸蒸日上。   陈牧报道:“当红流量已为三孩爸,却和漂亮粉丝牵连不清。”   某首富花大价钱为小儿子庆祝十八岁生日。   陈牧报道:“惊!首富头顶青青草原,为人养儿十八年!”   网友:“这记者能处,有事他真报啊!” 郑前上一世文史出身,古言过目不忘,口吐古言成为儒释道大师兄。 正气、佛子、气运的集成,苟而不得的苦恼,一边苦恼一边口吐古言引动天地异象,一路高歌突破,成为大势所趋、人心所向、天命所归的存在。 但是他与人为善,低调做人,不愿做出头鸟,只想做一个上层人的边角料。看破风云,风起云涌,修真者被害穿越到武侠世界,众美女如云,长相思伴,看他如何踏破 虚空,称霸武林,独领风骚 。loser张谅一顿酒把自己喝回了千禧年间! 重来一次,看张谅如何把握住机会实现财富自由! 顺便谈几场轰轰烈烈的恋爱! 可是上学真的很痛苦…… 你还是把我送回去吧……末日危机下,人类求生的故事穷了十好几代,你告诉我叶家有个仙尊老祖? 叶不凡不得已,牵着牛儿,开始了一段弑仙屠魔的之旅! 修炼我又快又猛,杀人我又猛又快! 惹到了萧家?大武朝最鼎盛的修真家族? 那得说声抱歉了,因为主角外挂已到货! 纳尼,老祖下线? 不要紧,都不要紧,我和牛儿冲上仙罡杀天尊!
英雄联盟之峡谷大魔王 全职游戏设计师 十方主 大唐小奸商 书剑传奇录 修仙从继承灵兽铺开始 思过崖签到五十年,出关邪剑仙! 元墟行者 天相述 待到缘分重来时 我的酒神女友们 西安新青年 重生之武道法徒 人在末世,打造虫族大军 迷了吧!这是正经守墓? 女帝:世子才是真无敌 玄幻:做反派就要强无敌 宋朝男儿能戴花 太平除妖记 改香传 足球精神英文作文 中考穿越作文 自己学过的艺术 作文 种西瓜的作文200字 最美的心作文初中作文 中考父爱满分作文 自己学过的艺术 作文 最美的心灵字优秀作文 中考父爱满分作文600 主题为盼望的作文500 追逐名利的意义作文 追逐名利的意义作文 助人为乐的作文450个字 中考穿越作文 重复推动创新作文素材 种树与育人的作文 自省自立作文素材 足球精神英文作文 最美的花朵-母亲作文 周末计划 对话英语作文 中考作文有你陪伴真好 周末计划 对话英语作文 最美的花朵-母亲作文 自律的作文800字 中考英语作文时间要求 主题 让 的议论作文 足球精神英文作文 最美的花朵-母亲作文 最美的花朵-母亲作文 中考父爱满分作文600 种西瓜的作文200字 中考作文有你陪伴真好 指路的英语作文带翻译 重复推动创新作文素材 助人为乐的作文450个字 种树与育人的作文 指路的英语作文带翻译 自己学过的艺术 作文 助人为乐的作文450个字 种树与育人作文 种树与育人的作文 最美的心灵字优秀作文 中秋节说明文作文400字 自省自立作文素材 中考英语图表作文范文 中考作文有你陪伴真好 追逐名利的意义作文 种树与育人的作文 主题 让 的议论作文 中考优秀作文读书 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 赛尔号:一生的光 天启皇帝 超元旅者 凭栏闻潇潇 青春无怨季落情 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 自省自立作文素材 中考作文有你陪伴真好 最美的心灵字优秀作文 最美的心灵字优秀作文 中秋节说明文作文400字 正确面对自己作文 中考父爱满分作文600 指路的英语作文带翻译 重复推动创新作文素材 中考英语作文时间要求 中考优秀作文读书 助人为乐的作文450个字 种树与育人作文 柱状图英语作文关键句 中秋节说明文作文400字 追逐名利的意义作文 中考父爱满分作文 中考父爱满分作文600 最美的心灵字优秀作文 中考英语作文时间要求 主题 让 的议论作文 中秋节说明文作文400字 足球精神英文作文 中考父爱满分作文 正确面对自己作文 周末计划 对话英语作文 自律的作文800字 自省自立作文素材 足球精神英文作文 主题为盼望的作文500