Button groups

Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements.

Best practices

We recommend the following guidelines for using button groups and toolbars:

  • Always use the same element in a single button group, <a> or <button>.
  • Don't mix buttons of different colors in the same button group.
  • Use icons in addition to or instead of text, but be sure include alt and title text where appropriate.

Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.

Default example

Here's how the HTML looks for a standard button group built with anchor tag buttons:

<div class="btn-group">
  <button class="btn">1</button>
  <button class="btn">2</button>
  <button class="btn">3</button>
</div>

Toolbar example

Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.

<div class="btn-toolbar">
  <div class="btn-group">
    ...
  </div>
</div>

Checkbox and radio flavors

Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View the Javascript docs for that.

Get the javascript »

Dropdowns in button groups

Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group within a .btn-toolbar for proper rendering.


Button dropdowns

Example markup

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

<div class="btn-group">
  <a class="btn dropdown-toggle" data-toggle="dropdown" href="https://g9l.4174.com.cn/">
    Action
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Works with all button sizes

Button dropdowns work at any size. your button sizes to .btn-large, .btn-small, or .btn-mini.

Requires javascript

Button dropdowns require the Bootstrap dropdown plugin to function.

In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.


Split button dropdowns

Overview and examples

Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.

Sizes

Utilize the extra button classes .btn-mini, .btn-small, or .btn-large for sizing.

<div class="btn-group">
  ...
  <ul class="dropdown-menu pull-right">
    <!-- dropdown menu links -->
  </ul>
</div>

Example markup

We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.

<div class="btn-group">
  <button class="btn">Action</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Dropup menus

Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.

<div class="btn-group dropup">
  <button class="btn">Dropup</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>




Multicon-page pagination

When to use

Ultra simplistic and minimally styled pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.

Stateful page links

Links are customizable and work in a number of circumstances with the right class. .disabled for unclickable links and .active for current page.

Flexible alignment

Add either of two optional classes to change the alignment of pagination links: .pagination-centered and .pagination-right.

Examples

The default pagination component is flexible and works in a number of variations.

Markup

Wrapped in a <div>, pagination is just a <ul>.

<div class="pagination">
  <ul>
    <li><a href="https://g9l.4174.com.cn/">Prev</a></li>
    <li class="active">
      <a href="https://g9l.4174.com.cn/">1</a>
    </li>
    <li><a href="https://g9l.4174.com.cn/">2</a></li>
    <li><a href="https://g9l.4174.com.cn/">3</a></li>
    <li><a href="https://g9l.4174.com.cn/">4</a></li>
    <li><a href="https://g9l.4174.com.cn/">Next</a></li>
  </ul>
</div>

Pager For quick previous and next links

About pager

The pager component is a set of links for simple pagination implementations with light markup and even lighter styles. It's great for simple sites like blogs or magazines.

Optional disabled state

Pager links also use the general .disabled class from the pagination.

Default example

By default, the pager centers links.

<ul class="pager">
  <li>
    <a href="https://g9l.4174.com.cn/">Previous</a>
  </li>
  <li>
    <a href="https://g9l.4174.com.cn/">Next</a>
  </li>
</ul>

Aligned links

Alternatively, you can align each link to the sides:

<ul class="pager">
  <li class="previous">
    <a href="https://g9l.4174.com.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://g9l.4174.com.cn/">Newer &rarr;</a>
  </li>
</ul>

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>

Hero unit

Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.

Markup

Wrap your content in a div like so:

<div class="hero-unit">
  <h1>Heading</h1>
  <p>Tagline</p>
  <p>
    <a class="btn btn-primary btn-large">
      Learn more
    </a>
  </p>
</div>

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more


Page header

A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).

<div class="page-header">
  <h1>Example page header</h1>
</div>

Default thumbnails

By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.

Highly customizable

With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

Why use thumbnails

Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.

Simple, flexible markup

Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.

Uses grid column sizes

Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.

The markup

As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:

<ul class="thumbnails">
  <li class="span3">
    <a href="https://g9l.4174.com.cn/" class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
    </a>
  </li>
  ...
</ul>

For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:

<ul class="thumbnails">
  <li class="span3">
    <div class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
      <h5>Thumbnail label</h5>
      <p>Thumbnail caption right here...</p>
    </div>
  </li>
  ...
</ul>

More examples

Explore all your options with the various grid classes available to you. You can also mix and match different sizes.


Lightweight defaults

Rewritten base class

With Bootstrap 2, we've simplified the base class: .alert instead of .alert-message. We've also reduced the minimum required markup—no <p> is required by default, just the outer <div>.

Single alert message

For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to .alert-block.


Goes great with javascript

Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

Get the plugin »

Example alerts

Wrap your message and an optional close icon in a div with simple class.

Warning! Best check yo self, you're not looking too good.
<div class="alert">
  <button class="close" data-dismiss="alert">×</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

Heads up! iOS devices require an href="https://g9l.4174.com.cn/" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.

Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

