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

<a class="close" href="https://59mcc.mafeng.net.cn/">&times;</a>
安阳网站制作网络游戏中营销植入信息安全 行业大连信息安全公司票务网站建设网站建设与搜索广州微信营销成都网站设计网络安全防护设备信息安全行业中权威资格认证有如果有一天,当你睁开了惺忪的双眼望向这个世界。你还未来得及称赞这一觉睡得那样充足饱满,床垫是有多么的柔软舒适,取而代之的则是你的家园、你赖以生存的那座城市消失不见的恐惧。除了你自己以外的任何人都没有了关于那座城市的认知,你所有的找寻都无功而返,这个和世界没有了丝毫那座城市曾经存在过的迹象。你会相信并接受这个世界的改变还是会坚持自己的主见?如果有一天,你触发了“X-隐没”的故事,你会怎么办?曾为前世顶尖杀手的姜扬,因为人的贪欲转生至异世界,将整个世界带到万劫不复之地,成为‘魔主’主角降生之日,被称为‘魔临之日’! 这是一个略微畸形的平行世界。 因为科技发展速度太快,商业和文艺的脚步完全跟不上进度。 导致这个世界大部分行业,都处于重技术,轻内容的情况。 而其中,尤其以游戏行业表现的最为明显! 没有电脑游戏,没有手机游戏,所有游戏都是VR的! 甚至连免费游戏都没有! 在这个世界,游戏是有钱人才有资格享受的昂贵物品。 “一个VR设备几十万,穷人就没资格玩游戏了?” 《传奇》《暗黑破坏神》《地下城与勇士》《梦幻西游》《魔兽世界》《英雄联盟》…… 陈风带着前世无数款经典游戏穿越而来,为无数普通玩家发声做事! 一步步走到世界之巅峰,被所有玩家和网友尊称为:游戏界的慈善家! 明朝末年,张怀英在一场江湖纷争中失去了至亲,从此无依无靠,寄居伯父家,受尽同伴的冷嘲热讽。 直到某天,天边飞过一颗流星,将方圆五丈的树林夷为平地。 之后,张怀英从卧榻之侧立起,记忆零碎…… 从此在武当派崭露头角,随着等级的提升,张怀英开始问鼎中原。天工谱曲,星罗满布,看遍无尽苍穹最后只觉得,那广茂星海不过是漫天的尘埃,只有生命才是荒凉宇宙的真谛。建筑集团老总许勇,穿回到1986怂人狗娃的身上。 前后两世记忆一融合,他瞬间变得强大。 拳打村霸,棒扫混混英雄救村花。 夜总会遇伯乐,他的人生从此开挂。 组建乡村建筑队、办醋厂、种果树。 直到集团公司上市。 用超前三十多年的人生经验赚这个时代的钱,岂不是很容易? 看《超级农民工》为自己补办一场错过的人生盛宴。神延大陆中央有一座没有山顶的大山,传说登顶这座山峰的人就算是凡人也能立地成仙。天道峰直指天道,所谓登峰造极登峰便是一条成仙的捷径,亘古至今,成仙者不计其数,但却无一人登上峰顶。天道峰到底通往哪里?仙界?神界?还是永恒? 唐皇国边陲山村小村民郭旬机缘之下得到一颗渡劫成功的天仙内丹,从此踏上不凡之路,为了追求永恒,他踏上了攀登天道峰的道路,成仙成魔尽在一念之间!吾一人踏路,天道路漫漫,怀赤子之心,追寻飘渺永恒,翻千山不停,越万界不止,吾心依然。一所省重点高中,一个满是富家子弟的班级。一个个娇生惯养,傲慢,攀比,挥霍,目无尊长。一位特殊的“老师”受人之托要好好的给他们“上一课。”于是就上演了一场五花八门的骗局,让他们知道社会的险恶。最后却又引出了一桩多年前的案子……在2060年,世界进入量子时代,科技高度发达,各种先进的便民的技术层出不穷,虫洞处于研究阶段,危机随处可见,主角是一位在学校大学生主攻科研天文,爱好广泛涉。人死为鬼,道成为仙,纯阴而无阳者,鬼也! 纯阳而无阴者,仙也,唯人可以为鬼,可以为仙!故自古以来,修行之道分为两种 人仙之道,修炼肉身,打熬气血,冲开穴窍! 鬼仙之道,修炼元神,观想天地,雷劫筑 神
贵州 网站建设 网络安全 迪普 国际网络营销是什么 中央网络安全小组t图片 广州市天河区网站设计公司 想开一家网络营销公司 关于开发活动的信息安全要求 营销策划的含义 宝安做网站 过度的饥饿营销 信息安全与嵌入式 广州市天河区网站设计公司 过度的饥饿营销 网络信息安全呀管理 许昌做网站 广州微信营销 专业的营销网站 销售网站 重庆最新微信营销方案 横向纵向网络安全防护 网络安全 迪普 企业网站的一、二级栏目名称 成都做网站 北邮 信息安全 阶段作业 济南网站忧化 广东省网络安全宣传高峰论坛 购物型网站 中国国家信息安全部门 银行网络安全风险评估 网站设计佛山顺德 信息安全委员会 国际网络营销是什么 中国信息安全测评中心山西测评中心 北科信息安全 高端电子网站建设 汕头网站优化 事件营销是口碑营销? 工业控制网络安全态势 网络营销 (第5版) 外贸网站响应式 黄岛建网站 购物型网站 开展经常性的网络安全 网站中如何嵌入支付宝 德国网站建设 网站访客 高端网站定制 免费送网站 官方网站怎么建设的 搜索引擎营销好处 中山网站建设 网络安全的图片有哪些 国际网络营销是什么 信息安全委员会 网络安全活动报道 闸北区网站建设 联创营销班 建论坛网站 信息安全管理研究包括 网络安全渗透测试工程师 清华信息安全考研 整合网络营销方案 视觉营销就是网络营销 什么是信息安全管理 票务网站建设 价格营销策略 整合网络营销方案 关键词网络营销 许可营销工具有哪些 网络安全沙龙 关键词网络营销 信息安全与嵌入式 网络安全靶机 微博与微博营销的概念 网络安全黑客漏洞 网站策划制作公司 四川网站制作哪家好 丰都县网站 网络安全审计系统产品 贵州 网站建设 单页网站 美橙互联旗下网站 网站建设需要多少钱 大连信息安全公司 大兴做网站 中央网络安全小组t图片 网络信息安全呀管理 南宁做网站找哪家公司 最重要的网络营销工具 成都网站建设v 上海网站建设联 信息安全行业中权威资格认证有 长春网站优化公司 pc网站增加手机站 建论坛网站 外贸公司网络营销 中国信息安全测评中心山西测评中心 网络营销公司干嘛的 手机网站制作机构 个人网站建设 上海网站建设联 南宁网络安全大赛北京企业营销策划公司 成都做网站 丰都县网站 信息安全中rat代表什么,-1 360杯第一届信息安全大赛 襄樊做网站 事件营销是口碑营销? 手机网站制作机构 网络安全的图片有哪些 贵州 网站建设 中央网络安全小组t图片 经信委 信息安全.,-1 广东省网络安全宣传高峰论坛 信息安全咨询 资质,-1 简述市场营销6p理论 信息安全与嵌入式 销售网站 简述市场营销6p理论 手机网站制作机构 高端网站定制 济南网站忧化 微信营销号的劣势 网络安全与信息化领导 网络营销第一层是什么意思 关键词网络营销 网络营销 (第5版) 网站支付接口 网络安全活动报道 观点网站 美国计划于2015年建立哪三支网络安全部队 app 网络安全案例 深圳企业网站建设公司排名 兰州网站优化 网络安全符合性评测 网络营销能力秀微博 视觉营销就是网络营销 网络营销第一层是什么意思 中国信息安全测评中心山西测评中心 搜索引擎营销好处 中卫网站建设 大连信息安全公司 360杯第一届信息安全大赛 信息安全咨询 资质,-1 为北京教育培训机构提供最专业的网络营销渠道建设点对点服务