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

<a class="close" href="https://cxuu.shuanshu.com.cn/">&times;</a>
gb/t 20984-2007 信息安全技术信息安全风险评估规范饿了么营销案例天津网站设计南宁市网站建设哪家好网站建设模板呼和浩特网站建设营销型网站模板阳江网站建设最佳信息安全奖个人备案 可以做企业网站吗阳江网站建设最佳信息安全奖天道无情,人亦有情; 仙为何人,魔为何生! 热闹繁华的京城长安发生了一起大案,御史刘文龙被杀,京兆尹崔值奉圣命查案,捕头李成峰和师妹唐婉二人与杀手展开惊心动魄的争斗。最后凶手被诛。二人隐入山中。赵风穿越秦朝成为了始皇帝的第七子,嬴子歌! 原以为远离咸阳便能躲避灾祸,但赵高却找上门,好在系统如愿开启。 【神选一:接受始皇召令,卸下兵权,立即启程返回咸阳。】 【神选二:拒接始皇召令,立刻起兵,自立为王!】 【神选三:接受始皇召令,立刻回都,向始皇索要太子位!】 面对选择,嬴子歌选择了去向嬴政要太子之位。 至此,暴揍胡亥、疯斩徐福、莽破匈奴、凶伏百越..... 蒙恬:报始皇帝陛下,太子殿下率兵诛杀了匈奴二十万。 嬴政:...... 章邯:报始皇帝陛下,太子殿下已经诛杀了六国叛徒,这是刘邦与项羽的人头。 嬴政:...... 万族争霸,祸乱星海,沦落为奴的少年凭一柄神秘之剑,于微末中崛起,勇闯异界,一路逆袭,吞噬无尽种族,铸炼无上剑体,从此踏上热血争霸之路,力压万族天骄,剑斩诸天神王,横扫八方星海,乱世之中为人族斩开一片天,带领人族称尊寰宇!最终成为一代人王剑尊! “天赋逆天,机缘无数,杀不死我的,终将成为我的养料!” “吾为万古第一人王,诸天万界第一剑尊!”末世降临,秩序重置,当奢繁的上流社会与朴实的下流社会相碰撞;当异兽横行,死亡如风;当一觉醒来,打工人的心脏里长出一个特殊“媒介”时……人类,似乎遇到了比末世更恐怖的危机。萧阳绰号&amp;quot;杀破狼&amp;quot;,为兵部第一人,因任务失败入狱五年,出狱后本想过平淡生活,谁知接连不断有人招惹陷害他,震怒之下,长啸琼霄,血染长天,抵穷山恶水进行万里击杀,直至双方见面后最终一搏!因为一场意外死亡穿越到全是机甲的异世界,在这个异世界的生活中,温馨平常而又惊险的生活。因为一个事件被卷入了王国与王国的斗争,也让主角遇到了许许多多的同伴。在这段生活中,主角与同伴互相相爱相杀也使主角的生活变的更加多彩。作为穿越的宅男,他宅心仁厚,只想独自修炼,奈何亲情,友情,爱情......虽然他总想避世,却总是卷入滚滚红尘,去面对江湖的纷纷扰扰。要么懦弱的死去,要么坚强的活下去,他不是怕事,只是喜欢低调,风雨欲来,那就不断的变强吧... 虽然文笔很烂,我会继续写下去的,那是我心中的仙侠梦........随着怪异的天灾降临,世界各地出现了各种奇怪的现象。浓雾带来了人类的觉醒,动植物的进化,似乎一切都预示着新的纪元即将到来。 “既然一切不合心意,那就,重启这个时代好了。” [无女主+不圣母]一个死而另类复生的人,在人类的世界就已经不再属于参与者了,整个世界对于这个人而言只是一场长途的履行罢了。
网络营销的句子 微信手机网站 信息安全工程系 福州网站建设网络公司 北京网络安全工程师培训 娃哈哈产品营销策略全面解读网络安全法 中国网络安全法律法规 南通网站建设知识 上海 互联网营销公司 网络营销能力秀软文 公司破产的心理调适【www.richdady.cn】 亲子关系的互动模式咨询【www.richdady.cn】 孩子不爱读书的心理分析有哪些?【www.richdady.cn】 缺心眼的咨询技巧咨询【www.richdady.cn】 化解冤亲债主的有效方法【www.richdady.cn】 前世缘份的前世影响咨询【www.richdady.cn】√转ihbwel 忧郁症的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心理咨询与灵性指导【σσЗ8З55О88О√转ihbwel 冤亲债主的定义咨询【企鹅383550880】√转ihbwel 耳鸣的环境影响【σσЗ8З55О88О√转ihbwel 头脑混沌的心理调适【σσЗ8З55О88О√转ihbwel 外灵的种类【σσЗ8З55О88О√转ihbwel 心特别累的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家宅磁场干扰的原因咨询【微:qq383550880 】√转ihbwel 家宅磁场的检测工具咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰有哪些症状?咨询【www.richdady.cn】√转ihbwel 头脑混沌的环境影响【σσЗ8З55О88О√转ihbwel 不爱读书的案例分享【www.richdady.cn】√转ihbwel 官司的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 温州建网站 营销的宣传语 启明星辰网络安全审计 win10网络安全设置 河南信息安全公司排名 北京的网络安全公司 网站推广外包 信息安全——企业抵御风险之道 周口做网站 网络安全设备连接方法 内网信息安全解决方案,-1 网络信息安全管理员 报名 江苏营销型网站公司 网络安全局头像 校园网信息安全 网络安全主题网站 营销的要点是什么 信息安全人才培养计划 北京网络安全工程师培训 天融信网络安全审计系统 信息安全是指信息在 信息安全大事记 西安信息安全培训 马云营销企业 第二届360杯全国大学生信息安全技术大赛,-1 网络安全实验室答案 小区社群微信营销 中国网络安全法律法规 网络安全评估资质 病毒性营销案例视频 信息安全要求 福州优化营销 网络营销的句子 计算机信息安全技术 付 问答营销案例是什么 智能建网站 网络营销专业建设指南 全网营销 必修课 网络安全取证 免费网络营销 中山网站设计外包 网站推广外包 如何制作网站 如何制作网站 网络营销实训课程 郑州做网站 网络安全设备连接方法 世界环境日借势营销 行业网络安全与信息通报工作情况 网络营销168招 淘宝 《国家信息化领导小组关于加强信息安全保障工作的意见》 全面的郑州网站建设 重庆市网络安全协会 gb/t 20984-2007 信息安全技术信息安全风险评估规范 信息安全人才培养计划 2015中央网络安全 网络安全测评报告 温州建网站 信息安全——企业抵御风险之道 网络营销报 网站推广目标 高端定制网站建设制作 个人网络信息安全 新型网络营销是什么意思 2014年中国计算机网络安全年会 北京的网络安全公司 河南信息安全公司排名 网络安全验证码公司 南通网站建设知识 信息安全工程系 花呗营销 2014年中国计算机网络安全年会 网络安全公开课2017 网络安全实验室答案 营销的宣传语 信息安全邀请赛 全面的郑州网站建设 网络营销能力秀软文 重庆信息安全产业股份有限公司 网络安全产品的重要性 与网络营销相关的书籍 网络安全局头像 高端定制网站建设制作 信息安全等级保护作用 快消品网络营销推广 网站建设套餐报价 第二届360杯全国大学生信息安全技术大赛,-1 温州建网站 工信委网络安全设备 深圳有哪些网络安全公司 营销型网站模板 音乐网站的色彩搭配 个人备案 可以做企业网站吗 南京营销型网站 信息安全大事记 网络安全 测试网站 信息安全是指信息在 网络安全取证 网络安全app衡水网站制作报价 小米手机网络营销推广 个人网络信息安全 信息安全语录,-1 网络营销百度达内吧 计算机信息安全技术 付 信息安全要求 天融信网络安全审计系统 网站型营销 网站型营销 花呗营销 中山网站设计外包 2014 国家信息安全专项 网络安全研究所 信息安全理论技术与应用基础 网络营销报 大连网站优化公司 做个网站多少钱网站网页文案怎么写 国防信息安全的老大,-1 如何做搜索引擎营销 网络营销策划 费用 第二届360杯全国大学生信息安全技术大赛,-1 福州网站建设网络公司 网络安全app衡水网站制作报价 2015中央网络安全 上海 互联网营销公司 问答营销案例是什么 中企动力网站 网络安全实验室答案 网络营销11 网络安全局头像 网络营销理念包含哪些 杭州制作公司网站 郑州做网站 病毒营销的三个特点是什么意思 网络安全公开课2017 网络信息安全风险解决方案