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
实践中的语文作文400什么的绝招作文初中三年级作文端午节那天山东历届高考作文题目山西2017年高考作文实践中的语文作文400树的作文英文怎么说三年级作文端午节那天上小学的烦恼作文受益匪浅的书作文三年级下-同步作文争吵实践中的语文作文400陕西省2017高考作文题三年级下-同步作文争吵三年级作文端午节那天受益匪浅的书作文三年级下册作文的评语善良的底线 作文善良的底线 作文四川高考作文题目2017四年级作文 的手抄报善良的底线 作文说明文作文水果上海中考英语作文题型山西2017年高考作文生活中的和谐的作文600字山东历届高考作文题目三年级懂得了感恩作文天津高考语文满分作文陕西省2017高考作文题地球少年雷奇穿越海贼世界,意外拜卡普为师,习得霸者铁拳。 看雷奇如何叱咤大海,助路飞称王。一夜飞远发花香,怎他不懂英雄情。我笔下的貂蝉是一个美女加英雄的气概,没有那衬衣的保护,怎能有今天的戏场,狼族吕仙儿的爱情,不是天给的,是一个叫吕仙儿的狼族英雄,她本是楼阁中人,最后情在崖天。这就是一个英雄的时代,三国!。我儿子的故事林楚重生2005,高考结束,青春正浓。 他真没想过要重生。 所以,在这个本该意气风发的年纪,他迷茫了…… 是在学术领域取得傲人成就,还是于花丛之中肆意驰骋? 2005,一个不远,也不近的年代。 这个年代,似乎可以利用先知先觉,挣点小钱? 开个小店,做个游戏,搞个公司…… 蓦然回首,林楚发现,自己早已在沉浮的商海之中,主宰了乾坤!苍茫的仙穹下,一个时代的璀璨,不过是弹指间的烟花绽放。 俯瞰大地,悠悠万载,生生灭灭,他们都在哪里?仙门、皇朝、无上圣地,都不过是仙穹下的一抔黄土。 万载辉煌,一灭成灰。 墟土深处生烬萌,你我争为通天树。 仙穹彼岸到底有什么?猎妖,是生活。 可这个世界,并不是非黑即白,还有很多需要妥协的地方。 少年李杉逃出生天后,进入小城。正逢下岗改制,他一脚踏进这个旋涡。 这是一个变革的时代,一个机遇丛生又步步惊心的时代。 他在阴谋迫害中自保,在明争暗斗中生存。 在达官显贵的权谋中游走,在血与火的锤炼中成长。 在各方势力的角逐中壮大。作为海城警局刚刚入职的萌新,程望打死也想不到,有一天会和鬼打交道。 给鬼做饭,陪鬼逛街,跟着鬼探案,跟着鬼捉鬼…… 等等等等!鬼捉鬼? 哦哦,原来是鬼仙!还是个仙子!! 仔细看看,这鬼仙长得还蛮好看的。 其实,和鬼仙呆在一起,还算不赖。 可是你要回你的苦厄界,我还要混迹在这尘世间,你我二人总是要散场的。 别哭了,我再陪你捉最后一只鬼。 好吗?树林,沼泽,血污,以及被抛弃的人便是这个岛上最常见的东西 拥有一个可以更改规则的系统真的好吗? 起初都晨是相信的,直到他被妖兽摁着打,被盟友背后捅刀子,被绝色的女子给下药后,都晨就再也不信了。   他要用自己的权略与智谋,去抵挡那些诱惑他的美女……,不对。   他要去抵挡的是那些想方设法夺取永辞城的势力!   亲王府、妖皇山、流光城这每一个对于都晨来说的庞然大物,都将消失会在他的记仇名单之上。 “都晨,不要担心,我早就预料到了他们围城的情况,所以我提前派了人去流光城搬救军了,而且即日就到!” “对不起,赵恒。我把他们叫回来了。” “没事,还好我将三千永辞卫埋伏在了城外的密林中,到时咱们只需理应外和,嘿嘿……” “啊这个,阿恒。我几天前把他们调去攻打焰阳城了!” “喂,阿恒你醒醒……”
天门计划 莫名成神 外围高手 神秘黑棺 丧尸危机之都市游侠 签到三年,成为全球特战之父 符镇天下 圣御苍穹 世界游历日记 兄弟,我们走 辉光之界 玄幻:穿成废柴的我,养成了十大女帝 人曰 横推菊花皇朝 我以为开局无敌了 回到世纪初 天之道会发生什么 那位孤高的神王,为您加冕 神鹊 虫与爱丽丝 三年级风景400字作文 赏识作文评价 三年级下册作文的评语 善良的底线 作文 三年级风景400字作文 天津高考 语文作文 山东高考作文题目2017 申论大作文的切入角度 生活中的和谐的作文600字 陕西省2017高考作文题 说明文作文水果 说明文作文水果 上海中考英语作文题型 受益匪浅的书作文 上完公开课的感受作文 山西2017年高考作文 山东高考作文题目2017 生活中的和谐的作文600字 四年级作文 的手抄报 实践中的语文作文400 赏识作文评价 三年级作文端午节那天 什么的绝招作文初中 什么的六一儿童节作文400字 申论大作文的切入角度 上海中考英语作文题型 生活中的和谐的作文600字 什么的绝招作文初中 四年级作文 的手抄报 生活中的和谐的作文600字 善良的底线 作文 赏识作文评价 山东历届高考作文题目 实践中的语文作文400 上海中考英语作文题型 山西2017年高考作文 山东省09年高考作文 山东高考作文题目2017 上海中考英语作文题型 山东省09年高考作文 山西2017年高考作文 申论大作文破题技巧 四川高考作文题目2017 四年级作文 的手抄报图片 什么的六一儿童节作文400字 赏识作文评价 说明文作文水果 山东历届高考作文题目 天津高考语文满分作文 树的作文英文怎么说 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 蜀山仙记 灵戾 全球入梦 富士山喷发后的高武世界 灵气复苏:赏金天赋就是爽! 亚星管理平台 万利官网 欧博官网 亚星官网 AG真人 四年级作文 的手抄报图片 三年级下册作文的评语 上完公开课的感受作文 四年级作文 的手抄报图片 四年级作文 的手抄报 四川高考作文题目2017 四年级作文 的手抄报 申论大作文的切入角度 生活中的和谐的作文600字 申论大作文的切入角度 山西2017年高考作文 申论大作文破题技巧 三年级懂得了感恩作文 树的作文英文怎么说 上海中考英语作文题型 山西2017年高考作文 四川高考作文题目2017 上海中考英语作文题型 受益匪浅的书作文 天津高考语文满分作文 树的作文英文怎么说 三年级风景400字作文 三年级下册作文的评语 山西2017年高考作文 四年级作文 的手抄报图片 山西2017年高考作文 四川高考作文题目2017 善良的底线 作文 上小学的烦恼作文 赏识作文评价