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
耽美恋爱全彩漫画贴吧项羽黑白漫画耽美小日常漫画赵璞玲同人漫画穿越西元3000千年漫画免费阅读耽美恋爱全彩漫画贴吧山海逆战漫画免费130耽美小日常漫画长篇恶漫画大全日本漫画轰动行尸走肉电视剧与漫画耽美小日常漫画海贼王腾讯漫画882少女邪恶漫画无套直入】什么什么水漫画全集日本漫画轰动神武将星录漫画内容春物漫画结局春物漫画结局斗罗大陆耽美漫画贴吧超目然大英雄漫画春物漫画结局长篇恶漫画大全西装大叔漫画穿越西元3000千年漫画免费阅读部队同志漫画大地漫画公司西装大叔漫画斗罗大陆耽美漫画贴吧海贼王腾讯漫画882十年孕养血脉,成为他人祭品,少年古昊觉醒不死吞天诀,逆天崛起! 吞噬无尽星辰,脚踏万族臣服! 枪碎苍穹,龙破乾坤!他是古文系研究生,刚毕业,就去大都市打拼,没想到半路遇扒手,没了钱包手机,靠乞丐的救济过日子,可没想到的是,因为奇遇,与妖魔邪祟打交道,渐渐声名远播,因为相貌以及性格,得到许多个富家女的青睐,也结下了不少的梁子。演绎人生百态,都市人情冷暖,以及爱恨情仇!怀念迷茫的青春,憧憬精彩的未来。当叶安的每一步走的坚定且有方向时,才发现这一切都应该感谢当初不成熟的自己。当天空如同打碎的镜面片片碎裂,太阳消失,漫天空布满了磷火;那是黑灼再一次临近大地!神佛早已不在;唯有握紧手中的晶核,开启一次又一次的进化;至于那些善良还是早些喂狗吃了吧,不然荒郊野外的尸堆中迟早会有你的一席之地。石开穿越异世,却蹉跎一生。 行将就木之际,竟又重生一世!重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”生活故事天天都在发生,那个没有一点故事。不同人经历所铸造的不一定是一模一样的方式。通过不同阶段的体会,有着不同的理解。回望过去发生的一切都是那么的自然,看看未来都是一遍的迷雾。只有拨开迷雾才能看到后面的道路。李乘风悲催的被破了九世纯阳,誓要重回仙界,找到她弄个清楚明白,拥有万年感悟、帝尊心境,实力飞升如梭,李乘风不是天才,他只杀所谓的天才!颓废的陆回穿越到20年前的初中,重拾激情。在他奋斗的过程中,历史也悄然改变。陆回不仅成就了一番事业,也获得了众多芳心。【恭喜!】 【作家4462377565号成功完本】 【得到认可“神作”】 【获得作家经验10万点】 【正在抽取作品中的技能】 …… 【警告!】 【作家996331415号作品涉及违规内容】 【正在执行抹杀】 …… 【恭喜!】 【作家000005743号累计收到价值打赏币100万的礼物】 【获得作家经验1万点】 【由于此作品无特殊技能】 【正在获取其余同时期作家低一级的作品信息】 【正在抽取技能】 …… 【警告!】 【重生者004370227号抄袭后世作家作品】 【正在执行抹杀】 …… 【恭喜!】 【作家0000094941号每日更新15000字】 【获得称号“全勤(大师)”】 【获得“万界宝箱(黄金)”一个】 …… 这是一个读者为神的世界,作家是这个世界上令人敬仰的修炼者,而其余只能作为游客阅读小说的人,要么是懦弱的蝼蚁,要么是正处于保护期的未成年人。 刚穿越到这个世界的李子梦本以为可以大展才华,却发现穿越者不可抄袭原世界作品。
剑仙神玄 追令录 我是个读书人 天运符箓 逆者为皇 破军至尊 死寂四方山 铠甲勇士:我只想活下去! 我在都市直播练武,弟子三千万 重生之闯山海 天下藏局 剑封域 异常录 帝国崛起:开局建设封地,打造钢铁皇朝! 杀机汹涌 我出生带有魔道圣体 异域守护神 开局获得吐槽系统 天庭的世家代言人 这是一个满是大神的世界 无毒汉漫画 赤之心漫画 神武将星录漫画内容 穿越西元3000千年漫画免费阅读 无毒汉漫画 擦地漫画 神武将星录漫画内容 娘王漫画下载 部队同志漫画 海盗王漫画882 长篇恶漫画大全 插我快点用力漫画 喜欢男孩子是我的错吗漫画 赤之心漫画 耽美恋爱全彩漫画贴吧 穿越西元3000千年漫画免费阅读 偷星九月天漫画所有番外篇 部队同志漫画 超致郁的漫画 耽美小日常漫画 赤之心漫画 什么什么水漫画全集 项羽黑白漫画 少女邪恶漫画无套直入】 日本漫画轰动 喜欢男孩子是我的错吗漫画 部队同志漫画 项羽黑白漫画 超致郁的漫画 部队同志漫画 穿越西元3000千年漫画免费阅读 行尸走肉电视剧与漫画 赵璞玲同人漫画 耽美恋爱全彩漫画贴吧 西装大叔漫画 穿越西元3000千年漫画免费阅读 赵璞玲同人漫画 神武将星录漫画内容 喜欢男孩子是我的错吗漫画 什么什么水漫画全集 大地漫画公司 海盗王漫画882 姐弟恋的邪恶漫画图片 偷星九月天漫画所有番外篇 少女邪恶漫画无套直入】 赤之心漫画 插我快点用力漫画 大地漫画公司 喜欢男孩子是我的错吗漫画 山海逆战漫画免费130 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 神无之界 御灵师:天缺之人的逆袭 崩坏的诸天 末世降临:打工人崛起! 一柄竹剑征服世界 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 超致郁的漫画 超致郁的漫画 神武将星录漫画内容 神武将星录漫画内容 海盗王漫画882 海贼王腾讯漫画882 赤之心漫画 长篇恶漫画大全 擦地漫画 穿越西元3000千年漫画免费阅读 娘王漫画下载 耽美小日常漫画 少女邪恶漫画无套直入】 斗罗大陆耽美漫画贴吧 海贼王腾讯漫画882 大地漫画公司 超目然大英雄漫画 超目然大英雄漫画 少女邪恶漫画无套直入】 少女邪恶漫画无套直入】 赵璞玲同人漫画 海盗王漫画882 赤之心漫画 长篇恶漫画大全 神武将星录漫画内容 穿越西元3000千年漫画免费阅读 日本漫画轰动 项羽黑白漫画 少女邪恶漫画无套直入】 长篇恶漫画大全