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

<a class="close" href="https://arwyw.niexun.cn/">&times;</a>
国内信息安全公司排名,-1医院营销推广活动计划网络营销内容是什么意思2016网络安全大事记广州网站优化信息安全软件测评中心公司网站域名是什么网络安全培训学校网站的意义网络信息安全公安,-1星野辉本身是一个平常的中国籍日本高中生,却莫名转学到了中国,与谜一样的可爱妹妹独自生活在Z市,自己身体里也藏有谜一样的事物,面对突如其来的灾难,他站出来为了人类的未来,为了这个宇宙的安宁,星野辉开启了他的无限深空之旅在贪的界域! 没有主角。 没有主线。 也没有套路。 只有贪欲,和一尊,贪佛! 佛本仁心,乱起贪作。 芸芸众生,贪而诛之......我秦飞,这辈子,有刀,有守护之人,足以。叶帆重生在元宇宙刚刚开始的时候。 没有人比他更加清楚元宇宙到底是一个什么样的东西。 这是一个地球文明与高级文明联网的时代。 这是一个地球变异、人类接受各种全新科技、基因突变、生命进化的时代。 这是一个充满了机遇与挑战的时代。 前世的叶帆只能仰望强者,在卑微中走向死亡。 这一世,叶帆要向生命的终极进化迈进!皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书李相如意外认主祖传古书,从此踏上了精彩纷呈的修真之旅“别人是被炮弹追着轰,我特么是被核弹追着炸!” 核弹灭世之后,主角被迫寻找修道寻仙之路。 然而作为一位修仙小白,遭受修仙门派收徒时的白眼。 “小白!你境界都没有!”守护修士冷眼看了过来。 “没有资格入门。” 可是主角我有金手指啊! “我特别强调一下:打我的时候需要控制力量,不许使用超过一成的力量!” “你们总是不听话!” 安临渊把头仰起,45度朝向天空, “我说不许使用超过一成的力量是在保护你们!” 在凡人地界,核武末世下走投无路的安临渊,迫不得已,被逼入进入阿尔卑斯门,寻求庇护。 安临渊开始走向修仙道路。 即使安临渊已经遁入阿尔卑斯门修仙求道,凡人地界依然未放弃对安临渊的追杀。 安临渊不断遭遇各种追杀。随着修仙境界的不断提升,被追杀的同时,也展开自己的复仇行动。丘处机述说的,王重阳与林朝英故事,从何得知?属事实全部? 「金童剑法」与林朝英有何关係?何以会令她难以呼吸? 「不变山峦」乃借助金国力量,图谋「灭宋室,復南唐」的组织。他们训练的「暗黑剑士」手段凶残偏激,宋国义士不齿其为虎作伥,鄙称「魔峦」。林朝英身为剑士,奉命取「义守楚州第一人」王世雄头颅,过程中却对他萌生了情愫。 宋民的楚州据地遭金军剿灭,王世雄悲恸中失去踪影,林朝英宁负背叛之名,执意寻访他的下落。八年间渡过重重险阻,终找到改名「王重阳」的他。 一本写有捱打不受伤秘诀的经书,一个牵涉魔峦多方势力利益的阴谋,一场金国暴军南侵的战役……林朝英与王重阳并剑使出「金童丹志剑法」力挽狂澜;纵几番散聚,二人坚持情义,还订立双双归隐「活死人墓」之约…… 怎奈下场却落得 ── 丹志枉,负素心,一生绸缪悲遗憾; 玉女愿,让金童,惟寄卷藏将约践。 来,从新从心去体验,这段耳熟能详故事裡,「缘分倒颠」的那些人和那些事……特种兵赵阳一觉醒来却发现自己竟然魂穿三国时代,并且获得了无双帝皇系统。他从此开始收名将,纳美人,灭刘备,退孙权,拒曹操煌煌一世。曹操:“我曹氏子弟不如子炎分毫。”刘备:“谁能帮我除了赵子炎,我封他为王。”孙权:“赵子炎是上天派来惩罚我的吗?”赵阳:“我还没发力,你们全倒下了,还让我怎么玩啊?”最后问鼎江山一统天下。赵阳看着眼前的皇座,心中无限感慨:“我本低调,但实力不允许,奈何奈何~~”诸神黄昏,人神魔三间大战, 一剑斩星辰,一眼灭神帝,乱世之中,谁是英雄。 少年正缓缓苏醒……
学校网站欣赏中文 中国 信息安全 法规 网络营销与ui设计方案 信息安全资质 咨询 营销班 贵州省信息安全测评中心 免费网站设计 网站策划图 信息安全竞赛时间 山大信息安全好不好 财运不佳的心理调适咨询【www.richdady.cn】 大龄剩女的婚恋建议有哪些?咨询【www.richdady.cn】 意外的原因咨询【www.richdady.cn】 失业的环境影响咨询【www.richdady.cn】 不爱读书的自我提升【www.richdady.cn】 财运不佳的财富转运方法有哪些?咨询【www.richdady.cn】√转ihbwel 婚姻生活不顺的咨询技巧咨询【www.richdady.cn】√转ihbwel 缺心眼的环境影响【微:qq383550880 】√转ihbwel 无形干扰的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症【微:qq383550880 】√转ihbwel 与男友前世的影响分析【微:qq383550880 】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?咨询【微:qq383550880 】√转ihbwel 官司的法律咨询【σσЗ8З55О88О√转ihbwel 学习成绩差【www.richdady.cn】√转ihbwel 亲子关系的教育策略【www.richdady.cn】√转ihbwel 亲子关系的家庭氛围【σσЗ8З55О88О√转ihbwel 儿子抑郁症的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子厌学的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的自我保护威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的原因分析咨询【微:qq383550880 】√转ihbwel 2009网络安全事件 网站改版公司 营销推手 湛江有那些网站制作公司 信息安全咨询师 信息安全保护等级认定机构名单 网站的意义 中国信息安全风险 保密局 信息安全测评 安恒信息安全研究院 信息安全资质 咨询 聊城网站制作价格 网站利用百度离线地图 在线营销工具包 营销班 病毒营销 案例 2016 深圳 企业 网站建设 东台网站制作 昆明建网站要多少钱 全国信息网络安全协... 网络信息安全公安,-1 网站快照 如何建网站 南昌寻南昌网站设计 禅城区建网站公司 营销机构图 阿克苏网站建设 rce信息安全 提供佛山顺德网站设计 网络安全培训学校 商城建网站 信息安全咨询师 网站制作价 信息安全 本科 杭州营销外包公司 国内信息安全公司排名,-1 绵阳网站建设 深圳信息安全公司排名 浙江营销策划 计算机网络信息安全 信息安全最新新闻 信息安全评估多长时间 信息安全峰会2017教育行业网络安全现状 饥饿营销案例有哪些 信息安全测评认证中心网络信息安全日 扁平化设计网站 单页面网站 seo网站推广方案 网络信息安全公安,-1 邮件营销 模板 济南网站制作设计公司互联网公司营销方案 王老吉营销方案分析 seo网站推广方案 公司在保护公司信息安全 深圳全网整合营销 保密局 信息安全测评 公司在保护公司信息安全 贵州省信息安全测评中心 信息安全工作证是什么,-1 网站建设 银川 长沙 网站建设 医院营销推广活动计划 灰色的网站 商城建网站 珠海高端网站制作公司 东莞长安网络营销招聘 营销推手 病毒营销 案例 2016 成立一个做网站的公司成本 信息安全平台 南通网站建设空间 国内网络安全大事件 国家信息安全管理的主要规定包括,-1 企业手机网站建设精英 信息安全违规 聊城网站制作价格 信息安全是指 广州网站优化 重要保障期间网络安全保障方案 营销机构图 互动营销型网站建设 ruby开发 信息安全 商城建网站 信息安全咨询师 网络营销培训公司 网络安全和信息化职责 国内信息安全公司排名,-1 如何建立网站 国家网络安全管理法规 成功营销官网 网络安全的技术 建设网站费用社会化网络营销的特征 网站与维护 网站怎么设置支付 装修网站建设 安阳做网站 天津大学信息安全 网络营销分为哪些类型 广汉网站 国家信息安全管理的主要规定包括,-1 杭州营销外包公司 青岛专业餐饮网站制作 营销班 珠海 旅游 网站建设 成都网络安全现状 网站方案策划书 网络安全和信息化职责 网站改版公司 公司网站域名是什么 服务好的微网站建设 微信移动网站建设 网站利用百度离线地图 扁平化设计网站 网络营销培训公司 安阳做网站 计算机网络安全心得体会 信息安全工作证是什么,-1 国家信息安全部长 信息安全资质有效期 网站制作价 国家信息安全部长 微信移动网站建设 公司网站重新建站通知 沈阳微网站 营销推手 深圳 企业 网站建设 信息安全内容安全识别 网站设计和制作费用 杭州互联网营销 培训机构 网络营销策划方案案例 如何建网站 成都网络安全现状 信息安全违规 网络安全法 网信办 ruby开发 信息安全