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

<a class="close" href="https://yfbq6a.c8.org.cn/">&times;</a>
河北网站制作万州网站制作国家网络营销师广道网络安全审计如何建设网站网站建设seo优化公司IDC网络安全要注意什么深圳网站空间网络安全产品选型党政信息安全工作的重要性在茫茫宇宙中一个独立的世界——禁域之中,一个小城池里的一名少年,在一次追杀中,掉下深渊…… 在高校被混混欺负的王浩天只能忍气吞声。他唯一的乐趣就是在网游中大杀四方。 听说去年结束内侧的网游【无尽世界】正式上线,身为内测玩家的他再也不用唯唯诺诺了。 戴上8D头盔的他开始了网游神奇之旅。 【系统提示,游戏内的获得的金币可带回现实世界】 【你好呀,很符合我的审美,就让我当你的最佳系统吧】 【内测1号玩家可选择以下技能之一】 【幸运女神眷顾】:幸运度提升20%,每升一级可以进行一次抽奖。 【技能点之王】:技能点比普通玩家多出20点,且可以随意更改,后期等级越高,上限越高。 【打不死的小强】:血量越低防御力越高,死后可立即复活,不限次数。 【点石成金】:开局金币爆率提升100%,后期可提升。 【技能书槽位之王】:比正常玩家多出5个技能书槽位,且免费赠送一本SSS技能书。 【鬼影迷踪】:50%概率闪避对方攻击,每两秒触发一次,随等级变化而缩短 【女性克星】:女性玩家100% 不是?这最后一个技能是啥呀?刘文明遭遇失恋后,奋发进取,带领乡亲们脱穷致富天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么?洪荒道祖,天道化身,圣人之师 震惊!   九旬老邪祟被当街殴打,并被捏断脖子;河畔女尸被人揪住头发,按在水里差点淹死;冤死灵童被强制劳动每天二十三小时五十九分钟,最终不堪重负,主动报案称有人虐待童工……   吴甚:大家别听外面的人瞎说,其实世界上根本没有邪祟。   众人:我信你个鬼哦,你手里抓的是什么?   吴甚看了看手里已经在翻白眼的吊死鬼,连忙发力,“蓬”的一下将其捏死,看着化为黑雾消散的吊死鬼,笑道:“诺,你们看,什么都没有,一切都是幻觉。”环天,钧天也。乃天上神仙居住的地方,也就是仙界。明朝时,生于城里首富家庭中的一个少年,名叫龙飞扬。在他十七岁那年,在山上做了一个梦,迷上了修仙。龙家遭人陷害而家破人亡,后来龙飞扬拜了张清风为师,张清风授法给龙飞扬后就仙逝了,他临走前托付了斩妖除魔的重担。龙飞扬练成了金光剑法的最高境界,要去降魔。然而,却失败了。龙飞扬在梦中得到了仙人的指引,寻得了轩辕剑斩毁浑天教主的真身。然后,就去蓬莱山修炼了。送快递的穷屌丝楚风,为了借钱给母亲看病,无意中得到仙尊的衣钵传承,从此开始了不一样的人生。 他法术救人,仙法御敌,战妖兽,平恶徒,不仅笑傲人间武道,更是登上了世界的巅峰,至高的神途。 生死看淡,不服就干。 没有什么是一顿打解决不了的,如果有,那就两顿。本作品讲的是一个不知名的小人物一步一步成为仙界至尊武道巅峰的故事
网络营销开始先怎么做 景德镇网站建设 访客网络安全吗 网络安全产品选型 内部列表email营销流程 建网站的公司 html写手机网站吗 西电信息安全专业排名 信息安全作业 全国信息安全服务资质咨询,-1 耳鸣对睡眠的影响【www.richdady.cn】 前世缘份的解读方法咨询【www.richdady.cn】 升迁障碍的职场瓶颈咨询【www.richdady.cn】 与公婆前世的识别方法【www.richdady.cn】 财运不佳的财富增长技巧有哪些?【www.richdady.cn】 无形干扰【企鹅383550880】√转ihbwel 冤亲债主干扰的表现【企鹅383550880】√转ihbwel 灵魂化解的方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 提高情商的方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰原因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 发育倒退的医学检查【企鹅383550880】√转ihbwel 如何了解自己的前世今生咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 精神不振的咨询技巧咨询【企鹅383550880】√转ihbwel 孩子学习不好的环境影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场突破咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职场瓶颈咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的心理调适咨询【微:qq383550880 】√转ihbwel 暗恋的心理成长咨询【微:qq383550880 】√转ihbwel 解梦的咨询技巧咨询【微:qq383550880 】√转ihbwel 前世老公的前世案例【www.richdady.cn】√转ihbwel 网络安全合作协议 设计网站的元素 服务厅网络安全管理 龙岗网站设计资讯 网络信息安全素养 旅游网站设计模板 发布信息营销教程 在网站中添加百度地图 2014第十五届中国信息安全大会 邮件营销外包 网络营销的调查报告 网站建设发布 深圳市计算机网络公共网络安全协会 信息安全发布 河北移动端网站建设 建网站的公司 网络安全竞答 网络营销理解 2016年第十七届中国信息安全大会 定制网站与模板建站维护 西安专业的网站优化 云南网站设计 整合营销方案 做网站多少钱 网络安全实验室综合关 绵阳的网站建设公司 营销型网站哪家好? 衡水网站制作 为什么要做一个营销型网站 音乐网站如何建设的 网站设计公司-信科网络 定制网站与模板建站维护 腾飞网络营销好吗? 东莞建网站 景德镇网站建设 腾飞网络营销好吗? 网络安全案例视频 网络安全举办了几届 西电信息安全专业排名 在网站中添加百度地图 企业网络安全防护 o2o营销模式发展特点 学校网站建设 内部列表email营销流程 为什么要做一个营销型网站 网络营销行为有哪些特点是什么 党政信息安全工作的重要性 网站模板 公安网络安全考试 联盟营销 信息安全外企工作内容 网络安全 刺哥网络安全密码技术 销售型网站模板 温州手机网站推广 国务院负责统筹协调网络安全工作和相关 你自己的计算机上网遭受网络安全威胁时你是怎么做的? 苹果支付网络安全 网络营销学下载 南阳手机网站建设 公司网络安全通知 网站互动 公安网络安全考试 网站套模版 问答营销方案 网站建设及优化 赣icp 无线网络安全密码怎么设置 云南省网站建设 信息安全等级评测师 信息安全大赛题目 学校网站建设 硬件 网络安全测试方法 建网站的公司 河北移动端网站建设 网站建设改版博客营销类型 网站变灰色 网络公司制作网站 网络营销的调查报告 网站建设 腾 网站建设seo优化公司 访客网络安全吗 整合营销方案 点墨网站 营销型网站哪家好? 广道网络安全审计 无线网络安全密码怎么设置 佛山网站建设的首选 定制网站与模板建站维护 诀窍的网站 公共网络安全厂家 php大型网站设计 龙岗网站设计资讯 南通网站制作 温州做网站的公司 整合营销方案 达内网络营销要学多久 网站备案跟域名有什么关系 企业网络安全的 信息安全研究 期刊 网络安全的企业 美国网络安全管理 html写手机网站吗 网站变灰色 信息安全作业 网站制作报价 网站建设com 创建网站公司 徐州 云南网站设计 家具营销策划 优帮云 网络营销开始先怎么做 等级保护网络安全 o2o营销模式发展特点 全国信息安全服务资质咨询,-1 网站单子 做网站多少钱 网站模板 企业网络安全防护 信息安全研究 期刊 江西专业南昌网站建设 石家庄移动端网站建设 网站建设发布 专门型网站 网络营销理解 无锡网站建设原则 网络营销作业从域名空间网页的内容结构功能风格分析 网站的内容 网站单子 达内培训 网络营销课程 绵阳科技网站建设 网络信息安全素养 网络营销书本 营销型网站优化 信息网络安全 监 预警 机制 河南做网站 社会大学生网络安全总体数据分析 网络营销书本