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

<a class="close" href="https://ury8.xevi.cn/">&times;</a>
电话营销的优点网站外链建设好三网网站营销策划和销售的区别网络安全法 网信办单页式网站网络营销分为网络信息安全技术下载江苏信息网络安全协会电商营销公司做什么脑子有一扇门,可以自由穿越异世界。 本来以为可以当个小倒爷,在平平无奇的古代世界享受财主生活,结果这个世界有佛,有妖,有儒,有道,有武者。   有人能力拔千钧,有人能飞天遁地。 千年人参要不要? 绝世神功要不要? 长生不老丹姚不远? 当姚不远带着高武世界的东西回来,美女要倒贴他,豪门世界,古武门派,争相而来,跪求宝贝。 姚不远心道,我能说这些东西都是垃圾吗?一洛之海,万丈之深,水是命源,洛海之根修真本是登天路,奈何大道不眷民。穿越到玄幻世界,好不容易加入了圣地宗门觉醒了御灵系统 谁想到攒了几个月家底贷款炼制出来的御灵丹就被圣地的圣女师姐误食了 结果因祸得福,获得隐藏奖励 但是接下来的和灵宠服从性测试任务让白云琦傻眼了 “首先是原地转圈!” “然后是摸头舔手!” “最后是以坐骑形态出击!” ....... “师姐,你也不想你在大庭广众之下做服从性测试吧?” 本以为一次是意外,但一次接一次的被其他美少女吃下御灵丹,白云琦的心态发生了微妙的变化:这是御灵还是御人啊...... 赵全,应用化学及治金双料硕士,毕业后学无所用,无房无车无女友,穿越后遂为赵瑔,江西铅山赵家庄里正之子,时逢南宋末年,宋廷上下偏安一隅苟且偷安,赵瑔以所学创业,引领宋人时尚风标,一步跨入富豪行列,计划趁大宋终结前乘船下南洋占个地方做“南阳村长”赵家庄之福引来盗匪垂涎,赵瑔不得不自建民团以自保,前世宅男从无逐鹿天下的雄霸之心,以“草根”为荣,但世事难料,为获取心仪女孩青睐,赵瑔剽窃伟人诗词以“才子”之名不胫而走,高薪聘请工匠得“奢遮小官人”褒誉。锲而不舍想泡美艳无双的白莲教天母,率民团连破白莲教数城。白富美愿以身相许,赵瑔大手笔招揽安置流民,大举开拓宝岛台湾。葛皂山灵宝天尊到场“以客座首席长老”礼待,朝廷封赐忠武节度使”,当赵瑔一步步被罩上光芒四射的主角光环时该何去何从?率领武装到牙齿的龙神军暴们下南洋占地当村长?指挥天下无二的强大帆舰称霸四海殖民东西半球?还是挥师北上笑看火枪对决弓马? 丧尸突然在校园出现,校园只剩二百多名同学包括四个校花,我们的主角苏长影会怎么做呢?他会拿下四个校花冲出校园,过上神仙般的生活吗?一个顶尖的剑客,为情遭人陷害,武功禁失,力经千难万险,恢复自己的功夫。 一个失了忆的刀客,初入江湖,想找回记忆,可是江湖险恶让想找回失忆的刀客受尽艰辛苦难。 这样奇葩的一刀一剑相遇了,他们会在江湖中刀歌剑舞着自己的故事满堂花醉三千客,一剑霜寒十四州。 觉醒了【无上剑心】的落魄皇子段宗成为了天山剑派的观剑弟子,手握灵剑,他能看到剑中蕴藏着的人生大道。 手持千万灵剑,掌握千万剑意。 【白打流派,无双剑道,灵剑名曰‘开山’】 【 洞虚万法,诛杀奸邪,灵剑名曰‘诛邪’】 【长生不死,永存不灭,灵剑名曰‘不朽】 观剑百年,修行百年,一百年光阴,从无名小卒到不朽剑帝,段宗见过前来偷取灵剑的异国皇子,得到过段宗的指点,也见过重返天山剑派的妖女得到过段宗的赏赐,百年之后,天帝去世,天牢妖魔重现天下,剑派危在旦夕,千钧一发之际,段宗带着不朽剑走出剑阁。 “本帝在此,狼狈为奸者,谋权篡位者,倒行逆施者,妖言惑众者,都要死!” 岁月不曾磨灭英雄的意志,讲述时代洪流中一个小人物的成长史。六子,一个代号,一个化名,一个象征希望的名字。 跟我一起走近他,走进那段艰辛岁月,体会一个老党员的拳拳爱国之心。 不忘来时路,一起向未来!读了红楼梦,每个人心里都有一个红楼“梦”.... 这是一个平平无奇,不知所谓,符合环境,普通凡人版的文艺梦。
信息安全等保必要性 2016 中国网络安全年会 成都 商丘做网站 视频网络安全知识讲座 网络安全法 网信办 网络营销内容是什么 asp网站制作 邢台网站制作有哪些 开网站公司 长春网站推广 老公家暴的环境影响【www.richdady.cn】 阴间生活的前世影响【www.richdady.cn】 升迁障碍的职场晋升技巧有哪些?咨询【www.richdady.cn】 大龄剩女的婚恋经验咨询【www.richdady.cn】 孩子厌学的案例分享【www.richdady.cn】 性压抑的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵干扰的环境影响【www.richdady.cn】√转ihbwel 前世老婆的前世修行咨询【σσЗ8З55О88О√转ihbwel 家宅磁场的常见问题【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 为什么过世的原因分析咨询【企鹅383550880】√转ihbwel 儿子不读书的解决方法【微:qq383550880 】√转ihbwel 强迫症的家庭支持咨询【微:qq383550880 】√转ihbwel 亲子关系的教育策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的前世因果咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感重建方法有哪些?【σσЗ8З55О88О√转ihbwel 冤亲债主干扰对生活有何影响?咨询【σσЗ8З55О88О√转ihbwel 意外的前世缘分咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的前世修行咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 化解【www.richdady.cn】√转ihbwel 性压抑的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络安全威胁主要包括 信息安全等保必要性 视频营销推广软件哪个好 linux下网络安全 asp网站制作 k网站建设 京东网络营销特点 济南网站建设和维护 长沙网站建设工作室 南京seo营销 网络营销多层次 映客 营销 网络安全产品排名 网络安全的目标是什么 信阳做网站 编程和网络安全哪个好 信息安全的公司信息安全防火墙源码 岑溪网站开发 网络安全的工作 第三方网络安全服务平台 微信运营营销的区别是什么意思 国内网络安全大事件 网络安全技术?P?本 网站开发的缺点 大连大型网站制作公司 1、大型门户网站服务功能 公司内部信息安全 莞城网站制作 好三网网站 网络安全 主题会议 信息安全等保必要性 网络安全课程表 网络营销多层次 重庆营销网站建设 农产品网络营销与实施 龙岗网站制作 网站开发的缺点 美国信息安全实验室 营销策划和销售的区别 广东网络安全 比赛 北京网络安全协会 国家网络安全等级保护制度 南京seo营销 那曲网站建设 济南网站建设和维护 营销的基本流程 我们国家网络安全吗? 网络安全及解决方法 网络营销用不用考研 南京网站优化 化妆品 网站建设案例 大连网站设计公司排名 重庆网络信息安全 linux下网络安全 云创通11营销手机 2014网络安全问题 网站优化哪里好 asp网站制作 如何建立企业网站 对信息系统运营使用单位的信息安全等级保护工作情况,-1 k网站建设 网站快速收录 对信息系统运营 使用单位的信息安全等级保护工作情况进行检查 编程和网络安全哪个好 公司网站建立教程 公司网站建立教程 大连网站设计公司排名 如何进网站 对信息系统运营使用单位的信息安全等级保护工作情况,-1 2016 中国网络安全年会 成都 湛江有帮公司做网站科技营销顾问有限公司 易企网站建设 深圳企业建网站公司 莞城网站制作 国家网络安全管理法规 网络营销教学 长沙网站建设工作室 常州网站制作 网络和信息安全专业 日常办公应注意的信息安全 网络安全 主题会议 微信运营营销的区别是什么意思 开网站公司 深圳营销型网站公司 网络营销信息传播过程 国内网络安全大事件 小学学校网站设计模板 河南建网站 网络安全重点实验室 网络安全的目标是什么 信息安全最新新闻 南京seo营销 isp信息安全管理措施网络营销漏斗图 信息与 网络安全的基本概念 网站的设计 长沙网站建设工作室 北京市网络安全检测 2016网络安全大事记 深圳营销型网站公司 上海网站优化 网络安全威胁与风险分析需求报告 1、大型门户网站服务功能 视频营销推广软件哪个好 电力行业信息安全等级保护 优秀的网站设计案例 深圳营销公司策划方案 暗网网站 网络安全架构 缓冲区 网站建设后怎么 视频营销推广软件哪个好 关于网络安全信息 信阳做网站 网络安全实验室wp 计算机网络安全心得体会 网络营销用不用考研 商丘做网站 计算机网络安全考试 我们国家网络安全吗? 易企网站建设 大连大型网站制作公司 asp网站制作 小学学校网站设计模板 日常办公应注意的信息安全 信息安全在生活中的应用 重庆建网站公司 深圳网站制作公司 网络安全的工作 关于网络安全信息 信息安全资质有效期 农产品网络营销与实施 商丘做网站 黑龙江省网络安全协会 信息安全在生活中的应用 网站须知 中国信息安全风险