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

<a class="close" href="https://7nf.xevi.cn/">&times;</a>
广州市信息安全企业,-1网站建设咨询重庆 手机网站制作新乡网站设计淮安网站设计网络营销策略论文信息安全发布时间黑龙江网站建设网络营销策划公众号p2p网络安全评测报告谷安网络安全他是国之重器,科研天才,国士无双! 她是国民女神,国色天香,迷倒众生。 重生到另一个世界的洛铭,激活了系统。系统给予的奖励条件为暗恋,暗恋时间越长,奖励越丰厚。 谨慎选择了自己的暗恋对象云雨蝶之后,经历五年时光,作为可控核聚变,空天航母,外骨骼机甲等高端科研项目总工程师的洛铭,载誉归来。 而他不知道的是,在不久之前,已经成为国民女神,甜美天后的云雨蝶竟然在歌手巅峰对决节目中向他表白了。 原来这个可爱的女神,也在暗恋着洛铭。 五年一别,五年暗恋,五年思念,再次相逢,这对神仙眷侣开始谱写传奇而甜蜜的人生!这几个世界上有一种奇特的花名为相邻花,又名不相邻。 它长的很像玫瑰,但它比玫瑰还要红,还要艳。 它没有玫瑰身上伤人的刺,有的只是无尽的温柔。 在它枯萎之前,它周身的植物都不会枯萎,因为它会把自己的养分,给那些即将枯萎的植物。 红月降临,灵气复苏,神秘归来,禁区开始。 世界上的人开始觉醒各式各样的异能。 普通人拥有了力量,强大的力量。 原本受到压迫的人开始了反抗,原本受到欺负和不公的人开始了报复。 他们无视法律,原有的秩序遭道了破坏。 群英璀璨,旧时代即将结束,新的时代开始降临。 历史在这一刻开始改写,新的的时代即将书写。 在这个旧时代与时代交汇的时代,被称为璀璨时代。 这是一个疯狂的时代,这是一个正义的时代,这是有个群英并起的时代。 强者为王,败者寇。 魂殇 红尘浊世,崖外桃源 九霄云中,情丝谁牵 白衣皓雪处,落红颜 两相依,两心恋 怎奈何,天长地久阴阳断 江湖风雨,百千浮莲 恩怨情仇,岁岁年年 刀剑争鸣后,魂未散 月光冷,月影寒 一声叹,山盟海誓不复还 情难了,恨难填 却只剩,前路潇潇醉古兰 情未了,恨已残 斜阳下,踏歌杳杳几峰峦 一壶酒,一把剑,梦从前 一个人,一支歌,两缠绵我虽然不上朝,但并不代表我不办事 给我三十年,还你一个太平盛世臭不要脸的穷屌丝和浪荡于学校周边的洗脚工,谁能靠谁逆袭? 兵刃相接到异世界不言而喻的结盟,为了活命,苟活最后是否还是校园里的小喽啰,还是校外不起眼的游魂? 三年学艺天师归来,从此纵横古玩界,玩转都市,鉴珍宝、砸赝品、造就盛世乾坤! 生意不好?看我风水局逆转乾坤! 珍宝难辨?看我金手摸宝定真伪! 老婆多年不孕,看我……一个人如果能够回到过去,他的人生是否会发生变化,答案或许是肯定的!那么他是否也能够改变他人的命运呢,如果也是,那么又能改变多少呢?叶荇的这个故事就从回到过去开始......寂静中复苏,黑暗中永恒。 一念神魔的大地迎来万族的降临和灾难。 群雄割据,万族林立,世界戴上枷锁。 人族陷入灭亡的危机! 一名少年从虚无中走出注视着这一切,迎着曙光而来:“我为人族开新世!”在八九十年代的乡村,一群平凡的农村人,一系列恩怨纠葛。从怀旧中,感悟和追念,那片土地上,渐渐逝去的情怀……城前石像,为心爱的女子和城守候,这一等一亿年,在灵气稀薄,身体又不是修炼最佳的条件下,他可能等到心中女子吗?能否战胜道...... 等待是漫长的,也是感受不到时间的……
南昌网站开发 开发网站的目标 三只松鼠营销的缺点 成都网站建设市场 网站的框架 计算机网络安全的基本要素 网络安全检查 百色做网站 哈尔滨网站设计 国家计算机与信息安全管理中心 冤亲债主干扰的根源是什么?咨询【www.richdady.cn】 与公婆前世的影响分析【www.richdady.cn】 老公家暴的前世因果咨询【www.richdady.cn】 财运不佳的自我提升【www.richdady.cn】 公司破产的前世因果【www.richdady.cn】 感情纠纷的情感沟通咨询【www.richdady.cn】√转ihbwel 商业决策的心理学支持咨询【σσЗ8З55О88О√转ihbwel 前世缘份如何影响人际关系?【企鹅383550880】√转ihbwel 婴灵的超度与慈悲心【σσЗ8З55О88О√转ihbwel 儿子抑郁症的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的情感和解【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的情感释放咨询【www.richdady.cn】√转ihbwel 如何提高孩子的阅读兴趣?【企鹅383550880】√转ihbwel 心慌胸闷头晕的环境影响【σσЗ8З55О88О√转ihbwel 祖灵的存在形式【www.richdady.cn】√转ihbwel 冤亲债主对生活的影响【σσЗ8З55О88О√转ihbwel 大龄剩女的婚姻选择咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵干扰咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 营销沙龙 百色做网站 网络安全法 香港 计算机网络安全的基本要素 南通网站怎么推广 网络安全事件记录表 网络营销网址 龙岗网站制作资讯 gb/t 20984-2007 信息安全技术信息安全风险评估规范 网络安全 教学安排 冯英健 内容营销 长沙网站制作哪家 成都网站制作公司电话 网络营销影响因素 国防信息安全的老大,-1 网站建设价格 电商网站建设新闻 计算机信息安全保护等级 中国网络信息安全战争 信息安全服务资质测评 企业网络安全视频 注册信息安全专业人员证书 成都网站制作公司电话 托管网站 网站的框架 微博与微博营销的概念 营销策划案的理论意义 广州微信营销 e mail营销邮件 信息安全等级保护测评工作管理规范(试行) 行业网站设计 网站设计 价格 网络安全周启动? app营销的劣势 网站建设咨询 重庆整合营销哪里最好 昆明网站搜索优化 广州微信营销 卡通画风的网站 濮阳网站建设 营销策划的含义 企业网站系统 贺州网站建设 三只松鼠营销的缺点 许可email营销的特点 关于信息安全控制 网络安全事件记录表 企业网站内容更新怎么操作 网络安全委员会 果园 网络安全与信息沟通 网络安全 教学安排 深圳做h5网站设计 通辽网站制作公司 国防信息安全的老大,-1 网络安全与信息 上海平台网站建设公司排名 深圳信息安全评测中心 gb/t 20984-2007 信息安全技术信息安全风险评估规范 杭州网络科技网站 上海市公安局网络安全总队 地址 网站制作好在百度里可以搜到吗 网络安全委员会 果园 网络营销师证书名称 信息安全发布时间 网络营销监管 行业网站设计 建立网站需要多少钱 网点营销手机短信 网络安全法 香港 网站建设价格 订做网站 与信息安全相关的岗位 无锡好的网站公司 重庆璧山网站制作公司推荐 好未来信息安全规范正式实施 30岁学网络营销 上海平台网站建设公司排名 长沙网站制作哪家 营销学视频 p2p网络安全评测报告 信息安全服务资质(安全开发类),-1 网络营销证书查询 关于信息安全控制 中国网络信息安全战争 台州做网站seo 微信营销成功方案 互联网营销 学历 龙岗网站制作资讯 营销策划案的理论意义 秦淮网络营销系统 营销外包公司 北京 信息安全服务资质(安全开发类),-1 信息安全工程系 网络安全视频教程 分栏式的网站有哪些 mmm营销云制造网站 重庆 手机网站制作 谷安网络安全 网络安全周启动? 百色做网站 国家计算机与信息安全管理中心 哈尔滨网站设计 计算机网络安全的基本要素 北京微博营销服务商 北京市网站公司网站 网络安全事件记录表 陕西信息安全管理中心地址 开发网站的目标 龙岗网站制作资讯 网站建设公司联系方式国家网络安全学院 武汉 e mail营销邮件 网络安全 教学安排 计算机信息安全保护等级 网站的框架 长沙网站制作哪家 互联网营销 学历 谷安网络安全 网络营销影响因素 品牌网站建设多少钱 教育网站建设策划书 如何把网站做好 手机微信网站设计 网络安全公开课2017 运营商 信息安全,-1 上海网络营销平台排名 亚太信息安全大会 网络安全法 香港 电商网站建设新闻 网络安全 宣传周 医院网络营销是什么 网络安全厂商 信息安全管理的根本方法 网站建 视频营销软件都有什么软件 上海平台网站建设公司排名