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字回忆里的故事作文湖北专升本英语作文洪水的作文英语花作文共50字弘扬中华美德作文400字护蛋之旅作文500字环境污染作文汽车200字回忆家乡作文1000字弘扬中华美德作文400字湖南清明节的作文600字回忆家乡作文1000字华山在高中作文环境污染作文汽车200字弘扬中华美德材料作文湖南家乡的美食作文湖南家乡的美食作文话题作文分析活在当下高一800字作文湖南家乡的美食作文护蛋之旅作文500字湖南清明风俗作文绘本作文大卫上学去话题作文不可怕绘本作文大卫上学去湖南清明风俗作文话题作文分析湖南清明节的作文600字一路坎坷不平的柳白,经历生死后,在远古遗迹中得到幽冥鬼火,炼化幽冥鬼火后得到蜕变。 柳白经历诸天万古后,最终以鸿蒙之气,洪荒之力,凝聚天界于太空,从此守护太空亿万星辰宇宙……………… 当人类赖以生存的太阳开始抽风,带给人类的,是生存,还是毁灭? 当夏明看见眼前虚幻的面板上显示出的星星国旗,他明白,这一次,世界注定不同!一个巧合,一段经历。野微微因为一次意外被卷进了一个匪夷所思的世界。本是一个刚上高中的女孩确拥有了一种神奇的能力。对不起啊,萧儿,没想到这最后的最后,我依然还是没能找到那个我想要的答案呢!或许人都会在生命即将迎来终结的那一刻彻底醒悟,但我想,可能那时已经有些晚了吧! 我们之所以会觉得悬崖边上的花很美,并不是它本身有多么耀眼,是因为我们总会在悬崖边枉然止步,而花朵则会向着空中迈出属于他那成功的第一步。 到这里,我的故事,也终于是····结束了!虽说这结局好像看起来的确····很难····让人接受呢! 这是父亲当年临走时留下来的话,的确很难让人理解,不过······ 身边的种种怪事在一夜间接踵而至,这一切假象的背后到底又掩盖着一个怎样的真相,各种谜团接连不断的笼罩而来,这幕后的操刀者究竟又是人是鬼,故事还在继续———我!又怎能后退!末法时代的到来,来自深空的界碑,不详降临的九州,神秘失踪的天神。夜幕笼罩的乱世,败犬修士于一片破败中崛起。我叫王凡。 我二十岁收到父亲的生日礼物。 意外得到祭天戒。 本以为自己会成为祖国人的存在。 却发现身边到处都是修真者。  “奉天承运,皇帝诏曰!北渊王苏长歌私通贼党,意欲谋反,其罪当诛!即日起废除北渊王身份,打入北云宫面壁思过,终生不得离开!钦此——”   苏长歌穿越而来,成为因帝王猜忌而打入冷宫的废王爷,幸好绑定了【绝世剑仙系统】,拔剑就变强!   拔剑1次,奖励【神级剑心】【神级剑胎】【神级剑道】!   拔剑1000次,奖励【神级灵剑】【神级剑诀】!   累计拔剑一年,触发特殊奖励【天人合一境】!   不仅如此,系统告知三百年后灵气复苏,低武世界将一夜转为修仙盛世!   三百年后,世间沧海桑田,无数天之骄子大放异彩。   苏长歌怀着激动忐忑的心情走出冷宫,却发现世人眼中的神在他面前如蝼蚁一般弱小!   那一日,苏长歌身周万剑环绕,剑气席卷百万里,一剑破开天门,剑指天上仙。   “天上剑仙三千万,见我也需尽低眉!” 天启年间,大明内忧外患,后金虎视眈眈,天下即将陷入纷争。   天启帝朱由校,朱由检,努尔哈赤,皇太极,多尔衮,褚英,代善,魏忠贤,卢象升,杨世昌,熊廷弼,洪承畴,李自成,袁崇焕,张献忠,吴三桂,范景华,徐光启,金圣叹,宋应星……   奸臣与忠臣的对抗,枭雄与英雄的较量,后金南袭,堂堂大明岌岌可危,国破山河在,城春草木深,偌大华夏黎民哭悲,无数豪杰四起。    然而此时。   扬州城里,危机四伏。   一个暗地权财滔天,蛰伏于此,身怀家族之仇却不引人注意的悠闲赘婿胡天洲,正过着看似逍遥自在的生活,每日和小孩过家家,没事逗逗美丽的妻子……   《生化危机》:楚枫一身雇佣兵装束,身处激光通道,一阵冷汗涔涔。 《陆小凤传奇》“急,在线等!我变成了西门吹雪,马上就要决战紫禁之巅了,怎么办?” 《风云》雄霸:楚枫这个家伙又来了,我当时害怕极了! 楚枫穿越到蓝海星,意外发现这个世界的轮回副本空间,都是他前世看过的电影动漫作品。 全世界只有他知道剧情,且他还比别人多了个选项——随机成为剧情人物!一条由个人博客发出的离婚吐槽,轰动世界。 开局被丈母娘嫌弃,被逼退婚..... 没想到,女婿竟是消失多年的昆仑战神。
重生之笔神 大宁第一衙内 正仁 猎魔夜人 魔域江南 神级纨绔在都市 无限世界:请君入梦 震惊!我发弹幕吓退了百万凶灵! 末日道士行 我的,灵判大人 尘封游 玄幻:四域神尊 斗龙战士之熠诺的故事 仙人跪求收人妖为徒 苦海无人间 你不能死 我一人挑翻万族 四等人的逆袭 鸿威 月寒宫传 画画的作文800高中 环境保护作文一年级 弘扬中华美德材料作文 湖北专升本英语作文 画画的作文800高中 黄河边的风景作文500字 弘扬中华美德材料作文 衡水英语作文用多大笔 话题作文不可怕 湖南的清明节作文 环保建议书作文图片 环保建议书作文图片 狐假虎威续写故事作文 环境保护作文一年级 洪水的作文英语 湖北专升本英语作文 湖泊的英语作文翻译 话题作文不可怕 红色作文100字 弘扬中华美德作文400字 环境保护作文一年级 华山在高中作文 获奖发言稿五百字作文 回忆家乡作文1000字 环境污染作文汽车200字 狐假虎威续写故事作文 话题作文不可怕 获奖发言稿五百字作文 红色作文100字 话题作文不可怕 湖北专升本英语作文 洪水灾害英语作文 回忆里的故事作文 洪水的作文英语 湖南清明风俗作文 湖北专升本英语作文 回忆里的故事作文 弘扬中华美德材料作文 狐假虎威续写故事作文 华山在高中作文 绘本作文大卫上学去 湖南的清明节作文 绘画家作文300字 湖泊的英语作文翻译 回忆家乡作文1000字 洪水灾害英语作文 环保建议书作文图片 绘本作文大卫上学去 狐假虎威续写故事作文 花作文共50字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 大夏执剑人 御灵逆天之旅 零渡空间 转生后变成自动贩卖机 天道路遥 欧博官网 亚星官网 万利游戏官网 亚星管理平台 澳门葡京游戏官网 绘本作文大卫上学去 湖南清明风俗作文 湖南的清明节作文 衡水英语作文用多大笔 话题作文分析 绘画家作文300字 话题作文不可怕 绘本作文大卫上学去 洪水的作文英语 环境污染作文汽车200字 花作文共50字 湖南清明风俗作文 华山在高中作文 回家的路上 初中作文 话题作文分析 环保建议书作文图片 湖南清明风俗作文 黄河边的风景作文500字 衡水英语作文用多大笔 衡水英语作文用多大笔 狐假虎威续写故事作文 话题作文分析 话题作文不可怕 黄河边的风景作文500字 绘画家作文300字 弘扬中华美德作文400字 湖南家乡的美食作文 湖泊的英语作文翻译 画画的作文800高中 湖南清明节的作文600字