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

<a class="close" href="https://ggm.duqo.cn/">&times;</a>
网络营销在哪些行业营销推带品牌型网站网络安全管理人员网络营销引流软件杭州网站设计公司网络安全监测中心如何策划营销网站营销病毒鹤壁网站制作生如蝼蚁,当有鸿鹄之志;命比纸薄,更有不屈之心。且看乡野小子叶安在受到仙道宗门欺负后,如何利用九天神玦一步步绝地反击,走上强者之路,最终成为擎天巨擘的故事。绚丽多姿的修仙世界、生动逼真的打斗场景、数之不尽的奇珍异宝、曲折离奇的故事情节足以让你心驰神往、欲罢不能。每个人心底都有一个修仙梦,每位读者都能在书中找到自己的影子。还等什么呢,让我们共同开启这修仙之旅吧。传闻大禹每逢七百年将遇巨变,而江山的传承将要落到萧正的肩膀上,仁帝为摆脱魔咒,传他大禹帝王阁无上经文。而后上青云峰入玲珑观,得‘机缘道人’点拨,心智也变得成熟。待到一切安排就绪,美人在怀,情丝渐深。朝堂和江湖的纷乱也逐渐露出了端倪......一些传闻旧事,只作梦谈。记录曾经幻相曾经好奇,曾经写过的一些神秘事件。万万没想到,走路也可以修练,躺着也能成为大佬。 人说:要做个有梦想的咸鱼,本想翻身,一不小心咸鱼粘锅。 哎呀!完犊子了…… 是命运的不公,还是英雄的凯歌! 两世轮回,繁华落尽! 待回首,灯火阑珊处却不见她。 传说中的手掌乾坤,脚踏星辰,御剑飞行的世界真的出现。 各种大佬,集聚一堂。 而苏洵,却身处漩涡之中。 谁是执棋之人,而谁又是棋子?拥有灭魔血脉的木子余在十六岁觉醒了灭魔血脉之力,从此告别了平凡人生,更因为一次意外,掉落山崖,获得了不死天功传承,打开了更为广阔的一片天地。我叫荆少雨,荆轲的荆,年少的少,下雨的雨,出生于南方的一个偏僻的小山村里,故事发生在我十八岁的时候,父母在我出生那年离奇死亡。沉睡的过去即将苏醒,未来究竟何样。 时代的抛弃者 时代的逆行者 时代的改变者 时代的终结者 我——曹华!终将结束一切 林明穿越到危机四伏的玄幻世界,开局就被成为苦力,惨遭007折磨。   就在林明以为要当一辈子牛马的时候,激活了人生模拟器。   只需要消耗灵石就能够开启模拟。   【第一日:你学习陈胜吴广,一句王侯将相另有种乎震撼众囚,囚犯们热泪盈眶直呼你为天人转世。】   【第二日:你的话在囚犯群体中传播开,你的地位直线上升。】   【第五日:你晚上睡觉的时候,突然有黑衣人闯进来把你带走,你自知实力不够无法反抗。   好在对方没有恶意,你们细细攀谈对方对于你的想法大为震惊,表示还会来找你的。】   【第六日:黑衣人果然来找你,你们相谈甚欢。   你接着这个机会寻问修行之法,对方随手给了你一本没有封面的功法,并且指导你修行。】   【第九日:有人指导加上你没日没夜的练习,你终于有了气感。】   【第二十日:你成功突破进入到炼气期成为一名修士!】我是一个男神,超级无敌! 我正在上大学,因为天生的神神基因,加上后天的锻炼,浑身上下,便拥有万般的神力。 一个人的力量,可以对付无数的平常之人。 加上,我长相柔美,貌似美丽的女孩子一般。 许多女孩子甫一见到我,就会深深地爱上我。 无论我走到那里,都会遇到情痴痴的女孩子。 女孩子们疯一般,痴痴地纠缠住我,骚扰我,令我烦不胜烦。 我是男神,超级无敌,却无法摆脱女孩子们热烈的纠缠。 哎!男神魅力,超级无敌呀!这是一部都市权谋小说,男主为了报仇也为了梦想,带着一帮兄弟激战都市,有实力的对撞,更有计谋的对弈。一步一步走向都市巅峰。
电子商务网站设计 信息安全测评收费标准 信息安全服务规范 设计网站首页多少钱 网络营销策划的特征 信息安全的发展依顺序 移动宽带 营销 营销概念是什么意思 苏州网站优化 网络营销能力秀是传销 老公家暴的前世因果咨询【www.richdady.cn】 官司的预防措施【www.richdady.cn】 感情纠纷的情感沟通方法有哪些?【www.richdady.cn】 意外的前世故事咨询【www.richdady.cn】 无形干扰的自我提升咨询【www.richdady.cn】 如何克服升迁障碍?咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感调解技巧有哪些?【σσЗ8З55О88О√转ihbwel 前世老公的识别方法【企鹅383550880】√转ihbwel 升迁障碍的职场晋升技巧有哪些?咨询【www.richdady.cn】√转ihbwel 灵魂化解的步骤【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 存不住钱的财务规划【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的解决方法【σσЗ8З55О88О√转ihbwel 灵魂治疗与心理辅导【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与公婆前世的影响分析咨询【企鹅383550880】√转ihbwel 财运不佳的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的安抚有哪些实用技巧?【微:qq383550880 】√转ihbwel 纠纷的解决方法咨询【企鹅383550880】√转ihbwel 灵魂化解的重要性咨询【企鹅383550880】√转ihbwel 什么原因意外的原因分析【www.richdady.cn】√转ihbwel 感情纠纷的原因分析咨询【微:qq383550880 】√转ihbwel 网络安全扫描工具 沈阳科技网站首页 昆明建个网站哪家便宜 台州高端网站建设 网络营销计划 案例 网站模板化 网络安全科技 网路营销和网络推广 国家网络安全活动周 智能网联 网络安全 营销概念是什么意思 营销有哪些渠道 电商营销课程 全国网络营销大赛 网站建设技巧 网站jianshe 法国网络与信息安全局 沈阳做网站有名公司 长安网站优化 信息安全的发展阶段 信息安全等级保护网站,-1 免费企业网站模板 b2c网络营销模式分析 智能网联 网络安全 手机网站首页经典案例 电子商务的网络安全 2016年 网络安全规划方案 Fastcgi做网站 网站建设技巧 中国网络信息安全展 网站的设计 网络营销自媒体 网络事件营销方案 网络安全工程师论坛 全国网络安全日 做一个网站人员 信息安全的发展依顺序 信息安全的发展依顺序 网络营销自媒体 b2c网络营销模式分析 企业网络安全平台资阳网站建设 沈阳科技网站首页 郑州网络营销策划公司 互联网信息安全公司 营销病毒 免费网站推广 网站建设技巧 信息安全制度框架 成都有信息安全 网络安全破坏 杭州网络安全研究院 微信公众号营销缺点网站中主色调 沈阳开发网站的地方 新的网络信息安全法 网络安全错误 关键信息基础设施网络安全检查方案 信息安全防护等级划分 兴化网站制作 长安公司网站制作 网站的设计 信息安全评估常用参数 信息安全风险评估的重要性 全国网络营销大赛 网路营销和网络推广 小红书 内容营销 模版型网站 信息安全的发展依顺序 网络信息安全实验报告 苏州网站优化 免费企业网站模板 网络安全 案例 信息安全国际标准 青岛全网整合营销 互联网与信息安全,-1 营销病毒 手机网站首页经典案例 2015年网络安全预测 网络安全项目名称 市场营销网络调查法 做网站收费 如何策划营销网站 信息技术与信息安全 快速学习 电器微博营销策划书 信息安全的发展依顺序 Fastcgi做网站 网站建设技巧 信息安全国际标准 兰州网站优化 做网站收费 网络营销能力秀是传销 台州高端网站建设 北京信息安全大会 网络营销的难点是什么 鹤壁网站制作 关键信息基础设施网络安全检查方案 网络安全宣传 中网办 苏州网站优化 电子商务网站设计 营销转化率 新的网络信息安全法 青岛全网整合营销 沈阳科技网站首页 英文营销网站建设 网络营销策划的特征 合肥微网站 电商营销课程 网络安全宣传 中网办 信息安全风险评估的重要性 顺德新网站建设 网络营销引流软件 中国信息安全联盟网络安全服务机构有 长安网站优化 互联网信息安全公司 网络事件营销方案 Fastcgi做网站 免费企业网站模板 小企业网站免费建设 网络安全数据安全 广告营销推广 郑州网络营销策划公司 网络专业的网站建设 西城网站制作公司 网络安全工程师论坛 网络安全项目名称 全国网络营销大赛 台州高端网站建设 模版型网站 网络安全管理人员 互联网与信息安全,-1 网络安全等级测评行业 制作企业网站 Fastcgi做网站 网络安全 案例 智能网联 网络安全 郑州网络营销策划公司