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
【作文猜想十七】信任桥梁架起熟人陌生人鸿沟07年江苏高考作文题目.读书的满分作文……是一首歌九年级作文04年作文题“走进小说天地作文"指导《开关》作文600字.读书的满分作文“虎妞”也有善良的一面作文50011规则 英语作文《危急时刻》400字作文【作文猜想十七】信任桥梁架起熟人陌生人鸿沟【干货】2015.12四级作文预测5篇07年高考作文题目分析.读书的满分作文11规则 英语作文《我家乡的环境》作文350字《中考作文选》《中考作文选》【想起你我就 】优秀作文……也是一种享受初中作文《中考作文选》“虎妞”也有善良的一面作文500…来了作文题目04年作文题“奖品”话题作文……是一首歌九年级作文…的三人世界作文08届高考作文【干货】2015.12四级作文预测5篇天地异变,劫难难逃,为了解决劫难,秦昊与其他十大强者联手将劫难击退,每神圣历七七九年,劫难形成,人类为了不让自己的家园受到侵犯,全意抵御侵略者。 伟大的元素之神,请让我再次庇护人类,元素之花。 静谧,喧哗声响起,呼唤,既熟悉又陌生的...... 他们,在歌颂着同一个名字,也曾亲眼目睹过那样的意志。 黑暗即将吞噬晨曦,可黎明又在撕破夜空。 又一场充满欲望的屠杀,又一次以名义的奴役! 赫赫有名的“白金”成就满级玩家,在删除账号却误入了新的时间,本以为是系统BUG,没想到却在这里开启了新的人生原本是个外卖小哥的李林从“地球”穿越到了一个叫做“蓝星”的世界里,这里跟原本的世界大同小异,穿越后的他也依然是一个普通的外卖小哥,就在他感叹自己穿越后的生活也要跟往常一样平静时,在他送完外卖准备回去休息的路上,突然被人追杀...... 【无系统,非爽文】绝世狂龙重出牢笼,横行四海。 翻手为云覆手为雨,万千枭雄沉浮脚下,都市人杰退避三舍,敌国精锐消声灭迹,各方势力偃旗息鼓。 娶女战神为妻,灭敌手于江湖,驰骋官商两界,山高人为峰,世间我为王。【模拟人生+三国故事+兄弟情义+人情世故+地盘争霸+轻松爽文,你想看的我这儿都有!】 重生三国成为刘封,获得模拟系统,内有义父刘备处心积虑要找借口弄死他给亲儿子刘禅腾地方,外有曹魏东吴等敌对势力虎视眈眈,且看刘封如何通过一次次模拟失败人生吸取经验,然后在现实中逆风翻盘,成为再兴大汉的英武帝王……都说商场如战场,可是有多少人知道期货市场是战场上刺刀见红的前沿阵地? 人生就像k线图,有阴线,也有阳线。 是怎样的人生经历,让男主角发出了“向左看,一目了然;向右看,一片茫然!”的感慨? 请走进这部小说,走进书中人物的内心世界,一窥主人公在漫山遍野芬芳中的情感历程,回望期货市场波诡云谲的变化,体会一飞冲天的快乐,也品尝泥沙俱下的痛楚。 本故事人物﹑情节均为虚构,若有雷同,纯属巧合。时空错乱,整个蓝星穿越到一个高玄世界之中。 初来乍到,对于陌生环境完全不熟悉,以至于蓝星被打了个猝不及防。 星球文明毁于一旦,土地被霸占,人民被奴役。 主角横空出世,开启万物进度系统! “灵草要一株一株种?” 不好意思!看我一键种植! “灵果还要百年才能成熟?” 不好意思!我一键加速! “大阵还要数年才能布成?” 搞笑!我一键拉满进度! 掌控进度的我吊打一切!开局穿越,继承一家濒临倒闭动物园,一只动物都没有,仅有的鹦鹉还是穿越来的。 怎么办? 激活“神级动物园系统”。 本以为从此走上人生巅峰。 奈何,系统出品,必属精品,园里动物全是秀? 附赠“大明星系统”的金刚鹦鹉,唱歌算什么?请叫我午夜情感大师! 选择“严于自律系统”的大熊猫,别拉我,我还能干三百斤竹子,锻炼是不可能锻炼的,这辈子也不可能锻炼的! 觉醒“除恶为民系统”二哈,投降?谁让你们投降了?老子还没拆呢…… 立志于当社会大哥的平头哥,想当健美教练的袋鼠,消防兵的大象,要上战场的霸王龙,面对一个个“蒂花之秀”的动物,身为园长的苏白表示,我太难了…… 【日常休闲文,有温馨,有搞笑,看了不吃亏,看了不上当!】诡异不明的感染,来历不明身怀多项意想不到技能的教师想在这末世中带着他的学生们活下去。陈先生请问末世的背后到底是什么在推动跟你有关系吗?你是怎么带着你的学生们活下去的?责任越大能力越大吗?做这么多得罪人的事不会怕吗?陈翡抠了抠鼻孔说:“你谁啊你?我只想保护我自己和那帮兔崽子们努力活下去,仅此而已。”
从天王开始的练习生 天上掉下个颜小咩 跨界神石 震惊!我的武魂是个人 那年杜鹃开正艳 深空之灾 愛意者 都市小东邪 青衫磊落长歌行 系统大战老爷爷 九 影 待到缘分重来时 穿越当主角吗 君临地球玩逆袭 傲娇:我契约一只半圣龙 都市帝仙 宝塔九层 王之路! 重生:神级御兽师 都市:我算命超准 140的作文 ……的日子里600字八年级作文 《我家乡的环境》作文350字 《中考作文选》 140的作文 《拥有快乐》作文700字 《因为有了我》作文200 08年广东高考作文题目 “奖品”话题作文 【干货】2015.12四级作文预测5篇 “虎妞”也有善良的一面作文500 《雾》200 字作文 …来了作文题目 11规则 英语作文 “走进小说天地作文"指导 04年作文题 《因为有了我》作文200 “奖品”话题作文 ……也是一种享受初中作文 【作文猜想十七】信任桥梁架起熟人陌生人鸿沟 ……的日子里600字八年级作文 .读书的满分作文 07年江苏高考作文题目 07年高考作文题目分析 11规则 英语作文 …来了作文题目 “奖品”话题作文 07年江苏高考作文题目 ……也是一种享受初中作文 “奖品”话题作文 04年作文题 ……的日子里600字八年级作文 《那棵树》作文 【作文猜想十七】信任桥梁架起熟人陌生人鸿沟 …的三人世界作文 04年作文题 《那棵树》作文 《因为有了我》作文200 …来了作文题目 《那棵树》作文 04年作文题 《和你相遇在初中》 作文 【想起你我就 】优秀作文 《雾》200 字作文 07年高考作文题目分析 ……的日子里600字八年级作文 “虎妞”也有善良的一面作文500 ……是一首歌九年级作文 08届高考作文 《开关》作文600字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我是钟馗代言人 我靠出其不意横推里世界 第九行动小组 十方主 光冥天星 万利官网 皇冠登3出租 百家乐官网 万利官网 欧博官网 《拥有快乐》作文700字 “走进小说天地作文"指导 11规则 英语作文 《我家乡的环境》作文350字 08届高考作文 《和你相遇在初中》 作文 《那棵树》作文 《雾》200 字作文 ……的日子里600字八年级作文 《拥有快乐》作文700字 《拥有快乐》作文700字 《和你相遇在初中》 作文 《和你相遇在初中》 作文 《危急时刻》400字作文 《因为有了我》作文200 【空中观景】小学作文 “奖品”话题作文 ……也是一种享受初中作文 .读书的满分作文 《开关》作文600字 …来了作文题目 ……是一首歌九年级作文 “奖品”话题作文 ……的日子里600字八年级作文 “走进小说天地作文"指导 “奖品”话题作文 《我家乡的环境》作文350字 08年广东高考作文题目 《和你相遇在初中》 作文 07年高考作文题目分析