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

<a class="close" href="https://l3tuf.vetpc.cn/">&times;</a>
免费网站建设深圳网站建设公司招聘电话销售卫龙整合营销360网络安全实验室数据计算机网络安全的访问控制技术主要有基于南通动态网站建设h5网站作用网络安全逆向工程整合传播营销江苏网站建设机构一名普通的高中生林晶蓝,在悬崖下大难不死,开始了他的美好幸福生活。 从此,莹城出现了一个叫做蓝哥的传说。 与此同时,各种各样的美女和强敌也出现在林晶蓝的身边。 且看林晶蓝如何泡校花,破强敌,成就传说。 莹城第一校草,非林晶蓝莫属。 大明万历四十八年,陈操因为一次意外魂穿明朝,开启了人生霸业之旅我是谁?我在废墟残垣中醒来,人类和机器人的战争让世界都濒临毁灭,谁来救救我们?谁来救救世界?谁来拯救这次末日之战?活在这个动乱的年代,身为江湖大佬的许锐锋已经很疲惫了,当他准备相亲过点小日子时,没想到竟然相亲相回来一个间谍…… 她,深入敌营窃取情报; 她,组建底下情报网络向中央传递信息; 她,在敌后无孔不入,备受嘉奖。 当全世界都以为这个女人是王牌特工时,她,却矮下了身子正在给许锐锋洗脚。 因为她知道,没有这个男人,自己早死了成千上万回,而整个北满的日本人都在以抓到这个男人为荣。 他,就是北满第一杀手,左手枪王,北满地下秩序的统帅,大老许。天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么?【末世+系统+种田+塔防类小说】来啦! 故事发生在废土纪元4999年的蔚蓝星。 深藏在地底深处已达千年的人类再度重启了返回地面的计划,早就被核辐射污染的地面已经充满了各类恐怖的变异生物。 看着密密麻麻冲向自己的怪物浪潮,岚峰撇了撇嘴从怀里掏出了几百台激光高射炮。大梁内忧外患,民族已经到了生死存亡之际。 陈杉穿越,一个读博的在校生,来到古代,带着前世的记忆,在古代拖家带口的搞发明。 这书没有系统。 陈衫将在这里遇见很多美女,以及在古代生活的点点滴滴,一步步把大梁带到世界之巅。 我不是神,但是我有创造神迹的能力。 你们自认为很强大,在我眼里不过只是一帮石器时代的野蛮人罢了。 不要挑战我的权威,因为我也不知道你会变成什么样。 燧发枪:烟雾太大,阻挡视线。 后装弹:需要的东西比较多,但也不是做不出来。 大炮:实心弹、散弹、?榴弹,供客户多种选择。 热气球:天降正义了解一下? 机枪:转轮的做不出来,抱歉,只能用这个来阻挡你们的冲锋。 战略舰:口径意味着真理。 装甲列车:修路修到你家门口,这个不过分吧。 双翼飞机:喷气做不出来,在你头上扔垃圾还是能做到的。 天地不仁,以万物为刍狗!执棋者,以天地为棋盘,众生为棋子,身为棋子却想掀翻这棋盘,而他做的便是“要这天再也遮不住我的眼,要这地再也不能束缚我的脚步;我要踏碎凌霄放肆桀骜,我要用这铁棒打散那满天的神佛!”2058年,科技全面发展,仿生人走入家家户户,人类的外表机械的内心,独立的情感甚至不会被分辨身份,不为人知的角落,机器正在觉醒,意识渐渐复苏,程序的轨迹已经不可预计,觉醒正在来临······“但得妖娆能举动,取回长乐侍君王......” 我竟穿越到了气运即将耗尽的商纣? 而且我还就是那个最昏庸无道的纣王帝辛? 骂我好色?忍了! 骂我嗜酒?也忍了! 骂我昏君?绝对不行! 拉龙族灭灾患抗天庭,维护人皇权威! 盈国库普教育得民心,重振大商雄风! 天庭西方阐教,我都不服 人族神族妖族,我全都要 我就是人皇帝辛!史上第一明君!
商业网站建设 计算机网络安全 实验 深圳建网站的公 win7网络安全模式上qq 三门峡网站建设 网站设计的公司 警惕网络窃密构筑网络安全防火墙视频 电商的内容营销案例 大石桥网站 设计网站考虑哪些因素 财运不佳的改运技巧咨询【www.richdady.cn】 与公婆前世的识别方法【www.richdady.cn】 与老公前世的咨询技巧【www.richdady.cn】 家庭关系的前世记忆咨询【www.richdady.cn】 灵魂化解的步骤咨询【www.richdady.cn】 耳鸣的前世因果咨询【微:qq383550880 】√转ihbwel 儿子不读书的改运方法咨询【微:qq383550880 】√转ihbwel 感情纠纷的咨询技巧【www.richdady.cn】√转ihbwel 干扰威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何预防过早离世【www.richdady.cn】√转ihbwel 阴间生活的前世影响咨询【微:qq383550880 】√转ihbwel 家庭关系的改善方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子厌学的原因分析咨询【σσЗ8З55О88О√转ihbwel 前世缘份的前世修行咨询【www.richdady.cn】√转ihbwel 失业【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 投资项目的财务规划咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的改运方法【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读习惯咨询【www.richdady.cn】√转ihbwel 外灵干扰的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的前世记忆咨询【企鹅383550880】√转ihbwel 软件注册信息安全 网络营销的营销对策分析 网络营销战略特点是什么意思 办公室 信息安全工作 企业手机网站建设案例 郑州的数据营销公司 优衣库电子邮件营销 深圳建网站的公 开封全网营销 公安部关于网络安全 网络安全和信息化官网 网络安全事件应急预 商洛网站建设 泉州网站建设 大数据网络安全专业 网络安全采访感受 好的免费网站建站平台 企业公司网站 北京 中国黑白it信息安全 汕头 网站建设 如何进行网络营销 信息安全产品认证目录 上海网络安全会议2017 公共信息网络安全监管 网站建设初期 三只松鼠新媒体营销 网络安全产业基金武汉 信息安全培训的通知 三门峡网站建设 信息安全保护是指,-1 广东网络安全宣传周 信息安全系 新媒体营销都有什么 网络安全采访感受 电商的内容营销案例 自建网站的缺点 万网搜域名信息先看域名申请时间这个应该是最早的网站时间 汕头 网站建设 免费网站建设 警惕网络窃密构筑网络安全防火墙视频 杭电信息安全专业怎样 软件注册信息安全 信息安全威胁发展趋势 网络安全威胁有哪些 安全架构和信息安全的差异 静安区品牌网站建设 合肥网站制作公司 上海网络安全公司 互联网网络安全周 高端网站制作公司 行业网络安全培训 卫龙整合营销 网站前端 新媒体营销都有什么 高阳网站制作 优衣库电子邮件营销 政府类网站建设 网络安全周报道 上海网站建站 办公室 信息安全工作 网络安全周报道 行业网络安全培训 项目信息安全管理 2016年关于网络安全的案例 网站免费搭建 如何解决网络营销问题 商业网站建设 为什么要用网络营销 常州网站推广 信息安全等级保护要求 网络营销常见的方式有哪些方面 网络安全评价标准主要有哪些 相宜本草的口碑营销 开封全网营销 网络信息安全公司 网络安全系统的管理 网络营销b2b168 网络安全预警 工信部 个人信息安全涪陵网站建设 下载建网站 互联网 信息安全番禺建网站 大连营销策划公司电话 成都网站制作 怎么样做网站的目录结构 开发网站用什么语言 政府类网站建设 为什么要用网络营销 大数据网络安全专业 怎么样做网站的目录结构 网络安全服务考试 警惕网络窃密构筑网络安全防火墙视频 网站快照 网络安全服务考试 中国黑白it信息安全 信息安全保护是指,-1 网站国际化 计算机网络安全的访问控制技术主要有基于 高阳网站制作 网站 制作公司 郑州的数据营销公司 创建网站的优势 如何进行网络营销 企业公司网站 北京 网络营销战略特点是什么意思 新浪微博垃圾营销范围 龙岗网站制作新闻 搜索引擎营销怎么样 项目信息安全管理 深圳网站建设公司招聘电话销售 win7网络安全模式上qq 网络安全 国际标准 深圳建网站的公 网络安全威胁有哪些 政府网站建设方案 国家网络安全部队 2013年进行互联网营销推广的企业各种网络营销方式的渗透 合肥做网站的价格 常见的信息安全威胁 珠海营销型网站 信息安全风险评估服务 2013年进行互联网营销推广的企业各种网络营销方式的渗透 移动社交营销 网络安全评价标准主要有哪些 外贸网站的建设 路由器网络安全密匙 网站面包屑导航设计特点 网络安全采访感受 2013年以来国家颁布的信息网络安全政策文件厦门网站推广 做专业网站 宝洁网络营销现状 企业手机网站建设案例 360网络安全实验室数据 分析营销策略的方法 网站快照 网络营销工资