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://gq5czb4.rangche.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://gq5czb4.rangche.cn/">Prev</a></li>
    <li class="active">
      <a href="https://gq5czb4.rangche.cn/">1</a>
    </li>
    <li><a href="https://gq5czb4.rangche.cn/">2</a></li>
    <li><a href="https://gq5czb4.rangche.cn/">3</a></li>
    <li><a href="https://gq5czb4.rangche.cn/">4</a></li>
    <li><a href="https://gq5czb4.rangche.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://gq5czb4.rangche.cn/">Previous</a>
  </li>
  <li>
    <a href="https://gq5czb4.rangche.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://gq5czb4.rangche.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://gq5czb4.rangche.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://gq5czb4.rangche.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://gq5czb4.rangche.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://gq5czb4.rangche.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://gq5czb4.rangche.cn/" for click events if you rather use an anchor.

<a class="close" href="https://gq5czb4.rangche.cn/">&times;</a>
山东大良网站建设杜蕾斯微博营销团队信息安全管理文件控制程序信息安全等级分为几级创新的南昌网站制作高唐网站建设服务商随机数在信息安全有关营销的公众号名称大连手机网站制作东莞网站设计价格计算机安信息安全比赛现代反赌专家穿越到大明,睁眼便是生死局,满街皆是花样赌! ?骰宝、牌九、叶子戏,走狗、斗鸡、蛐蛐乐! 偷天换日、飞云探龙、?海底捞月、天外飞仙? ?林萧笑了:过家家的把戏,也好班门弄斧?要说起出老千这档子事,我会的远比你们梦寐以求的多得多! 我相信每个人心中都有自己的世界,那是曾经无数思想碰撞而出的世界,这个世界是我们精神的乐土。 这个世界有属于我们的江湖,这里诡谲云涌,有属于我们的热血,这里青春义气。 写出这个世界,传播我们的思想世界,与他人碰撞交融,这就是小说。父母被害,灵种被夺,背负血仇的少年带着神兽回归!杀尽仇人! 少年:巫妖余孽?杀人魔头?只要能手刃仇人,巫妖又如何?魔头又如何? 天才们:“哎哟喂!求求你别叫我天才了,你不知道有个家伙专揍天才吗?”绝望与救赎依偎,死亡与生机共线 人类与厉鬼共舞,善良与邪恶共眠 唯有灵异诅咒,方可对抗恶鬼 我,林月,一个平平无奇的剑士职业,原本就与勇者携手战胜魔王的我,正当想解甲归田准备开启我的新的悠闲养老生活时,结果在打败魔王后的下一秒,我被魔王指间的一道强光击中眉心...然后我就来到了异世界了。 所以,这到底是什么展开?我的的武器什么时候变色了?还是黑色... 可下一秒又是什么鬼啊?一剑劈开大山?魔能满格还是无限? 搞咩啊?我的田园生活呢?我的悠闲人生呢?穿越玄幻大世界。 炮灰命运的江榆激活气运模板,能够随意查看并截胡他人机缘。 查看天命之子。 截胡天道造化,神兵功法,种种大自在加身。 查看天命之女。 截胡进境气运,百族臣服,将之收为自身红颜。 等等... 连终极大反派的机缘都能截胡?这可就有意思了! 多年以后。 当江榆立足诸天之巅,行首投足间,皆是造化手段时。 某宗门杂役:“说起来可能没人相信,当年那块至尊骨,其实我感觉是属于我的...”所有人都当我是一条狗,一个连老婆孩子都守不住的废物,直到有一天,我拔出了刀……圣界一绝世至尊圣帝,因获得天下第一至尊宝物混沌珠,被自己的好兄弟出卖,遭到圣界强者围攻,在杀死无数强者后,逃到圣山,因体力不支,实力大减,最终选择自爆与敌人同归一尽。意外重生异世天龙大陆杨家废才三少身上,从此开起无敌之旅,脚踏万千世界,威震八荒。一切敌人全部碾压,美女缘不断,宝物全部到手,终成万古主宰。叶阳怎么想都没想到自己的女徒是一位剑帝! 除了剑帝,叶阳也没想到她会如此绝情! 无敌一剑,天道破碎,灵缺崛起,阴晴圆缺。 天才肆起,天道有灵?此界生灵,该向何处? 缺灵缺灵,再也无缺。救世残缺,伊在何方? 叶阳,一位空头剑宗宗主,自有一剑,可破天开地。 东方青,一位无情剑道女帝,她有一情,可翻星倒界。 (简介就这样,大伙看个乐呵就行。)【全网超火爆的网络小说】掌劈天宫镇日月,剑斩幽冥踏九霄,世间凡人万万亿,修罗成神我最狂! 本天之骄子,被小人陷害,惨遭家族遗弃。落入凡界后,天赋觉醒,我楚枫,誓要杀回九天之上,夺回属于我的一切! 众生视我如修罗,却不知,我以修罗成武神! (想看修罗武神番外,请关注蜜蜂微信公众号:善良的蜜蜂后援会)
o2o网站建设咨询机械厂网站建设 信息安全的内容是 中国网络安全最强大学 北京大学网络安全 网站banner的设计要求 网络建设的网站 国家信息安全红头文件 北京职业学校 网络营销 信息安全行业新闻 浙江网络营销公司哪家好 财运不佳的改善方法咨询【www.richdady.cn】 学习成绩差的解决方法咨询【www.richdady.cn】 家庭关系的矛盾化解【www.richdady.cn】 祖灵的超度仪式【www.richdady.cn】 缺心眼的心理调适【www.richdady.cn】 孩子学习不好的环境影响【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 老公家暴的心理调适咨询【微:qq383550880 】√转ihbwel 如何超度婴灵?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的解决技巧【σσЗ8З55О88О√转ihbwel 如何缓解耳鸣症状咨询【企鹅383550880】√转ihbwel 前世缘份的前世案例咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场突破咨询【企鹅383550880】√转ihbwel 前世今生的缘分如何解读?【企鹅383550880】√转ihbwel 孩子学习不好的家庭教育咨询【微:qq383550880 】√转ihbwel 为什么过世的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事解析咨询【微:qq383550880 】√转ihbwel 财运不佳的改运技巧咨询【微:qq383550880 】√转ihbwel 意外的前世因果【微:qq383550880 】√转ihbwel 论在线营销 网络安全预警监测软件 视频营销的策略有哪些 合肥seo网站推广 模板网站与 定制网站的 对比 网络信息安全必要性 天津网站建站公司 部队网络安全 浙江网络营销公司哪家好 营销效果 网络营销平台分析报告 随机数在信息安全 网络战实例/网络安全 微网站自助建站后台 网站重定向 网站的互动 石家庄的电商网站建设 成都网站优化 信息安全培训 下载 创新的南昌网站制作 杭州整合营销企业排名 高唐网站建设服务商 ids与防火墙联动的网络安全模型设计 信息安全等级保护工作步骤 国家信息安全红头文件 广州网站建设信息科技有限公司 桂林建网站 京东金融营销策略网络安全法 高端网站设计建站 合肥seo网站推广 中国十佳企业网站设计公司 保定php网站制作 泉州做网站 网站的互动 信息安全等级保护技术基础培训教程,-1 模板网站与 定制网站的 对比 信息安全等级保护四级 华为博客营销的案例 部队网络安全 鹤岗做网站 微信营销的关键步骤 郑州网站建设更好 2012到2013中国信息安全状态及发展趋势 微信品牌营销案例分析 炒作营销 深训网络安全公司 网络信息安全技术ppt 网络安全资质乙级 河北省信息安全测评中心 上海市公安局公共信息网络安全监察处 网络安全与信息安全的区别 信息安全管理文件控制程序 网站建设如何提高转化率 河北省信息安全测评中心 自建网站平台的页面功能 pad和app移动端网站具有哪些优势营销型网站又有哪些优势 服务器 网络安全 深圳网站建房 传统网站和手机网站的区别 网络建设的网站 部队网络安全 有关营销的公众号名称 主流信息安全产品和服务包括,-1 网站制作案例 京东金融营销策略网络安全法 交互网站 信息安全培训 下载 信息安全等级保护四级 高端网站设计建站 十八大 网络安全 网络安全预警监测软件 网站推广方法 泰州网站建设 网络安全电影网站 创新的南昌网站制作 深圳网络安全 网站制作案例 深圳网站建设网络推广 桂林做手机网站设计 局信息安全 北京职业学校 网络营销 炒作营销 网络营销之 鹤岗做网站 信息安全管理政策 网络营销平台分析报告 信息安全管理文件控制程序 炒作营销 信息安全大会上排名 网络安全 培训 四叶草网络安全 2017青岛网络安全会议 北京信息安全公司业务 微网站自助建站后台 东营做网站 网站到期了 信息安全等级保护工作步骤 新鸿儒网站 十八大 网络安全 什么是营销平推 网络安全机构资质 国家信息安全红头文件 鹤岗做网站 昆明php网站建设 华为博客营销的案例 泰州网站建设 网络信息安全必要性 深圳网络安全技术公司 信息安全等级保护四级 企业网站管理 北京职业学校 网络营销 交互网站 国家网络安全信息中心 网络安全设备管理 自己弄个网站 新媒体营销实训 部队网络安全泄密视频 国家网络信息安全中心主任 网络主流的营销方式是 网络安全预警监测软件 郑州网站建设更好 网站重定向 交互网站 哪些博客网站好用?怎么编辑信息才容易被百度蜘蛛抓取到 口碑营销法 网络营销服务名词解释 ids与防火墙联动的网络安全模型设计 什么是营销平推 flash网站制作教程 饮料食品营销策划方案 邮件营销获取用户方式 网络安全审计内容包括 启明星辰网络安全 网络信息安全技术ppt 网站推广方法