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

<a class="close" href="https://t3d9.xope.cn/">&times;</a>
网络安全测试互联网营销语句网络营销意识薄弱网络安全身份认证网络安全的热点问题佛山营销网站建设服务营销软件站校园网站怎么建网络营销代运营信息安全资质的机构全球御兽时代,开局觉醒sss级天赋。 无尽提取! 提取铁元素,木剑进化成功,获得一把铁剑! 提取坚硬元素,自身进化成功,获得久久能力! 从此刻开始,走向御兽巅峰! 空间科学家公孙广,由于实验事故,穿越空间通道到了一个宇宙夹缝的星球——科赛星,这是一个源力的世界,无数的宇宙文明原因种种原因被吸引到了这里,从而形成了万族共存的局面,各族以部落的形式散落在科赛星上,而这其中就包括了中国古代求长生的炼气士,公孙广在接触了自称天命族的汉人,知道了他们想要回归的愿望后,提出了自己的建议,从而开启了科赛星万族争霸,走上文明融合的道路,而这一切的最终目的——冲出科赛星,回归各自文明! 命运交织,危机四伏,如何接受现实,又如何表达自己的情感。 CP:布莱克×女主,盖亚×雷伊(盖雷,微),贾斯汀×迪恩(贾迪)王陵穿越到魂兽横行、全球武魂觉醒的平行世界。 开局绑定外附武魂混元道宫,觉醒王者级双生武魂生灵圣火和混元神火,产生顶级武魂异像,震惊全球! 混元道宫加速时间,魂植成长速度是外界的千倍万倍! 生灵圣火与混元神火更是炼丹神物! 一举成为神级炼药师,复兴华夏炼药事业,成为世界第一! 所有人都认为他只是一名神级炼药师,毫无武力值。 直到有一天,魂兽侵袭生灵涂炭,人族危在旦夕。 王陵从天而降,手持宫殿脚踏神火,大手一挥,轻易化解了魂兽危机。 全世界才恍然大悟,将他供为神灵! 天宫宫主:“妖孽如此子,天佑我华夏!” 米国战神:“我不是他的一招之敌。” 魂兽之王:“如果不臣服于他,我就只有死路一条。” 帕特农神女:“他的炼丹之术让我望尘莫及,希望能与他‘单独’探讨炼药技术和魂植生命的起源。” 王陵:“其实我只想低调的做一名炼药师而已,但实力不允许啊!” 与《斯卡德科技》同世界观下的一个故事,主要讲述了一位可以与亡灵交流的侦探,在被归类为下城区的13区中工作的故事。一个因为创业失败的物理老师为了人重生2000年,新的人生将开启官场巅峰一个人,一座城,一段不朽的传奇,一步一步走向最高的巅峰。有那么一类人天生就是王侯将相的命,他们一人之下万人之上,享受着翻云覆雨的快感,殊不知,在他们头顶,还有一顶帽子将他们死死扣着,这顶帽子上面就只有一个字:皇。 红尘俗世,纸醉金迷,当一位潜心修道的少年踏入其中时,又会发生什么样的奇缘?踏着尸骨累累的道路走来,完成成为皇者的征途。他,注定是成为皇的男人! 求订阅!求票! PS:这本书不会太监,长歌会坚持写完,就算没人看也一样!00后的孩子们,99年的事儿瞒不住了……一个携带鸡肋系统的末世空降兵在2022年的战斗任务中意外穿越回到了1997年,为了阻止两年后的悲剧的重演,看主角怎样利用有限的系统辅助进行绝地逆袭! 《致命实习生》续集番外篇 拥有通灵能力的李赫兹转学到台湾省德马赛艺术学院,却意外知晓自己多年未见的发小(谢子明)不久前死在这所学校,校方称死于心脏病,他怀疑内向的谢子明是因为受到校霸(徐刚)的霸凌。 与此同时,李赫兹还和实习 老师高沐洋成为无话不谈的朋友,两人开始查找谢子明死因。当迷雾一层层剥开后,却牵扯出一堆谋杀案......
互联网营销语句 信息安全规则 专业的营销网站 口碑营销公司 国家信息安全通报中心 国内网络安全厂家排名 网络安全分级制度 湖州网站设计 网络安全偷取手机内的信息 网络直复营销案例分析 孩子不爱读书的家长引导方法有哪些?【www.richdady.cn】 亲子关系的前世记忆【www.richdady.cn】 事业不顺咨询【www.richdady.cn】 孩子不爱读书的家长引导咨询【www.richdady.cn】 莫名其妙感伤的情感释放咨询【www.richdady.cn】 心慌胸闷头晕的环境影响【微:qq383550880 】√转ihbwel 与公婆前世的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的环境影响【企鹅383550880】√转ihbwel 升迁障碍的职场突破【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的医学检查威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场晋升技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子厌学的环境影响咨询【σσЗ8З55О88О√转ihbwel 前世今生的轮回真的存在吗?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职业规划如何制定?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职业规划【www.richdady.cn】√转ihbwel 人际关系不好的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 阴间生活的前世解析【σσЗ8З55О88О√转ihbwel 无形干扰的心理调适【σσЗ8З55О88О√转ihbwel 家庭关系中的矛盾解决【www.richdady.cn】√转ihbwel 信息安全等级备案 佛山做网站 国家信息安全通报中心 大学生如何维护国家信息安全 廊坊网站制作 企业产品展示型网站案例 黑客网络安全技术论坛 武汉网站制作 手机的网络营销方案 网站所有页面 网络安全培训前景 信息安全管理体系要素 360网络安全大会 网络营销营销渠道 北京网站的建立的 什么叫整合营销机构 广州营销班 佛山营销网站建设服务 淄博网站建设乐达推广 移动营销的形式包括 2016国内网络安全事件 佛山营销网站建设服务 济南seo网站推广公司 服务好的微网站建设 网络安全机构分支机构 网络营销代运营 重庆互联网营销 cc信息安全,-1 信息安全管理体系要素 比较营销 怎样弄网站 影楼网站建设 深圳企业高端网站建设 网络安全 公安部 廊坊网站制作 网络营销的职能关系 企业产品展示型网站案例 网络营销中的不足 网络安全培训前景 安阳做网站 湖南 信息安全公司排名 计算机网络安全实验报告 什么叫做营销型网站赣州网站制作 苏州专业网站设计制作公司 信息安全国家标准 网络营销的交互性 重庆互联网营销 移动商城网站建设 深圳 yes网络安全论坛 营销 qq 网站多语言 比较好的网络营销平台 网络安全情况 什么叫整合营销机构 信息安全服务资质认证证书 yes网络安全论坛 广州营销班 网络与信息安全办公室 网络安全防范手段 商务网站开发 网络营销的职能关系 淄博网站建设乐达推广 网络营销平台建设情况 深圳市建网站 太原哪里做网站好 专业的营销网站 美国 专家 信息安全 物联网和网络安全 信息安全等级备案 免费企业网站创建 网络安全机构分支机构 it网络安全培训课程 樟木头的建网站公司 网站多语言 衡水网站排名优化公司 企业产品展示型网站案例 汽车网络营销标题 武汉网站制作 移动商城网站建设 深圳 网络安全架构ppt 关于网络安全的通知 短信营销数据 小米公司网络营销分析 北京网站的建立的 北邮 信息安全 毕业生 黑客做网络安全怎么挣钱 中国国家信息安全网 关于网络安全的通知 湖州网站设计 深圳企业网站建设报价 营销 qq 网址营销 网站本地调试用localhost上传服务器该如何修改 网络安全培训前景 网络安全现状及前景 网络安全峰会2017 2014信息安全培训 拖拽网站 昆明建企业网站多少钱 网络安全产品起名字 上海云计算信息安全,-1 网络安全宣传周信息 口碑营销公司 物联网网络安全 网站所有页面 小米公司网络营销分析 家电怎么营销方案 信息安全业务 网站开发制作公 企业信息安全 网络安全架构ppt 国家工业信息安全中心 移动营销的形式包括 西安网站架设公司 上海营销app产品公司 总参信息安全 百万网络营销 网络安全的热点问题 青岛营销型网站建设 中国石油信息安全通报 佛山营销网站建设服务 徐州网站建设 信息安全等级在哪查询 信息安全等级在哪查询 网络安全研究背景 深圳 信息安全培训班 华为网络安全案例分析 上海信息安全技术支持中心有限公司 营销培训学院招聘 手机的网络营销方案 物联网和网络安全 比较营销 什么叫整合营销机构 四川大学的信息安全 淄博网站建设乐达推广