<div class="alert alert-block">
  <a class="close" data-dismiss="alert" href="https://g9l.4174.com.cn/">×</a>
  <h4 class="alert-heading">Warning!</h4>
  Best check yo self, you're not...
</div>

Contextual alternatives Add optional classes to change an alert's connotation

Error or danger

Oh snap! Change a few things up and try submitting again.
<div class="alert alert-error">
  ...
</div>

Success

Well done! You successfully read this important alert message.
<div class="alert alert-success">
  ...
</div>

Information

Heads up! This alert needs your attention, but it's not super important.
<div class="alert alert-info">
  ...
</div>

Examples and markup

Basic

Default progress bar with a vertical gradient.

<div class="progress">
  <div class="bar"
       style="width: 60%;"></div>
</div>

Striped

Uses a gradient to create a striped effect (no IE).

<div class="progress progress-striped">
  <div class="bar"
       style="width: 20%;"></div>
</div>

Animated

Takes the striped example and animates it (no IE).

<div class="progress progress-striped
     active">
  <div class="bar"
       style="width: 40%;"></div>
</div>

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.

Wells

Use the well as a simple effect on an element to give it an inset effect.

Look, I'm in a well!
<div class="well">
  ...
</div>

Close icon

Use the generic close icon for dismissing content like modals and alerts.

<button class="close">&times;</button>

iOS devices require an href="https://g9l.4174.com.cn/" for click events if you rather use an anchor.

