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

<a class="close" href="https://ty19.885588.cn/">&times;</a>
日本 网络安全西宁网站广州域名企业网站建站哪家好网络信息安全 撤销网站网络安全编程与实践 pdf网站建设品信息安全技术信息系统等级保护安全设计技术要求,-1十大网络安全案件网络安全 维基海珠做网站国家信息安全局待遇重生,生命体进化,文明等级进化,科幻探索冒险这是一部架空的水浒传。 小书生来到大宋朝,在青楼里称雄、太监群里横走,闯大事业、做人上人;和李师师吟诗词,成赵元奴座上客,泡泡公主、郡主,觅觅美娘、娇娘…戏林冲娘子,夺武松嫂子,撩花荣妹子,敢和扈三娘比武艺、陪梁红玉练功夫…没事装装逼,淘淘宝,修侠访道,结交些五湖.四海乱七八糟的好汉,生活是多么美好!可是一不小心身陷国恨家仇的漩涡。是揭竿而起、替天行道?还是以奸制奸、重塑新的大宋? 王伦:我真不想上梁山啊!前世,被女友和弟弟诓骗白白葬送了一生 重来一世,什么爱情,什么友情,什么亲情,我要搞事业,我要成为大陆第一召唤师,可这条道好顺畅啊,你倒是阻拦我一下啊,别人也是这么顺畅吗?身世悲惨的我穿越到了异世界竟然是主角的垫脚石?坑爹啊!(新人,文笔不行请见谅)“鄂州动而天下乱,鄂州安而天下定!”在中华上下五千年的历史车轮中,鄂州一直扮演着举足轻重的角色。 从上古时期黄帝与蚩尤之战中的九黎部落的站位,导致蚩尤战败身首异处;到禹分九洲的三苗族与夏王朝数百年的对峙,最终两个部落在相爱相杀中远走中原;再到商王朝勋贵之首的鄂候,为救九侯而犯颜强谏,结果遭到商纣王脯刑,商王朝也因此尽失天下;再到与西周硬刚三百余年的鄂侯驭方,其“振臂一呼,应者云集”,与淮夷东夷联军,一直打到东都成周(今洛阳市东白马寺一带)附近,然后两方互相消耗中磕死了对方,直到现在鄂地人们还有“不服周”一说。一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心主角房齐天是个刚高考完的学生,在接受了大学毕业后准备和同学们一起去游玩的留学生——表哥余秋明的邀请后来到了富家子弟的私人飞机上。飞机在空中飞行时进了一个虫洞,是穿越?还是穿越到古代?落地后发现这是一个名为“瑞”的朝代。 房齐天的名字变成了花零,并且在经历了许多事后被告知这是上古时代。还说希望文明回到正轨就要牺牲一个人并接受诅咒,让文明全部毁灭,这太荒谬了。花零最终完成了这些“神”给予她的“任务”,文明消散后花零在这个时空的家庭也不复存在,所有人都会忘记花零。 ——神明那所谓的诅咒就是:永生不死。 永生后的花零目睹了所有朝代的兴旺衰败,目睹了国家与国家之前的勾心斗角,历史的兴旺衰败花零都看下来了。 但是花零的永生可是被杀被碎尸万段都能够无限复活的永生,当然不止能看那五千年…… 异世赌徒遇到当世疯子,风云变幻,看得他俩如何作死,在这人命如草芥的世界,如何为人类谋福祉呢?八大系统集一身!“我无敌,你随意.”江尘无视诸位万界大能,淡淡道。我叫“空”这是我第一世父母起的名字。我有过很多人生,可每一世的生命只有20年,我好像被什么人给控制了,我要打破这种控制,无论我怎么反抗都是竹篮打水,一场空。直到这一世我终于有了结果…………
日本 网络安全 信息安全等级保护二级标准 唐山网站建设 信息安全总监 深圳 100 外链营销的发展趋势 公安网络安全保卫培训 信息安全 西安 dsp营销 网站托管维护 如何为公司做网站 孩子压力大的改运方法咨询【www.richdady.cn】 前世缘份的续写有哪些方法?咨询【www.richdady.cn】 感情纠纷的情感修复方法有哪些?【www.richdady.cn】 耳鸣的原因分析咨询【www.richdady.cn】 心特别累的咨询技巧咨询【www.richdady.cn】 婴灵的超度流程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的前世因果咨询【σσЗ8З55О88О√转ihbwel 婴灵的预防措施【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋经验有哪些?【σσЗ8З55О88О√转ihbwel 儿子抑郁症的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何判断自己是否被冤亲债主干扰?【微:qq383550880 】√转ihbwel 祖灵对家族的影响【www.richdady.cn】√转ihbwel 心理咨询与灵性指导威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公【www.richdady.cn】√转ihbwel 亲子关系的教育理念咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰与超度【企鹅383550880】√转ihbwel 投资项目咨询【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的案例分享咨询【www.richdady.cn】√转ihbwel 阜新网站建设 网络营销内容是什么意思 dsp营销 全网营销产品套餐 国家信息安全服务资质一级 南通网站建设 南大街 遵义网站建设 网络推广营销招聘 珠海网站优化 政府网络安全事件 信息安全系统登记备案 态势感知 网络安全 公安网络安全保卫培训 婚纱制作网站 台山网站建设 wap网站开发 设计云网站 注册网站 福州做网站的 信息安全风险评估规... 信息安全竞赛干什么 网络营销专业介绍ppt 营销软件站免费下载 微营销总结 南京做网站 个人网站建立 功能营销 信息安全系统登记备案 网络事件营销策划书 搜索引擎营销策略分析报告 社会化媒体营销 信息安全专业考证吗 滁州做网站 制学网网站 网络安全保卫局郭 信息安全 西安 国家信息安全服务资质一级 大学生网络安全知识竞赛 网络安全和运维哪个好 加强网络安全工作建议 建网站过程 旅游模板网站 网络推广营销招聘 镇江网站建设机构 营销标题大全 苏州高端网站设计 网络信息安全的关键技术不包括 信息安全大赛都有什么,-1 网络安全和运维哪个好 通信信息安全培训 如何建立企业网站 工业控制网络安全题库 做网站好处 注册网站 鸡西网站建设 婚纱制作网站 信息科技有限公司网站建设 网站页面设计 网络对营销组合的影响 北京专业做网站 信息安全 校招,-1 支付宝的网络营销战略 互联网网络安全ppt 冲突点营销 网络安全密钥怎么设置 网络信息安全 党员 免费新建网站 信息安全竞赛干什么 深圳网络营销三只蜘蛛 西安网站挂标 专业做网站 做网站好处 全网营销产品套餐 徐州网站制作如何定位 服务营销产品定价策略 西宁网站 全网平台营销 服务营销产品定价策略 信息安全竞赛干什么 网站申请 免费建手机网站 高大上设计网站欣赏 外链营销的发展趋势 网站页面设计 北京邮电大学 信息安全 成都网络营销市场调研 网络信息安全 撤销网站网络安全编程与实践 pdf 网络营销战略特点 信息安全竞赛干什么 北京邮电大学 信息安全 郑州网络安全 it信息安全ppt,-1 政府网络安全事件 郑州网络安全 做网站好处 免费新建网站 制学网网站 上海网站设计建设 网络营销知识运营网店 徐州网站制作如何定位 信息安全风险评估规... 信息科技有限公司网站建设 信息安全 校招,-1 信息安全技术信息系统等级保护安全设计技术要求,-1 官方网站欣赏 营销的劣势 信息安全竞赛干什么 态势感知 网络安全 杭州品牌网站建设 国家信息安全服务资质一级 海珠做网站 上海知名网站建设公司 西安制作网站 网站申请 营销标题大全 如何为公司做网站 网络营销战略特点 遵义网站建设 传统营销分析方法网信办 信息安全 国际 信息安全等级保护信息安全等级保护管理办法 加强网络安全工作建议 网络营销战略特点 珠海网站优化 网络安全密钥怎么设置 西安网站挂标 珠海网站优化 福州网站制作好的企业 信息安全竞赛干什么 企业网站建设亮点 免费新建网站 徐州网站制作如何定位 做网站好处 信息安全认证技术有限公司 北京学网络营销 大学生网络安全知识竞赛