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

<a class="close" href="https://wxtd.rovu.cn/">&times;</a>
信息安全小组,-1顺德网站建设市场网络营销师值得学吗网站建设 cms 下载网络信息安全实例信息安全产品分类知名手机网站全球网站建设服务商网络营销师值得学吗外贸网络营销教材听 昨夜有戎狄,叩我雁门关,攀我十丈城墙 看九州有烽火,江山千万里,烽火次第燃 我高歌送君行,掌中弓虽冷,鲜血犹是滚烫 且为君倾此杯,愿君此行归来,踏凯旋……在剑下活着,或者死在剑下。 人,比自己想象的要自由。 这是一条恶魔之子的求仙路。 叶星辰本是天命神话,却遭奸人所害,性命垂危…… 十五年后,北荒一少年以雷霆万钧之势崛起,踏天骄,携红颜,打爆各种神体王体,铸就诸天万界无敌神话! 以最震慑的雷霆!击碎最沉重的黑暗! 逍遥自然,离奇古怪,理性奇幻。未世来临,无数人变异,无数人死去。人类只能在夹缝中生存,与各种异种周旋,混出一条生路来。姜丰是个小人物,没有什么大志向,可偏偏命运不会放过他,在他的生存路上,无数的危险,无数的恶梦,通通让他碰到,他拼命挣扎,要保全爱人、家人、朋友的生命,也要保全自己的生命,非常难,特别难,但是必须做。 人生逍遥路漫漫,慢修吾心妄烟云, 运极命数皆注定,鼎立混沌独自清。 罄音撩灵安坐钟,终了余生残破魂, 魂归故里望长生,深入宇空宙已寂。 漫定钟生,慢鼎终深。 人运罄魂,云清魂寂。我所以为的自由并不是真的自由,因为在我的每个人生道路前都有那么一个人在推动,事实上我也不确定我接下来走的路会是什么样的,因为,我从来没有真正做主过。穿梭各式聊天群装逼,搞笑升级,无理头,无头脑对话,轻松,幽默。一个刚出校园的大学狗被社会毒打得回了老家,灰头土脸的他因意外重生到了修仙界。在这里,还有与他一起重生的冤种大黑狗。 “好汉饶命!你要揍请揍我的狗!” “你他喵的是真的狗啊!” 天要亡我,仙要灭我,我唯有一狗,可开天,弑仙...“咦,我的狗呢?” 大道五十,天衍四十九,遁其一;为天机。 众人皆知,应天运而生之人,天地皆协力。 殊不知,天将降大任,必先苦其心志......!必承受,常人无法承受的痛苦。 世间可否有两全之法? 常生来揭晓答案。穿越洪武年间,身为凤阳县令的岳麟,竟被权相胡惟庸弹劾贪污! 皇帝大怒,微服私访,被当做“暴发户”的老朱,自然得到了岳麟的亲切接待。 “这是后膛枪,买了它,北元鞑虏灰飞烟灭,任谁都要给你几分薄面!” “这是工艺坊,十岁小孩弹溜溜,百岁老人盘核桃,出口一本万利!” “这是福利院,老有所依,幼有所养,以后儿孙不孝,免费入住!” 岳麟只觉得,暴发户老朱身后的几个青年,看他的眼神之中充满杀气。 “奉天承运,皇帝诏,曰:岳麟奉旨贪污,为我大明富国强兵!” 一个残疾人靠着幽默在现实直播中实现自身价值。 一个粉丝心中的无冕之王。 老婆多,是他的第一个标签。灵魂歌手,尿床是他的家常便饭。
深圳网站制作公司 讯 如何扫描网站漏洞 企业如何做全网营销方案 网站网络安全情况汇报 长沙低价网络营销 营销型网站设计工资 营销方案 物流网站建设计划书 H5建网站 营销型网站模板 外灵干扰的心理调适咨询【www.richdady.cn】 大龄剩女的幸福指南有哪些?【www.richdady.cn】 与公婆前世的前世修行咨询【www.richdady.cn】 灵魂化解的方法【www.richdady.cn】 婚姻生活不顺咨询【www.richdady.cn】 大龄剩女的婚恋心态如何调整?【企鹅383550880】√转ihbwel 性压抑的案例分享咨询【σσЗ8З55О88О√转ihbwel 前世缘份的故事如何改变命运?咨询【σσЗ8З55О88О√转ihbwel 自闭症的家庭支持咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋规划【www.richdady.cn】√转ihbwel 前世缘份的重逢有何迹象?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世案例【σσЗ8З55О88О√转ihbwel 化解婴灵的最佳时间咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事解析咨询【微:qq383550880 】√转ihbwel 化解咨询【σσЗ8З55О88О√转ihbwel 亲子关系的情感交流【www.richdady.cn】√转ihbwel 事业不顺的职场建议【www.richdady.cn】√转ihbwel 升迁障碍的职场规划如何制定?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 企业如何做全网营销方案 互联网营销 步骤 深圳网站制作公司 讯 优秀网络营销案例分析 网站模 建微网站需要购买官网主机吗 网络信息安全实例 小米手机网络营销战略 杭州网站设计 设计网站的优势 海南网站建设 系统漏洞 网络安全案例 信息安全保障人员认证证书 广东 网络安全空间协会 自己建网站程序 国家信息安全相关政策,-1 互联网营销 步骤 网络安全 新闻 两会 网络安全 企业如何做全网营销方案 优质的营销网站建设 动态网站 soc 信息安全 互联网效果营销服务商 传统市场的营销活动 广东 网络安全空间协会 公司信息安全系统包括 网络安全报警网 信息安全等级保护 定级 网络营销实战演练课程 中国网络信息安全联盟 网站建设 cms 下载 网络营销可以你学吗 网站备案需要什么 国美网络营销策略 营销工具作用 网络安全合格证 网络营销和互联网运营 电商网站报价 国家网络安全部 德州做网站 许可email营销的实施 重庆网站建站价格 高职网络营销怎么样 下载免费网站模板下载安装 营销型网站设计工资 信息安全小组,-1 信息安全保障人员认证证书 网络安全空间大赛信息安全日 免费企业网站 加建网网站 金融网络安全案例分析 网站模 京东商城的整合营销 模板网站优 网络营销专业教育机构 网络营销的开展步骤 推广型网站制作哪家好 免费个人网站申请 郴州网站建设公司 营销主要是营销什么 手机响应式网站 小米手机网络营销战略 网络营销是通过购物的情景变换将产品直接介绍给终端用户以获取利润 信息安全保障人员认证证书 南京网站建设对信息安全的建议 营销方案 网站模 厦门免费建立企业网站 营销主要是营销什么 网站建设公司价位 网络营销型企业网站案例 以网络安全为主题文章 亚马逊的网络营销形式 网络安全报警网 郑州高端网站 功能性网站制作 龙岩做网站 网络营销型企业网站案例 搜索引擎营销 关键词 cpa营销 营销软件 代理招商 优质的营销网站建设 厦门企业官方网站建设 塘厦网络营销外包 设计网站的优势 网站案例库 德州做网站 网络安全 新闻 网络营销可以你学吗 工业与信息安全 中国计算机行业协会网络安全连接 网站左侧滚动带微信二维码的jquery在线qq客服代码 海南网站建设 中山网站设计 影楼营销手段 电商营销策划公司排名 网站背景音乐 大连网站开发 新营销方式 营销型网站模板 传统网络安全公司 广东 网络安全空间协会 网站用字体 网络安全检查自评估表 网站建设公司河南郑州 建微网站需要购买官网主机吗 许可email营销的实施 机房信息安全评估报告 免费网络安全培训课程 网站左侧滚动带微信二维码的jquery在线qq客服代码 网络安全培训材料 网站网络安全情况汇报 龙口做网站 龙口做网站 免费企业网站 手机响应式网站 湖北信息安全网络技术 信息安全技术及应用 中国网络安全市场份额 传统市场的营销活动 免费个人网站申请 杭州网站设计 互联网营销 步骤 深圳信息安全企业,-1 网络信息安全培训班 绵阳房产网站建设 两会 网络安全 网络安全培训材料 网络安全? 云南网络营销 物流网站建设计划书 网络营销实战演练课程 it信息安全 高端广告公司网站建设