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
我的爱好作文50谈谈爱国作文400字苏教版高一作文范文我喜欢的小伙伴作文300我的老师是物的作文我的爱好作文50熟悉的人作文4∞字苏教版高一作文范文我的爱好读书100字作文300字迁安作文培训挑战困难 英文作文我的爱好作文50未来的一样物品 作文他认真写字作文400字苏教版高一作文范文迁安作文培训四年级我想对妈妈作文400字作文600字我的同学作文500字女事我的同学作文500字女事淘气的他400字作文400字泰山旅游作文350字我的同学作文500字女事我的爱好读书100字作文300字数学的心得作文我的老师是物的作文玩壁虎作文400字我喜欢的小伙伴作文300童话作文动物环保作文推荐同学的作文600字未来的一样物品 作文余跃从2022年穿越会了玛雅文明时代,发现这居然是个可以修炼成神的时代……【灵异、悬疑、惊悚、探险、宠物、系统、游戏、搞笑】 废弃的别墅,消失的山村,黑暗的血楼…… 人头蜘蛛,红衣厉鬼,浑身是手的怪物…… 在这个深夜的恐怖世界里,王尊稳如老狗,遇人先问娘,杀鬼必扬灰,万事只求一个安稳! 别人还恐惧在诡异怪谈中时,王尊在惊悚游戏世界里杀疯了。“南桸 你回头看 ”江泽大喊到 南桸微笑着转身看着她 江泽高举着手 “我等你回来”世界黑暗的一角,禁锢万族的枷锁,缓缓揭开了.......武当山外门弟子云峰不小心毁坏真武剑,被庞大的能量冲击爆体而亡,灵魂来到荒古大陆,且看他策马走天涯,仗剑守边关。扬帆跨四海,展翅击九天。在天域大陆,若想成为武者,必须觉醒自身血脉。才能沟通天地,吸纳灵气,进行修炼。血脉的种类分天剑血脉、魔刀血脉、武神血脉、枪皇血脉,其中血脉等级分,灵、天、圣、神、四大等级每个等级划分十品。若自身的血脉等级越高,那么修炼的速度、天赋就越强,也意味着未来证道成神的可能性就越大。逆天少年叶落,成就绝世血脉!在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。男主因一场事故转世来到平行宇宙,开始了他的第二世,本书就是叙述了他的第二世生活。林子峰本是云天宗的内门弟子,庐州城林家的大少爷,一片前途光明,无奈被奸人所迫害导致成为一名颓废的乞丐…… “我恨呐” 我一定要报仇,我要变强,我要保护我所爱的人……世纪交际,魑魅降世,铁蹄摧骨,爪牙喋血。 为了抵抗这些嗜杀的恶魔,人类锻造了自己的铠甲,名之假面骑士,组建同盟,御敌守土。 这个汇集精锐,背负人类全部希望的组织,便是骑士联盟。 20年的浴血奋战,不计其数的先烈以血肉之躯,筑起钢铁城墙,将那些怪物阻挡在战区的铁壁之外。终于,敌寇似是偃旗息鼓,世间仿佛重获平和。 20年后,一个失忆的青年,加入了这个组织。他不知道自己是谁,却能够与一条雪藏十余年之久的骑士系统意外匹配。 他也不知道,自己的身上埋藏了多少秘密,经历了几多坎坷,又背负着多少人的期许,暗含着何其残忍的阴谋。 战斗旷日持久,秘密逐一揭示。 彼时,谁都不曾设想,暗流涌动,会在有朝一日化为汹涌浪潮,将这粉饰的太平,尽数吞没。 联盟之下,或许远没有世人所看到的这般祥和。
温柔总裁霸道妻苏夏曲皓琛 旧城小店 重生我从老虎开始进化 踏破云空 我在末世升级 异神归来 五行自然道 秦天战神 人 帝 全民领主:我能召唤历史人物 星界纪元 无帝乱世 盛世清平 帝霄修罗 藏剑:通天修为 九魂乱世 仙戮万界 神仙学院:被迫和校花组队 武道新世纪 百妖物语之山海经 我喜欢的小伙伴作文300 我的校园生话作文400字 数学的心得作文 四年级我想对妈妈作文400字作文600字 我喜欢的小伙伴作文300 我的同学作文500字女事 推荐同学的作文600字 谈谈爱国作文400字 我的老师是物的作文 玩壁虎作文400字 童话故事字400字作文大全 淘气的他400字作文400字 挑战困难 英文作文 我的校园生话作文400字 帅作文仙桃赛区 四年级我想对妈妈作文400字作文600字 推荐同学的作文600字 我的老师是物的作文 苏教版高一作文范文 伟大的父亲作文一百字 我的校园生话作文400字 未来的一样物品 作文 我喜爱的季节作文春天 我爱什么什么作文400字作文400字作文 泰山旅游作文350字 挑战困难 英文作文 我的老师是物的作文 我喜爱的季节作文春天 苏教版高一作文范文 玩壁虎作文400字 我的老师是物的作文 淘气的妹妹作文三百字 我喜欢的小伙伴作文300 我的爱好作文50 数学的心得作文 我的老师是物的作文 我喜爱的季节作文春天 文艺表演作文600字 数学的心得作文 我喜爱的季节作文春天 我的老师是物的作文 伟大的父亲作文一百字 淘气的他400字作文400字 我爱什么什么作文400字作文400字作文 他认真写字作文400字 淘气的妹妹作文三百字 我的爱好读书100字作文300字 我喜欢的小伙伴作文300 推荐同学的作文600字 熟悉的人作文4∞字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 血修士 阁榭 销渣逆袭记 重生之第一道士 茅山天师玄宁子 百度 百度 百度 百度 百度 苏教版四年级英语书上册第五单元作文题目 童话作文动物环保作文 我喜爱的季节作文春天 童话作文动物环保作文 玩壁虎作文400字 推荐同学的作文600字 四年级我想对妈妈作文400字作文600字 我爱什么什么作文400字作文400字作文 文艺表演作文600字 我的爱好作文50 推荐同学的作文600字 苏教版高一作文范文 迁安作文培训 伟大的父亲作文一百字 苏教版高一作文范文 苏教版四年级英语书上册第五单元作文题目 帅作文仙桃赛区 为者常成的作文 为者常成的作文 他认真写字作文400字 我喜欢的小伙伴作文300 文艺表演作文600字 童话作文动物环保作文 推荐同学的作文600字 数学的心得作文 我的爱好读书100字作文300字 挑战困难 英文作文 伟大的父亲作文一百字 我的校园生话作文400字 谈谈爱国作文400字 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网