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
二宝宝刚戒奶时该如何保护乳房一周岁宝宝吃米饭好吗宝宝十个月竟查出脑瘫宝宝手背脚背淤青地瓜粥宝宝吃了缓解便秘吗二宝宝刚戒奶时该如何保护乳房宝宝走路久会不会弯宝宝十个月竟查出脑瘫今天做彩超医生说宝宝骨骼有点短宝宝带水晶好吗宝宝发烧白细胞低是怎么回事二宝宝刚戒奶时该如何保护乳房宝宝消化不好可以吃水果吗宝宝发烧白细胞低是怎么回事宝宝十个月竟查出脑瘫宝宝带水晶好吗宝宝吃了奶粉呕吐怎么办三周宝宝大便一天几次正常三周宝宝大便一天几次正常1岁宝宝胃炎宝宝头发不均匀崔玉涛宝宝大便硬喝什么汤好属龙宝宝拜属兔的干爹宝宝上火能吃排骨粥吗地瓜粥宝宝吃了缓解便秘吗2016农历几月猴宝宝好宝宝手背脚背淤青宝宝消化能力差怎么办宝宝大便豆瓣 有泡宝宝消化不好可以吃水果吗传言心门每名弟子都是门主,都是强者。 ……… 破天荒的,那个平时最冷漠的人出“门”了… ………恰似飞蛾,扑向火热的光,不惧次次。道听途说、亲身经历,供各位看客茶语饭后消磨无聊的时间… 穿越封神! 叶轩发现自己穿越成为了商纣王。 并且做下(银)诗,调戏了女娲。 面对暴怒的女娲,叶轩在心中对始作俑者准提圣人暗恨不已。 却不想被女娲偷听了心声。 女娲当即邀请他,共讨西方准提。 站在西方大须弥山,作为人皇的他,对准提圣人破口大骂。 并悉数准提圣人多条罪状。 一时间洪荒皆惊。 关键时刻,叶轩觉醒了鸿蒙赶尸系统。 诸多以役强者的尸体尽皆被他奴役。 学会赶尸的他,从此洪荒天地任逍遥! 祖龙,元凤,始麒麟,成为了他的保镖。 十二祖巫,成为了他的宠物。 兽皇神逆,魔祖罗喉,成为了他的打手。 面对众多死去已久的强者,洪荒众生瑟瑟发抖! (不一样的纣王,不一样的封神,简介无力,请移驾下文!) 夏建独身混都市,历尽苦难,终成正果。摇身一变,他成了名符其实的大老板……格洛斯特国在2100年创造出了第一批抗侵略的机甲武器,效果十分显著,不仅抵挡住了其他国家的侵略还收复了之前战败的边境地区,在这之后,其他国家也纷纷效仿格洛斯特国舍弃了对普通的枪械和炮弹的研究,也转向研究并创造出了机甲武器,世界爆发了机甲时代战争,战争依旧没有停息,格洛斯特国在2108年秘密打造出了约5m的由人类为载体的新型可作战机甲,但由于驾驶员的大脑活跃度和反应速度的年龄有着过高的要求,军方要求由25岁以下16岁以上的全部非贵族国民必须要参军,因此有大部分的高中生和大学生也必须参军,本是该好好享受青春的年纪却要被迫于战争和死亡为伍,本应握着笔的手却握着机甲操纵杆,战争是残酷且不公的,一群背负保卫国家使命的少年们啊,为了自己想守护的东西而苟延残喘的活下去吧!疑难杂症,罕见绝症,一切我都手到擒来,玉石翡翠,文玩古董,一切真伪我都轻松分辨!校花,空姐,总裁,一切美女都为我倾倒!因为我有一双看破虚妄之眼。 落魄医道家族秦飞宇意外激活家传至宝,拥有透视眼,获得家学,从此成为一代医学圣手!一个高中毕业的学生,带着一个幸运的锦鲤穿越各种平行世界,在各种平行世界中,他都是最强大的那个人...孤儿高中生刘白高考之后,意外穿越到一个异世界,被一个佣兵收养,孩童时期就上战场,挣扎在生死边缘,领略了异世界的残酷和尔虞我诈之后,一点一点的历练,一步一步的成长,被时代裹挟着跌跌撞撞的生活,之后认识了一个与他年龄相仿,但是极具人格魅力和野心的佣兵团长齐尽墨,二人一见如故,刘白答应帮他实现自己的梦想。就在齐尽墨的梦想即将实现之时,变故发生了....诡异来袭,末日降临。 动植物变异,诡异入侵。 亿万卡牌随处散落,武器卡、职业卡、装备卡、资源卡、图纸卡... 拾取卡牌强大自身,拥有抗衡怪物的实力。 建立庇护所,在夜晚,防止强大的怪物入侵。 罗锋捡起掉落在自己小卖部门口的一张卡牌。 【一星随机卡牌,选择你要获得的奖励】 罗锋发现,其他人的奖励都是随机,只有自己,可以选择卡牌里的奖励内容。 在这个怪物异常强大,卡牌出货概率极低的末世,陆尘金色传说开到手软。 “末世,有手就能生存” ...........
坑爹:我坑到修仙界 长岁劫 我在凡人做选择 复仇:极品学渣 再见亚西兰 史上最强直播间管理员 穿越古代我让家族称霸一方 境之破虚 剑帝传说之我是救世主 从乞丐到圣人 浮生尘游 侠骨柔情千魂刀 我在末世搞建设 爱丽丝在1918 和她一起办案的日子 不正常式生活 我在大楚当汉王 西西里的烟火 三中抑智团 混元魔神体 宝宝一周岁消化不良后吃什么 肠胃不好的宝宝怎样添加辅食 宝宝吃了奶粉呕吐怎么办 三周宝宝大便一天几次正常 宝宝一周岁消化不良后吃什么 怀孕49天宝宝多大 要流产梦到宝宝生下来 2岁宝宝肚子阵痛怎么办 2016农历几月猴宝宝好 宝宝消化不好可以吃水果吗 属龙宝宝拜属兔的干爹 属龙宝宝拜属兔的干爹 宝宝上火能吃排骨粥吗 宝宝带水晶好吗 满月宝宝眉毛图片 地瓜粥宝宝吃了缓解便秘吗 要流产梦到宝宝生下来 2016农历几月猴宝宝好 宝宝头发不均匀崔玉涛 二宝宝刚戒奶时该如何保护乳房 肠胃不好的宝宝怎样添加辅食 宝宝十个月竟查出脑瘫 一周岁宝宝吃米饭好吗 宝宝大便硬喝什么汤好 2岁宝宝肚子阵痛怎么办 宝宝上火能吃排骨粥吗 2016农历几月猴宝宝好 一周岁宝宝吃米饭好吗 宝宝头发不均匀崔玉涛 2016农历几月猴宝宝好 三周宝宝大便一天几次正常 肠胃不好的宝宝怎样添加辅食 宝宝手背脚背淤青 二宝宝刚戒奶时该如何保护乳房 宝宝上火能吃排骨粥吗 地瓜粥宝宝吃了缓解便秘吗 五个月宝宝晚上吐奶 要流产梦到宝宝生下来 宝宝上火能吃排骨粥吗 五个月宝宝晚上吐奶 地瓜粥宝宝吃了缓解便秘吗 宝宝鼻子里有鼻涕不通气怎么办 1岁宝宝胃炎 四个月宝宝吐出黏状奶 宝宝大便硬喝什么汤好 肠胃不好的宝宝怎样添加辅食 属龙宝宝拜属兔的干爹 宝宝手背脚背淤青 宝宝大便豆瓣 有泡 宝宝走路久会不会弯 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 参宇 少年风云志 大逍遥主宰 这个精神病居然是超能力者 炎炎历险记 亚星管理平台 葡京官网 AG真人 亚星游戏官网 葡京官网 今天做彩超医生说宝宝骨骼有点短 2岁宝宝肚子阵痛怎么办 宝宝上火能吃排骨粥吗 宝宝上火能吃排骨粥吗 宝宝检查微量元素准确吗 宝宝检查微量元素准确吗 要流产梦到宝宝生下来 宝宝上火能吃排骨粥吗 宝宝一周岁消化不良后吃什么 五个月宝宝晚上吐奶 宝宝发烧白细胞低是怎么回事 属龙宝宝拜属兔的干爹 怀孕49天宝宝多大 三周宝宝大便一天几次正常 宝宝头发不均匀崔玉涛 2岁宝宝肚子阵痛怎么办 四个月宝宝吐出黏状奶 四个月宝宝吐出黏状奶 宝宝手背脚背淤青 宝宝手背脚背淤青 今天做彩超医生说宝宝骨骼有点短 宝宝头发不均匀崔玉涛 宝宝吃了奶粉呕吐怎么办 四个月宝宝吐出黏状奶 一周岁宝宝吃米饭好吗 2016农历几月猴宝宝好 1岁宝宝胃炎 宝宝带水晶好吗 宝宝吃了奶粉呕吐怎么办 三周宝宝大便一天几次正常