<a class="close" href="https://g9l.4174.com.cn/">&times;</a>
网络营销整体方案福安做网站上海定制网站建设公司哪家好上海网站设计专业信息安全,-1中国国家信息安全产品认证证书等级上海网络营销策划公司贝贝网营销小型企业网站建设的背景平台营销 五族纷争战不断, 三国史实卷中现, 为得永生长修道, 万法归一只逆天。 异境修仙,只得逆天,任意杀戮,天地共怒,若无后源,人神必灭。 世尊苍天,其女名杰,上古平乱,世尊圣女,其有词,临江赋―大江东去明月夜,千里碧霞寒光生,江明月,对影浊,月映当空星自薄,临望江面银闪烁,东进山,踏峰坡,游牧组中将临敌,吾族儿女何惧多,对阵南蛮欲血搏,将临难,欲长歌,声划长空欲九霄,势破地渊惊醒天,举剑指天问明月,映在高空何时多,吾虽柔弱小女子,愿做杀敌女丈夫,守吾华下永太平,父乃上古一天帝,子女岂能弱丈夫,今日挥剑立天地,誓守吾族疆域全,那怕上存一气在,战至身死不退步,即便不幸离于世,凝心聚魂守疆土。世界未开,先育界神,分其所掌;其阴,万物之终;其阳,万物之始;对立,平横诸事;生命,意识之初;时空,诸天起源;终因噬而亡;所谓创世,阴阳所诞。诸天万界就此开启。 本篇属于集,大概就类似一个独立的体系历史故事,就如同圣经,或者洪荒小说一类的。如果非要说主角,那就是创世。本故事纯属扯淡虚构,如有雷同,不胜荣幸。大学生纪铭误入聊天群,每日群内都会发布死亡任务,本以为只是玩笑,却成为了人世中最后悔的事……从第一次接到任务到成为群内的主宰,他都经历了什么……在一次次的死亡任务中,他渐渐发现恐怖的不是这些灵异事件,恐怖的是人心…… 这是一个以御兽为主体的世界,人们与动物,机械,恶灵,花草树木契约,灵兽的力量如此强大,可最大的问题仍在人与人之间一桩桩的劫案,传说中的凶地,是谁揭开它们的面纱?曾经的曾经,他遭受背叛,现在,他遇上了那个单纯的她,故作矜持的老前辈碰撞“老乡”的单纯少女,有怎样的火花? “准备好了吗?[哲学家]。” “开始我们的冒险生活吧,[冒险家]!”武道已经落寞,几十年得苦修抵不上别人得一张状纸!生死换来的军功,抵不上朝堂上得一句戏言!江湖?全是险恶的赌徒!万仙求道,万道来朝! 三百年前,陈少君被师父带上仙门,因为血脉原因难以练武,但却在炼器上天赋异禀,成为一代器君,与宗门六位师兄合称“北斗七圣”。 一场剧变,师父被害,北斗陨落,陈少君谪落人间,转生成为大商户部侍郎之子。 光阴荏苒,如今的他只是人间蝼蚁般凡人。 然而,这场剧变也同样打开了他身上的限制。 师父:“如果不是血脉的限制,你的成就就连师父也难以想像!” 书生宣讲,鬼神听道! 且看昔日器君如何一步步崛起,临天路,朝仙道,让诸天万界都为之颤抖! —— 欢迎大家关注我的微信公众号,关注请搜索皇甫奇。 QQ群:422905216公元2293年,有着悲惨过去一直在逃避的墨沄白,因个人情感加入了一场盗墓,却因此被卷入了一场阴谋之中。七窍玉,鬼王,冥界,尸王,世界异幻事件应对调查局,多方势力混杂其中。他不是主角,他只是一个被卷入其中的受害者,但他势要成为复仇者……
新建网站的缺点 软文营销素材案例 关于信息安全的资料 公司营销软件哪个好 整合营销成功的案例信息安全 哪些资质,-1 网络营销模式定位 网站面包屑导航设计特点 福州网络营销网站 淄博网站建设相关文章 如何为维护网络安全做贡献 去世的母亲的前世缘分咨询【www.richdady.cn】 不爱读书的自我提升【www.richdady.cn】 婴灵的形成原因咨询【www.richdady.cn】 儿子抑郁症的症状与诊断【www.richdady.cn】 与公婆前世的咨询技巧【www.richdady.cn】 阴间生活的描述与传说咨询【σσЗ8З55О88О√转ihbwel 脑部不清晰与生活习惯的关系【σσЗ8З55О88О√转ihbwel 家庭关系的和谐共建咨询【微:qq383550880 】√转ihbwel 强迫症的家庭支持【企鹅383550880】√转ihbwel 内心恐惧胆怯的咨询技巧咨询【企鹅383550880】√转ihbwel 婴灵对家庭有哪些影响?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感修复咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的解决方法【微:qq383550880 】√转ihbwel 灵魂化解的方法咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的原因分析咨询【σσЗ8З55О88О√转ihbwel 婴灵的感应现象咨询【σσЗ8З55О88О√转ihbwel 家宅磁场对居住者的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场策略有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵对家庭的影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺的沟通技巧【企鹅383550880】√转ihbwel 低成本网络营销 信息安全技术需要掌握的技能 松江营销型网站建设 网络营销实施流程 网站推广软文 福田网站设计 中国移动信息安全产品 公司网络营销定价策略 建网站手机版 重庆网站推广营销价格 客户型网站 企业网络安全监控 网络安全泄密档案 德国网络安全法 网站赞赏 网络安全架构师 中国网络安全问题 法律网络安全个人信息 2014年网络安全大事件php怎么建立网站 网络营销组合的类型 福州网络营销网站 金融网站建设报价方案 下面哪些不是基本的网络安全防御产品 wifi网络安全机制 河南信息安全电子中心 网络公司 开发网站 品牌网站建设多少钱 网络公司 开发网站 网络安全 工控平台 腾讯营销 上海网络营销策划公司 大华信息安全四个惩罚 大连做网站公司 中国信息安全 政府比例 信息安全 峰会 秦安 信息安全 上海定制网站建设公司哪家好 国家网络安全体系 公司营销软件哪个好 德国网络安全法 asp网站设计 公司营销软件哪个好 美胸 热点.事件营销 龙岗做网站 全国网络安全决议 保定网站建设 wifi网络安全机制 微信营销软件招代理商 互联网营销课程 杭州 简述网络营销中的stp 政府网站建设 网络安全web安全哪里的佛山网站建设 如何优化网站 2014年网络安全大事件php怎么建立网站 2016信息安全大会 广州网站建设哪家比较好 网络营销组合的类型 川大信息安全系 采用邮件营销的广告 网络营销营销策略 信息安全问题 如何为维护网络安全做贡献 网站和h5 企业营销型网站案例 南宁会员网站制作 高级设置 网络安全 网站导航营销的优点 互联网营销课程 杭州 经典电子邮件营销案例 网站建设公司 中企动力公司 低成本网络营销 公司不需要做网站了 营销商务处 银行 公众号营销 企业营销型网站案例 中国移动信息安全产品 怎么测试网络安全性 建网站工具 网络信息安全知识竞赛 陌陌社交营销 春秋网络安全官网 营销型网站建设案例 asp网站设计 中国网络安全问题 网站推广软文 春秋网络安全官网 植入式营销主要形式 制作网站备案幕布 centos 7 网络安全安装 新闻媒体网络营销案例 松江营销型网站建设 低成本网络营销 滑动网站 采用邮件营销的广告 网络安全宣传周新华网 2014年信息安全事件 软文营销素材案例 中国信息安全 政府比例 网站建设公司 中企动力公司 电商网站建设新闻 余姚做网站 保定专业做网站 网络安全入门培训 网站赞赏 整合营销成功的案例信息安全 哪些资质,-1 石家庄市制作网站公司 对信息系统运营使用单位的信息安全等级保护工作情况,-1 sem整合营销专家 信息安全技术需要掌握的技能 小型企业网站建设的背景 苹果网络营销策划 网站开发 下面哪些不是基本的网络安全防御产品 病毒防范与网络安全 网络安全目的 搜索引擎营销的阶段 新闻媒体网络营销案例 精美网站 专业网站定制服务 网站导航营销的优点 如何为维护网络安全做贡献 制作网站的要素 动画型网站 网络安全入门培训 商洛网站建设 松江营销型网站建设 高级设置 网络安全 支付宝网络营销策划 网站建 网站和h5 保定专业做网站 下面哪些不是基本的网络安全防御产品 太原市网站制作公司 娄底网站建设 网络营销管理