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

<a class="close" href="https://7xr.111555.com.cn/">&times;</a>
高端网站设计品牌简易静态网站制作流程图深圳html5网站建设上海的外贸网站建设公司排名网络营销基础期末考试微信小程序做网站中国移动网络安全产品网络信息安全技术下载零食网络营销策划方案网站建设常出现的问题一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋 玄术分阴阳,阳为道术,阴为鬼术。白殇学鬼术,抓邪祟,可却陷入一个又一个阴谋诡计之中两个时空世界的我,一个大神却生活灰暗,一个平凡却生活美满,都在一个身体内,注定了我与我的纷争,因为只能只有一个我!以另一个视角(陶南)面对生活的世界的巨大变化 民国时期,我是拉洋车的,牛A的黑狗子探长刘麻子想强睡我的媳妇,被我制止。他带着大批的黑狗子对我用刑把我整死。阴间,我遇见大诗仙,向他诉说冤情,然后到冤魂村走一趟,才知道比我冤的人太多了。之后他把我变成了文化人,然后又把我穿越到了人间南粤市,让我抑恶扬善努力去做正能量的牛A人。此时的南粤市已是八十年代末期,我从打工做起,经历了开放大潮,凭着自己的能力为公司做出了很大的贡献,同时也收获了爱情。几年后,到处都在办报纸,我凭着自己的文笔混进报社当上了记者,通过采访工作,结识很多企业老板,在一次采访中,意外发现我生前认识的那个黑狗子探长刘麻子也被穿越到了这座城市,而且是下海经商混成了道貌岸然的董事长,被认为是红极一时的牛A人物。我悄悄跟踪,在我女友的配合帮助下,发现了他的一系列违法犯罪活动和伤天害理的事情,在掌握了大量的证据后,我凭着一腔正气,成功举报最终将其绳之以法。我终于成了正能量的牛A人! 乱世之土,命如蝼蚁。 杀人放火,唯见真我。 仙道茫茫,无数修士如同过江之鲫,都想登天一途,炼气、筑基、结丹、元婴..... 尘世间的一叶浮萍,不甘就此飘零浮沉! 苟凡尘,争修行,踏仙路!邵子伟参加自卫反击战自摆乌龙,误饮催情酒,艳遇黎氏慧贞,回国途中遇女兵欧阳文心,无功退伍,为解班长一家困难,先后倒卖国库劵、承包粮油加工厂、开办歌城、进入房地产、创办风投公司,先后与彭曦、方兰、金裕、向彤、孟雨欣、高岚、潘颂、顾秋燕、梁心蕊、桑雅、马文玉有感情瓜葛,得知自己患弱精症后,意外获得了乔慧的爱情,在绝望之中相认双胞胎子女,实现人生赢家。在这个人人都是重生的世界里面,每个路人甲都绑定着五花八门的主角系统,而我?不需要!开玩笑嘛?我可是千古一帝的转世!是在刚开始修行就能硬刚创世神的存在-_-,虽然战绩可能有点难堪,但是!这种精神就很可贵嘛——?上古末年,万族混战,天崩地裂。 万古之后,诸帝消失,仙门关闭。 一代大帝为开辟仙门遭遇世间最可怕大劫而陨落。 千载之后,携无上神鼎归来,再战苍穹。 “滴,恭喜主人辅助击杀一位炼气四层修炼者,获得5点仙币”此时,石佳杭脑中传来机器人小妾的提示音。   “纳尼?辅助击杀?还获得5点仙币,MMP这是劳资击杀的好不”石佳杭先是一愣,随后反驳骂道。   “主人只是把人打成重伤,被别人击杀,所以只是辅助击杀”   石佳杭瞬间无语,感情,这仙币必须要杀人才得获得啊。辅助击杀一个炼气四层才5点仙币,那我昨天花的600仙币,得杀多少人才赚得回来啊。   “小妾,不辅助击杀,是我本人击杀,能获得多少仙币?”   “60仙币”   “卧槽。MMP,坑,太坑了,悬殊这么大,小妾,你丫的不早告诉我,这波亏大了”   “你又没问”   ......
营销外包公司 北京 微信小程序做网站 为何要网络安全审计 企业网络安全设计 外贸全网营销方案 浙江网站建设 信息安全壁纸 运营的网站 网络市场营销策略分析报告 海尔营销模式组织构架 前世老公的咨询技巧咨询【www.richdady.cn】 为什么过世【www.richdady.cn】 失业的心理调适咨询【www.richdady.cn】 前世老公的前世因果【www.richdady.cn】 前世缘份的故事有哪些经典案例?【www.richdady.cn】 如何改善精神不振的状态【企鹅383550880】√转ihbwel 升迁障碍的职场突破【微:qq383550880 】√转ihbwel 头脑混沌的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度过程咨询【www.richdady.cn】√转ihbwel 失业的案例分享咨询【σσЗ8З55О88О√转ihbwel 婴灵的安抚与超度咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的案例分享咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的理财建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的教育建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富转运咨询【微:qq383550880 】√转ihbwel 公司破产的前世因果咨询【微:qq383550880 】√转ihbwel 脑部不清晰的生活习惯咨询【微:qq383550880 】√转ihbwel 前世缘份的缘分揭秘咨询【企鹅383550880】√转ihbwel 中国网络信息安全技术公司排名 关于网络营销的总结 长春网络安全培训班 营销案例及分析 门户型网站特点 互联网时代背景下的网络信息安全 青岛日文网站制作 网站在哪里建立 网络信息安全基础实施细则 网站运营者 网站怎么关闭 营销工作室 常见的网络营销策略 曲阜信息网络安全协会 工业控制系统信息安全联盟 医院网络营销重要性 深圳制作企业网站 营销采集软件 微博营销成功 病毒营销的运用方法 开展网络安全认证 检测 风险评估等活动 为了保护信息安全本次删除已被禁止 浙江网站建设 网络安全学院课程设置 小黄人事件营销 iso27001中的描述信息安全包括 陕西省网络与信息安全测评中心 常见的信息安全的产品有哪些 病毒性营销常用的工具包括(). 龙岗网站制作新闻 南宁中小企业网站制作 网站建设常出现的问题 病毒营销的运用方法 南宁网络安全大赛 网络营销影响因素 深圳营销公司 公众号营销模式 2017网络安全挑战赛 终端信息安全解决方案 2016信息安全真实案例分析 互联网时代背景下的网络信息安全 网络安全平台网 国外信息安全工具 深圳html5网站建设 网站建 青岛日文网站制作 信息软件企业信息安全,-1 官方网站怎么建设的 中国信息安全测评中心 主管部门 杭州网站建设开发 网站在哪里建立 标志着网络营销的产生 戴尔网络营销的策略 为何要网络安全审计 网络信息安全基础实施细则 关于网络安全的一段 信息安全网站 微博经典营销博文 网络安全 术语表 天津信息安全 网络安全论 信息安全壁纸 网络与信息安全防护 网站怎么关闭 运营的网站 网络营销服务有哪些方面 c语言 和网络安全 信息安全技术图片 杭州网站建设开发 计算机信息安全检查 网络营销相关资讯 广东省信息网络安全 如何保护电脑信息安全,-1 天津信息安全测评中心网络安全实验室 设备 网络安全相关案例 2014年省级基础电信企业网络与信息安全工作考核要点与评分标准 网络与信息安全管理组织机构设置 运营的网站 博客网络营销2014.3. 经典网络营销案例分析ppt 镇江网站优化 携程网站网络营销策略 外贸全网营销方案 网络注册信息安全工程师培训 医院网络营销重要性 2014年省级基础电信企业网络与信息安全工作考核要点与评分标准 企业网络安全设计 浙江网站建设 信息安全岗位招聘 成都 网络安全 工作 浙江网站建设 门户型网站特点 微信小程序做网站 网站公告滚动显示怎么编写在jsp页面中使上下连接循环滚动 天津信息安全 中国信息安全协会会长 网络营销相关资讯 wifi加网络安全认证 关于网络营销的总结 天津市信息网络安全协会 中国移动网络安全产品 营销采集软件 网络安全错误错误代码 网络安全研发工程师 博客网络营销2014.3. 系统信息安全等级保护 网络安全国家标志 网络安全协议包括 . 自贡网站建设 病毒性营销常用的工具包括(). 移动端网络营销推广方案 免费建设网站平台 微博营销的swot 2016信息安全真实案例分析 信息安全技术图片 天津信息安全测评中心网络安全实验室 设备 如何创建个人网站 中国网络安全中心 2016信息安全真实案例分析 Email营销 中国信息安全网络小组 手机网站建设 的作用 Email营销 宝洁网络营销现状 网络安全平台网 美团的电子邮件营销 门户型网站特点 医院网络营销重要性 天津网站建设咨询 关于网络安全的一段 网站怎么关闭 成都网站制作公司电话 福建省网络与信息安全测评中心 品牌网站建设多少钱厦门响应式网站制作 曲阜信息网络安全协会