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字高中英语考试作文怎么写小学二年级学写作文了吗四年级作文我做了一件好事国庆收秋作文作文夏天来了400字小学三年文级消防安全作文十篇作文结尾摘抄一篇关于铁和运动关系的英语作文作文夏天来了400字六年级关于老师的作文一篇关于铁和运动关系的英语作文2016年感动中国人的作文四百字十篇作文结尾摘抄五年级第四单元作文第三篇作文 开车门撞到人小学二年级学写作文了吗只是因为那本书 满分作文三年级作文我受表扬了作文 开车门撞到人小学三年文级消防安全作文收集三篇英语作文请以书包的故事为题作文逐梦之路 作文请以书包的故事为题作文收集三篇英语作文只是因为那本书 满分作文六年级关于老师的作文疾病,环境,资源所有的一切在现代都出现了剧变,生存究竟是什么意义,跟着本书一起走下去。当修真者穿越到了现代,因为语言不通闹出了许多笑话。 谁能想到,一个不起眼学生竟然是修真界的最强者? 最强S级异能者?对不起,只需要一剑。 异能者和修真者的碰撞,核武和仙术的对轰…… 因为一个意外,主角凌羽穿越到了火影忍者的世界,但好在命运女神眷顾,并没有抛弃他,让凌羽获得了侠岚卦印! 天下第一书 只为世间善良者所写,大奸大恶者看此书必死 看了就延迟衰老,懂了就长生,全书通读者皆可成仙 如果世间需要圣人时他却不在那么就让我来当,如果世间需要神仙时它却不在那就让我来当。 圣人渡人使其自渡绝不强求。 渡善者使其变强只为除恶, 渡恶者使其自弃绝不姑息。 待我完书之时便是神出恶尽之日。 曾经统治所有大陆的巨龙帝国已经走向没落,在这个巨龙陨落的时代,旧秩序走向崩溃,新的秩序尚未形成,在一片混沌的世界之中正发生着各种各样的故事。王浩,小时候被爸妈抛弃,后遇到好心人收留,在他17岁以前,每天都给人打工,直到遇到落叶,而改变他的一生盘古开天,女娲造人,后羿射日,嫦娥奔月,四大天灵,十大神兽,山海经神话本源,天上天下,唯我独尊万古第一佛,万古第一神佛,太古第一佛,太古第一僧,太古第一神。华夏少林寺大和尚释永心修炼100年,证得罗汉道果。虹化飞升,抵达异界,再度开启新的篇章! 焚身以火,让业火烧熔我;燃烧我心,唱出佛的颂歌。燃烧色身,投进佛的圣火。我不愿意,让五蕴埋葬了我。 焚心以火,烫上佛的深烙。燃烧的心,不让贪嗔痴埋葬了我。燃烧色身,投进佛的圣火在渐渐步入和平的大陆上,阴谋于野心藏于不可见的黑暗中。本来应在棋盘之外的无逝,意外的卷入纷争。少年历经打磨成为锋利的刀,劈开棋盘,走向属于他自己的远方。   为了想要去到的方向,少年肩负着亲人朋友的希冀。   “在没到达尽头之前,我不会停下!” 三年前,玄医门少主叶辰身受重伤,记忆全失,被苏家所救,成为苏家上门女婿,三年后,叶辰恢复记忆,暗暗发誓,谁敢欺负苏家,那就是与他叶辰为敌!
神武帝尊赦九天 死神的名义 精灵:这只卡比兽有亿点大 误入传奇世界 万妖归位 傲世医尊 亿兆富豪 白昼流星 最是寂寞逍遥仙 关于我成为反派这件事 走进修仙之相信科学 绝仙道灵 末日我在海里抓鲨鱼 末世生存 : 新主 魔法师的异界 未来之无尽星穹 幕后:戏耍气运之子 三界之内皆我控 车甫水青的日记 星光滴 我家的台灯作文3oo字 带环境描写心理描写的作文 五年级第四单元作文第三篇 小学二年级学写作文了吗 我家的台灯作文3oo字 小学作文观察中的发现 五年级第四单元作文第三篇 一事一悟作文200 逐梦之路 作文 成都2016中考语文作文 有关被动语态的家庭规则英语作文 有关被动语态的家庭规则英语作文 小学四年级作文《期考总结》 带环境描写心理描写的作文 四年级作文我做了一件好事 小学二年级学写作文了吗 自由沙漠不自由 满分作文 逐梦之路 作文 生活用品的自述作文 作文夏天来了400字 带环境描写心理描写的作文 作文夏天来了400字 生活用品的自述作文 作文 开车门撞到人 十篇作文结尾摘抄 小学四年级作文《期考总结》 我家的台灯作文3oo字 保护世界文化遗产的作文 生活用品的自述作文 逐梦之路 作文 小学二年级学写作文了吗 描写何炅的英语作文 高中英语考试作文怎么写 四年级作文我做了一件好事 收集三篇英语作文 请以书包的故事为题作文 高中英语考试作文怎么写 五年级第四单元作文第三篇 小学四年级作文《期考总结》 2016年感动中国人的作文四百字 请以书包的故事为题作文 一事一悟作文200 七年级上册语文第一单元作文教案 自由沙漠不自由 满分作文 一篇关于铁和运动关系的英语作文 描写何炅的英语作文 有关被动语态的家庭规则英语作文 请以书包的故事为题作文 小学四年级作文《期考总结》 以我的老师为题写一篇200字作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 医婿高手 九域天灾 末世无敌之圣职者不是奶妈 鬼怪游戏 精灵世界的聊天群大师 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 高中英语考试作文怎么写 描写何炅的英语作文 小学三年文级消防安全作文 小学作文观察中的发现 一篇关于铁和运动关系的英语作文 生活用品的自述作文 成都2016中考语文作文 小学四年级作文《期考总结》 有关被动语态的家庭规则英语作文 请以书包的故事为题作文 请以书包的故事为题作文 生活用品的自述作文 生活用品的自述作文 自由沙漠不自由 满分作文 收集三篇英语作文 我家的台灯作文3oo字 高中英语考试作文怎么写 四年级作文我做了一件好事 一事一悟作文200 逐梦之路 作文 作文 开车门撞到人 成都2016中考语文作文 高中英语考试作文怎么写 有关被动语态的家庭规则英语作文 带环境描写心理描写的作文 高中英语考试作文怎么写 小学作文观察中的发现 三年级作文我受表扬了 生活用品的自述作文 五年级第四单元作文第三篇