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

<a class="close" href="https://xc5.xuvu.cn/">&times;</a>
安恒信息安全研究院互联网信息安全资质证书国网公司网络安全定位对网络营销的感悟网络营销的职责网络安全评估 公司网络安全logo设计图片1大型门户网站服务功能珠海网站建设公司武汉网站设计公司主角为了觉醒系统。 打了三年螺丝, 总算挣够了启动资金! 结果当天被暗恋的女神劈腿。 “世界伤我太深,现在的我只想傍富婆!” 当主角心灰意冷到酒吧买醉, 遇到了颇为照顾自己的富婆蒋韵。 没了系统限制的他直接道出了心里话, “韵姐,我不想再努力了……” 谁知话才说完, “恭喜宿主,您的任务条件达成!” 看主角如何逆袭!本书讲述一珠《寒冰珠》一书《蝶翼九式》 南道第一堂至宝寒冰珠,据传珠身内藏有某样宝物,竞相引人争夺,玄水门花影娘为人喜珠玉,不惜联合枫林庄少庄主叶秋扬夜探珍宝阁。 反转的是,寒冰珠到手还未悟热,又被暗杀堂主派出的人劫获,生性不服输的花影娘又游说落花谷主,聂冷心出山相助,再次上演夜探暗杀堂的戏码叶墨带着记忆重生,来到了明朝,只是这里却和想象中不太一样。 在这里,有江湖 在这里,有权谋 在这里,有恩怨情仇 在这里一切的一切都将重新开始。在这崭新的大明中,且看叶墨如何书写自己的奋斗史。这,这是传说中的齐天大圣孙悟空? 他让我过去,还要教授我无敌绝学? 还让我捅破天,大战天庭与佛界? 真人真事改编古代奇幻小说。故事发生在公元215年三国时期,刘备曹操孙权激斗之时,原二品官员司韦与夫人李冬英一起建立新势力骓驲城。司韦意在一统天下,但在骓驲城内,斗争四起、人心险恶,一场新势力下的宫廷斗剧即将展开...为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   二十一世纪的科研天才李承风穿越大唐,居然变成了李世民的六岁儿子? ??天赐神级熊孩子系统,李承风揪李世民的胡子,开局狂怼房玄龄和杜如晦,他们对此却又无可奈何。 ??李承风利用自己的天才科学知识,一招南水北调解决天灾,研发出来的杂交水稻可亩产2000斤。 ??灭突厥,降伏高句丽,李承风六岁就被赐封为大唐镇国神王。 ??可谓莫愁前路无知己,天下谁人不识君?大家好我是世家独一,阴阳界这部作品是我写的一本小说,由于时间比较富裕,现在语音播讲也是我自己在播,阴阳卷一共十二卷,这部叫阴阳界之仇仙。 简介 阴阳界,一个存在即是合理的地方,因为城隍力量薄弱,强大的阴魂精怪建立的狂欢乐园,横死之人死后会不由自主的被阴阳界吸引,这里就是精怪阴魂的游乐场。风水法器世家岳家长孙岳清山,阴阳杂家吕齐官(地府五官王转世),虎(护)族修罗兄弟(异卵双生),净土宗大尊关门弟子明觉行者(净土宗世间行走),五人组成玄学天团,闯荡阴阳界,梳理华夏龙脉,一扫阴阳界混乱。 (阴阳界首卷,也是起始卷,名字“仇仙”) ps:每天一章,不会多更,如无意外阴阳界600万字起,终生系列,每卷单发单本。 书友群号:阴阳界之仇仙 76922085穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷!穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷!
网络营销 短期培训 网络安全的特点 家庭网络安全 青岛专业做网站的公司北京信息安全中心地址 平顶山全网营销 微博营销的优劣势 地产网站建设 张店网站制作 深圳做h5网站设计 网吧网络安全 有官司的原因分析【www.richdady.cn】 老公家暴的咨询技巧咨询【www.richdady.cn】 什么原因意外的前世修行【www.richdady.cn】 有官司咨询【www.richdady.cn】 婴灵的安抚有哪些实用技巧?咨询【www.richdady.cn】 心特别累的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与老公前世的前世缘分咨询【企鹅383550880】√转ihbwel 大龄剩女的婚恋规划【www.richdady.cn】√转ihbwel 工作压力大导致的精神不振【σσЗ8З55О88О√转ihbwel 事业发展瓶颈突破【企鹅383550880】√转ihbwel 如何了解自己的前世今生咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事如何改变命运?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的前世修行【微:qq383550880 】√转ihbwel 婴灵的超度流程【企鹅383550880】√转ihbwel 事业不顺的职场困境【企鹅383550880】√转ihbwel 事业不顺的职场调整有哪些方法?【微:qq383550880 】√转ihbwel 发育倒退的自我提升【σσЗ8З55О88О√转ihbwel 存不住钱的咨询技巧咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚姻选择有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的问题分析【微:qq383550880 】√转ihbwel 数据库信息安全 哪种网站 优秀网站设计欣赏 洛阳建网站 涿州做网站 网络安全协会发展问题 蘑菇街微博营销 信息安全创新创业报告 模板网站建设 公关营销 网站群系统 html5响应式网站 微信营销引流 信息安全内容安全识别 网站制作公司 顺的 网络安全基线标准 衡水建网站 哪种网站 优秀网站设计欣赏 洛阳建网站 涿州做网站 网络安全协会发展问题 蘑菇街微博营销 信息安全创新创业报告 模板网站建设 公关营销 网站群系统 html5响应式网站 微信营销引流 信息安全内容安全识别 天津大学信息安全 网站移动站 什么是网络安全技术 网络安全审计软件 医院营销学 公关营销 网站用橙色 网站制作公司 顺的 上海网络安全公司招聘 信息安全软件测评中心 微信营销引流 信息安全就是网络安全 互联网信息安全资质证书 分栏型网站 全球网络安全体制的漏洞 网络安全基线标准 网络安全周上海 营销型网站定制 网站查外链 网站建设的素材处理方式 网站交互性 紫色网站模板 地产网站建设 数据库信息安全 北京市网站公司网站 网络安全动态 智能qq邮件营销系统 网络安全审计 如何用网络营销的方法有哪些方法有哪些方法有哪些特点 我国信息安全等级 网络营销好就业吗? 哪种网站 商城网站建设浩森宇特 网站制作 价格 网络安全部署情况 上海网络安全公司招聘 网络信息安全 特点有 如何修改网站关键词 第二届移动互联网产业发展与网络信息安全研讨会在京举行 驱动中国 1大型门户网站服务功能 东莞南城网站建设 淘宝营销课程 紫色网站模板 东莞电商营销公司简介 信息安全软件测评中心 19网站建设 湖北省信息安全等级保护协调小组 网站入口设计规范 银监会信息安全大检查,-1 衡水做网站推广的公司 哪种网站 深圳做h5网站设计 门户网站制作 什么是网络安全技术 网站制作计划 安恒信息安全研究院 网络安全企业 软件信息安全讨论 网络营销案 湖北省信息安全等级保护协调小组 发改委信息安全专项 网站策划方法 关于网络安全的短句 网络安全协会发展问题 家庭网络安全 信息安全经理 简历 超低价的郑州网站建设 东莞南城网站建设 网络安全法 数据公司 微博营销的优劣势 深圳网站建设流程 蘑菇街微博营销 网络营销大学课件ppt 青岛专业做网站的公司北京信息安全中心地址 关于信息安全的比赛 中软吉大网络安全 网站制作公司 顺的 什么是信息计算机网络安全 科技营销 无锡谁会建商务网站 分栏型网站 网站用橙色 网络安全协会发展问题 网络安全资料 上海网站设 对网络营销的感悟 世界著名网络安全公司 青岛网站建设价格 微信营销处于什么阶段 成功营销官网 网站建设:中企动力 科技营销 北京信息安全学院 设计 模板网站建设 中国网络安全空间协会 中国网络安全产业大会公司网站建设 信息安全的特征包括 江门网站制作 国家空间网络安全学院北京网站排名制作 网络营销大学课件ppt 中国网络安全产业大会公司网站建设 网站建设新趋势 网站群系统 广告营销网 武汉网站设计公司