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

<a class="close" href="https://oah.duqo.cn/">&times;</a>
网络营销(营销推广活动中国最好网络安全公司信息安全 分数,-1新微博营销网络安全公司资质网络营销服务包括中央网络安全 管理互联网为什么要网络安全设计网站的元素什么是模范修仙人?练功我最积极,除妖我最出力,师傅我最孝敬。这是一个充满爱与和平的玄幻世界,所有修仙者的目标都是成为他人眼中的模范修仙人,“看,隔壁门派的首席大弟子这个月又修炼了最长的时间,在东部蛮荒森林除妖3000只,还为他的师傅精心准备了玄级极品内丹,各位弟子们都要以此为榜样,好好修炼,好好做人!”评论指摘点评!谢谢 唐听白魂穿异界,成为大燕皇帝,觉醒最强王者系统,不断完成系统任务,获得王者英雄!   斗文臣?派个诸葛亮就够了!   收兵权?我儿奉先何在?   剿灭叛乱附属国?关羽、孙策你俩去吧!   朝堂得意,唐听白的后宫更是幸福。   妲己:请尽情吩咐妲己,主人。   大乔、小乔:皇上~,你好坏。   钟无艳:哈哈哈,亮个相吧,小宝贝!   短短两年大燕国力恢复,平北方四岛、灭南方诸国、战南印天竺、剿西方波斯。   然而,故事才刚刚开始。   还有更多的英雄等待唐听白的召唤……一个普通人成为星际漫游者,跨越平行世界,追寻命运的轨迹,挣脱命运的束缚,找寻自由的秘密。 这是个秩序安定,看上去没有任何异样的和平世界,然而,这个世界的和平能够一直得以长久维持,其实在背后隐藏着一段肮脏的过去。 七年前,突然降临在这个世界上的某件事,导致这个世界的一部分人对维持和平的秩序形成了一种“全新”的观念,这种观念在当时迅速发展为一种多人形成的势力,在遵循这势力的人想要维持和平的想法的推动下,那些不去认同这种“全新”观念的人,在他们的眼中便成为了必须被淘汰的存在,而到了现在,“全新”观念形成的势力已经占据了整个世界多年,进而维持着和平的秩序.....面对未知的威胁,充满铁锈的AI危机,寻探真理的白发少女,在遥远的移民星球与机械构造作战,克服艰难险境“陛下!此行还请万分珍重,末将年迈、大限将至,还能为陛下镇守国门十年!还请陛下十年之内,学满归来!承继大统、振兴神夏,李衮百拜!” 叶无修穿越到玄幻世界,成为神夏国皇帝,身负救国重任,却资质平平! 直到一天,系统觉醒,获得查看万物的词条! 【姓名】:叶无修 【年龄】:17 【黑色煞运:英年早逝】:一月后没有资格参与内门考核,颜面扫地,被逐出宗门,返回神夏国,老将长叹数声而死,诸国侵袭,神夏国灭,死于乱刀之中,享年十八岁! 【白色气运:无能国君】:明日失败最后一次,心灰意冷,慷慨送出神夏国宝物四品炼丹炉,收获称号‘无能国君’! 直到此时,叶无修才有所觉悟! 他竟然成了前一世看过无数的狗血套路小说的龙套?父母身亡,他被迫离家。幸遇良师,苦练十载,借先父留下的上古神器——圣兵印,修成另类功法。入京寻亲,偶识野心谋臣,为保护自己与无上功法,迫入反抗朝廷之会,寻找其他遗留神器。历尽人世,重友情者为他断情,爱他者为他结情。千云落,必有日出。当四大神器汇于一体,其道大光。新的纪元,迸射出不可直视的光芒!  凌源:一个看似温文尔雅,性格稳重,坚毅,善良,仁厚,睿智的优质少年。成绩优异,拥有不俗的身体素质,面容俊秀,在校园有着众多的仰慕者。跟随母亲生活。母亲善良,人缘好有威望。有从小一起长大青梅竹马的发小。并且这个发小还是省级16岁以内级武术器械和套路双料冠军!凌源从小在母亲的教导下,待人处事稳住细心,遇事波澜不惊!既拥有母慈子孝的亲情,又有两小无猜的友谊,本是普通人家的普通生活,直到一场让所有人都意想不到的灾难降临!   洪鹰:23岁!孤儿,村里唯一一位重点大学生!本来可以有着一片光明的人生道路。那天偶遇到了改变一生的那件事和那个“人”人间惹祸了罪魁祸首居然是我!就这样各种历史人物都来了......
2013网络安全事件 企业营销网站建设 网络信息安全 通知,-1 公安 网络安全 国防信息安全的老大,-1 问答营销推广的作用 网上营销案例 微博营销的特征有哪些 微信营销的传播优势 娃哈哈产品营销策略 解梦的情感释放咨询【www.richdady.cn】 意外的前世记忆【www.richdady.cn】 性压抑的前世因果【www.richdady.cn】 如何克服“缺心眼”的问题咨询【www.richdady.cn】 过世前可能出现的征兆【www.richdady.cn】 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】√转ihbwel 事业不顺的风水布局【企鹅383550880】√转ihbwel 暗恋的心理调适【微:qq383550880 】√转ihbwel 无形干扰的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 营养不良导致的头脑混沌咨询【企鹅383550880】√转ihbwel 忧郁症的环境影响咨询【企鹅383550880】√转ihbwel 感情纠纷的真实案例有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的心理成长咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的咨询技巧咨询【企鹅383550880】√转ihbwel 事业不顺的职场心态咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场提升路径有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的心理调适咨询【微:qq383550880 】√转ihbwel 阴间生活的前世因果咨询【www.richdady.cn】√转ihbwel 无形干扰咨询【www.richdady.cn】√转ihbwel 解梦的前世影响【www.richdady.cn】√转ihbwel 网站设计例子 北京招聘网络安全 销售型网站模板 微信营销的传播优势 公司信息安全管理建议和意见 信息安全工程系 微信营销的传播优势 问答营销推广的作用 社会化网络营销分析 news营销 做好网络安全 新媒体营销深圳 可信网络安全平台 禁用多网卡 设计网站的元素 网营销协会 嘉兴的网站设计公司有哪些 网络营销渠道的演变 新微博营销 网络营销前景好吗 信息安全注册审核员 企业网络营销调查心得体会 网络安全法多少条 网络安全治理与黑客 国防信息安全的老大,-1 做网站网络公司 信息安全大事情 达达网络营销软件 上海网络安全信息中心 网络营销的基础理论 2015网络营销课程视频 网络安全事件记录表 腾飞网络营销好吗? 单位网络安全 上海网络安全信息中心 昆明网站开发公司 深圳 网站设计 如何建设网站 html写手机网站吗 海尔的整合营销 企业招聘信息安全 中国最好网络安全公司 网络营销的定义及常用方法 网络安全研究所怎么样 工业物联网网络安全 江苏网站建设 营销软件的缺陷 微信营销定位精准 网络安全基本要求 学校信息安全部 网络安全研究所怎么样 中国互联网网络安全威胁治理联盟 长春长春网站建设网 设计网站的元素 网站备案跟域名有什么关系 网络信息安全 通知,-1 社会化网络营销分析 网络技术及信息安全招生 创客通营销手机有用吗 成为网络安全专家 网络营销渠道的演变 温州建网站业务人员 企业网站的营销职能 嘉兴的网站设计公司有哪些 网络与信息安全大会 科大信息安全研究生 北京招聘网络安全 上海网络安全信息中心 做好网络安全 网络安全年会 营销类证书 社会化网络营销分析 国防信息安全的老大,-1 网络与信息安全大会 公安 网络安全 网站的差异北京平台网站建设 网络安全管理横向联系 支付宝营销策划案例分析 手机网站制作推广定制 外贸网站模板 网营销协会 查看网络安全日志 学校信息安全部 信息安全备案申请模版,-1 温州建网站业务人员 中国饥饿营销案例 达达网络营销软件 网络营销的基础理论 病毒营销的三个特点是什么意思 网络营销的大公司 2015国家信息安全专项 工业物联网网络安全 中国培养 信息安全 网络安全方面的人才 培育效果 培养机制 广州优质网络推广营销方案 2015网络营销课程视频 营销锦囊 如何自己建网站 2017信息安全 网络安全协议都有哪些内容 微信营销的传播优势 美国国家信息安全战略 全案营销 合作模式 全案营销 合作模式 病毒营销的三个特点是什么意思 2013网络安全事件 如何自己建网站 中国信息安全综合报告 2014年网络安全形势 可信网络安全平台 禁用多网卡 虚拟化网络安全技术 辽阳做网站 济南营销策划团队 珠海网站设计多少钱 网络营销( 查看网络安全日志 品牌创意网站建设网络安全手机可视化 网站口碑营销 网络安全事件记录表 芜湖网站制作 亚马逊违规营销 大数据分析与信息安全 工业大数据信息安全 中国互联网网络安全威胁治理联盟 网络安全管理横向联系 网络安全应急处置图 企业网站的营销职能 rsa信息安全大会 html写手机网站吗 信息安全 分数,-1 好未来信息安全规范正式实施时间 中国的网络信息安全 网络安全扫描能够 品牌创意网站建设网络安全手机可视化 嘉兴 网站制作 嘉兴 网站制作 大数据分析与信息安全