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

<a class="close" href="https://m2iwh15.c8.org.cn/">&times;</a>
中国信息安全管理研究网络安全等级保护工作的保障情况整合营销公司移动网络营销平台中国信息安全等保网网站结构图网络信息安全相关专业,-1移动网络营销优缺点网络营销的特点和职能国内f型网页布局的网站在这个世界里,跨界石,是一种神奇的东西。相传上古时期,轩辕姬得之,拥有掌控南北两极之能,所以控磁场,造司南。大禹得之,拥有排山倒海之势,所以治江海。? ?...... 而觉醒职业和灵器,是这里每人都渴望的事。 雪擎,一个被祝福和诅咒同时缠上的少年,即将开启一段传奇之旅...... ?“陛下不好了!下凡捉妖的天兵天将全被打趴了!” “陛下大喜事!狱神出手了,妖怪都被打趴了!” “陛下不好了!狱神突然收手……他跑路了!” “酉时了,他…下班了!” 玉帝气得拍了拍龙辇,并且在极度愤怒的情况下愤怒了三天三夜… 三界出了个朝九晚五的楚大佬,从此画风变了。 刚破封的罗睺:三界什么时候出了这么一个猛人?我差点被锤爆! 西方教大佬:+1,现在只敢星期六日出来溜达,因为那俩天,楚大佬不上班 玉皇大帝:楚大佬求求你加个班,当个人吧!我希望这部作品能涵盖上至弘达庄严的创世神话,浪漫史诗,下至充满奇趣的凡间故事,中国五千年的悠久历史,展现了宏大的画卷,波澜壮阔的背景,开拓了我们的想象力,让我们看到了人性的光辉。深邃的思想,和人性的真实。自大爆炸发生那天起人类的文明遭到了毁灭性的打击,突然出现的一种叫噬的液体生物,无声侵入人体,操控他们的行动和思维,仅仅是几个月的时间人类众多的城市都成为噬的巢穴。他是个迷,有人说他是正,有人说他是邪。 死神,痞子,伪君子,真男人,英雄,卑鄙小人……这些都是别人口中的他。生存的本质,便是资源的争夺。 自神州初开,龙族、妖族、鬼族,无数的族群曾称霸神州。 沧海桑田无数的族群在时间长河中崛起又走向覆灭,而今日的神州,却由看似弱小的‘人族’占据主导地位。 百年巨变之后,‘星火’沉寂百年,今日妖族‘至高’再临,星火亦于孤寂中再次苏醒...... 陆觉民、陆光达、林焰,一个个传奇横空出世,乱世便是英雄的时代! 星星之火,可以燎原!人族不息,传承不断!夜崇为了心爱的人放弃了一生修为。那一天,灵宝山外来了一位求道者,一柄长刀掀起了圣冉大陆的风云我叫张大勇,想不到我重生后竟获得了无敌的签到系统。 叮咚,恭喜宿主成功签到,获得神通:先天佛体。 叮咚,恭喜宿主成功签到,获得佛法:功德无量。 叮咚,恭喜宿主成功签到,获得掌法:如来神掌。 凭借无敌的签到系统,张大勇开启了签到成佛模式。千年之前,魔君龙尘因白绍灸的叛变,再加上圣魔之乱,他腹背受敌,重伤逃至极地,暗下寻找他的爱人--绝雪,殊不知,她已身中曼陀罗花毒,忘记了他。龙尘踏着暗亚方舟,寻遍七山五岳,可依旧还是一点下落都没有,心灰意冷的龙尘毅然决定魂魄离体,因为只有这样,他才能实现长生,也只有这样,才能找到绝雪…… 其实,魔都兵变时,龙尘曾向他的挚友圣寒发过求救,圣寒接到信后,立刻带着一万精兵从星灵岛出发,援助龙尘,但他们还是晚了一步,当他们赶过去时,龙尘早已不知下落。此后,圣寒始终觉得是自己害了龙尘,所以,他毅然决定触碰灵龙魂第二天赋属性--时间,但,他失败了,神魂陨落,身体化作星光,不复存在,但即使是如此,圣寒还是凭借着强大的精神力,稳住了一丝神识…… 千年之后,龙尘与绝雪的孩子顺着极地的河流,辗转尘世十余载,身体因为受到极寒之冰的影响,依旧是孩童模样,后来,被圣承霄和苏希瞳二人收养,从此开启了属于他的人生……我是一名女大学生,因旅游误入一个叫潮泗镇的地方,并且稀里糊涂的当上了一名古玩店店长...凭空出现的玉簪,夜里的吟唱声,各怀心事的镇民...朝泗镇的背后隐藏怎样的秘密,我又该如何在这波谲云涌的局面中拨云见日...
免费造网站 信息安全类比赛 国家网络安全日 银川网站建设 信息安全主要研究领域 广州微网站建设效果 关于简单网络安全协议mac 4c营销理论的沟通策略 网络媒介营销方案 网络安全管理的意见 婴灵的预防措施【www.richdady.cn】 与女友前世的因果关系咨询【www.richdady.cn】 存不住钱的财务规划【www.richdady.cn】 婴灵的超度流程咨询【www.richdady.cn】 大龄剩女的婚姻建议咨询【www.richdady.cn】 化解婴灵的最佳时间【微:qq383550880 】√转ihbwel 升迁障碍的职场规划如何制定?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的前世记忆【www.richdady.cn】√转ihbwel 婴灵的安抚有哪些技巧?咨询【σσЗ8З55О88О√转ihbwel 失业的原因分析咨询【企鹅383550880】√转ihbwel 耳鸣的医学检查【www.richdady.cn】√转ihbwel 升迁障碍的心理调适咨询【企鹅383550880】√转ihbwel 头脑混沌的案例分享咨询【www.richdady.cn】√转ihbwel 前世今生的缘分揭秘咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子学习不好的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的解读方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何识别冤亲债主咨询【企鹅383550880】√转ihbwel “缺心眼”对人际交往的影响【微:qq383550880 】√转ihbwel 事业不顺的职业规划如何制定?【σσЗ8З55О88О√转ihbwel 婴灵、邪灵、祖灵咨询咨询【σσЗ8З55О88О】√转ihbwel 移动网络营销优缺点 关于简单网络安全协议mac 做网站程序 中国信息安全行业协会 东莞网站建设哪家好 布吉建网站 青岛网站设计哪家好 做网站品牌 西安网站制作公司 媒体营销专业的好处 2017年网络安全现状 返利网营销 别人不相信网络营销 微博话题营销方案 重庆的网站建设公司 网站制作帐户设置 网络营销能力秀贴吧 湖南网站推广 信息安全等级保护技术 银川网站建设 2013年的重大网络安全事件 做网站品牌 大众化营销的优点 信息安全和网络安全的区别 移动网络营销平台 美国 信息安全标准 互联网营销教育培训 广州微网站建设效果 计算机网络安全事件 网络信息安全学院,-1 银行信息安全建设方案 公司网络安全检查 近几年的网络安全事件 做网站推广 网络安全应急响应机制 做网站品牌 国内f型网页布局的网站 网络安全面临的威胁 ppt 网络安全问题原因 最流行的网站设计风格 isg信息安全 网站有哪些分类 响应式网站建设信息 图文并茂计算机信息安全 小米怎么营销策划 网络安全战场 媒体营销 沈阳信息安全培训课程,-1 聊城网站建设费用 经典网络营销案例分析 网站结构图 仿网站建设 上海网络安全 中国信息安全大赛 网络安全技术人员 网站设计样式 授权管理 信息安全,-1 网络媒介营销方案 SDN与网络安全 信息技术安全技术信息安全事件管理指南 上海高端建站网站 信息安全管理考试 奶粉网络营销策划方案 信息安全与对抗赛 公司网络安全检查 网站制作的英文 青岛网站设计哪家好 网络信息安全学院,-1 中国信息安全大赛 景县网站建设 信息安全管理考试 柳市网站建设公司 免费造网站 asp网站源码 网站建设模式有哪些 网络营销服务有哪些 怎么提高网络安全意识 沈昌祥 信息安全定义 佛山网站设计资讯 媒体营销 2017年网络安全现状 SDN与网络安全 综合营销 电商营销师 返利网营销 珠海企业网站制作费用 衡阳做网站 gartner 信息安全,-1 网站有哪些分类 网络营销的含义及特点 公司网站制作 app企业网站 微博话题营销方案 宁德网站建设 网络安全法 电信诈骗 微网站app制作网站设计深圳 重庆的网站建设公司 网络安全的五大特征 湖南企业全网营销 湖南企业全网营销 珠海企业网站制作费用 营销发展课 宁德网站建设 4c营销理论的沟通策略 e春秋网络安全实验室 信息安全和保密的区别 网站制作设计 营销型网站如何制作 湖南网站推广 上海网络安全代理 信息安全和网络安全的区别 佛山网站设计资讯 湖州网站建设 公司网站制作 独特的网站 网络安全管理的意见 银川网站建设 余额宝网络营销 信息安全类比赛 聊城网站建设费用 asp网站源码 美国 信息安全标准 信息技术安全技术信息安全事件管理指南 网络营销教材内容分析 做网站品牌 全网营销销售 互联网营销服务类接单 2017网络安全对抗赛 珠海品牌机械网站建设复旦研究生 信息安全 布吉建网站 网络安全技术视频教程 网络安全技术视频教程 余额宝网络营销 西安网站制作公司 全网营销销售