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

<a class="close" href="https://9aw.uzrs.cn/">&times;</a>
网络安全技术与应用 级别漂亮的设计类图片网站网络信息安全政府门户类网站费用公安局网络安全解决方案摄影网站在线建设青岛网站设计网络安全产品销售国家 网络安全审查门户类网站费用是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。无数年前惊天战斗,洪荒世界天地之间的灵气被消耗殆尽。天人大战后,巨妖死后化为大地的身躯。剩余的人类吸取剩余的灵气为生,这洪荒世界之上,有没有尽头,总有人去寻找尽头。这是神魔意志与人类精神的碰撞,这是斗气与魔法充斥的世界,在牧师的祈祷与召唤师的吟唱中,天才少年龙行云带领渺小的人类,决战诸天神魔。他是骑士?他是魔法师?他是学霸?他是冒险者?他是英勇的领主?他是伟大的统帅?他是无敌的战神?不他是人类的英雄。他是青龙城乃至大明帝国的第一天才 她是大陆顶尖天才,是整个玄天大陆第一家族家主独女。 他的修行速度堪比天才,她更是天才中的天才。 然而,命运却让他们两个产生了交集,她遇到他,他也遇到了她! 他是一代天才,而她却是一代妖孽! 在大陆的顶端人群中,她是最耀眼的存在,而他却只是一颗微不足道的尘埃,她是一个光芒万丈的太阳,而他则是一颗灰暗的小星星。 从那一刻开始,他的目标只有一个,那便是追赶上她的脚步 她,是他一生的挚爱 她是一朵骄傲绽放的玫瑰,他只是那片花丛里的一个普通的花,一株微不足道的杂草,两个人,注定无法有结果 然而,他不会放弃,他不甘心,他要变强,他要成为最强者,他要站在她身边保护她,给她幸福和安宁! 他的崛起将引起整个大陆的震撼,他的强大会令整个大陆为之疯狂,他将取代玄天大陆唯一的神祇,他将成为玄天大陆数万年来唯一成功弑神的人类 他,一代传奇! 他叫墨知秋,他的名字和他的人生,从这一刻将正式拉开帷幕… 东汉末年,汉室崩塌。 刘闲意外穿越到这乱世,开始一段传奇人生。 利用遥遥领先这个时代的知识,收名将,戏红颜,混的风生水起。 同时训练出一支傲视当世的铁血精锐。 刘姓为王,大浪淘沙。 待一切尘埃落定之后,一个完全不同的大汉帝国重新出现在了大地的东方。为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 “吾留玄神雷,荒古汝为尊,覆手踏天地,终成不死身” “大难将至,黑暗侵袭,创造属于自己的奇迹,开创神话传说” 神秘的众生之巅系统,儿时耳边响起的两段话,脑海中那个身穿紫金宝甲的“神”又是谁? 是战神转世?还是诸天主宰? 一切的一切,都困惑在吴阳脑海。 吴阳在探寻这些秘密的时,发现此事并非寻常。 貌似,在引导着吴阳进入一个更大的局…… 而此局,非生既死! 年度新生代最火爆玄幻小说在此,敬请期待! 数十亿人类降临万国。 争夺最终顶峰的万国之主。 天量的气运,资源作为奖励,国主们互相厮杀。 还有那些繁星般的人物。 一品谋士,诸葛亮,司马懿,姜子牙…… 一品武将,岳飞,霍去病,李靖,韩信…… 一品美人,秦淮八艳,杨玉环 甚至连绝品修者张三丰都有! …… 金钱,权力,长生! 重生回来的秦权,带着脑海中的记忆,率铁血大秦,誓要镇压一切不臣服之人!菩提--盘古之心所化,与本元为友,广招门徒,合道为祖王凡穿越到御兽世界。 张口一吐,水之妖兽的蓝灵龟! 烈焰重生,火中霸主烈火凤凰! 防御无敌,山中精怪熔岩巨兽! …… 这里弱肉强食,御兽强者为尊! 刚刚穿越的王凡,面临如何培养妖兽的困难! 掉落合成系统激活! 可以通过战斗掉落珍贵的属性之精,进行合成! 王凡契约的第一只妖兽,拥有不朽潜力的火狐! 今后他就是人类天花板!
四川互联网营销公司哪家好 网络营销数据的来源 网络营销平台分析报告 阿里巴巴 信息安全,-1 信息安全矩阵 如需手机网站建设 做网站书籍 企业网站免费 网络营销信息传递原则 网站建设七点 失业的前世记忆【www.richdady.cn】 大龄剩女的婚恋建议咨询【www.richdady.cn】 老公家暴咨询【www.richdady.cn】 财运不佳的改善方法【www.richdady.cn】 长尾词咨询【www.richdady.cn】 什么原因意外的前世案例咨询【微:qq383550880 】√转ihbwel 老公家暴的自我保护咨询【www.richdady.cn】√转ihbwel 投资项目的选择方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的心理调适咨询【www.richdady.cn】√转ihbwel 阴间生活的前世修行【企鹅383550880】√转ihbwel 前世今生的梦境解析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些经典案例?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 自闭症的家庭支持咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的阅读习惯咨询【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读环境如何营造?咨询【σσЗ8З55О88О√转ihbwel 婴灵对家庭关系有哪些影响?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵干扰的解决方法【www.richdady.cn】√转ihbwel 人际关系不好的前世记忆【www.richdady.cn】√转ihbwel 耳鸣的原因及治疗方法【σσЗ8З55О88О√转ihbwel 龙岗网站制作资讯 信息安全的保护技术 衡水商城网站制作 信息安全与网络安全的区别 互联网营销推广优势 新型网络安全技术 网络安全技术与应用 级别 手绘风网站 网络营销软件代理 网络安全预警防御技术 网络营销信息传递原则 国家 网络安全审查 如需手机网站建设 信息安全 863 电子商务网络营销实验报告常见的网络营销方式并加以适当详述 2015年网络安全大事件 信息安全服务收费标准 重庆璧山网站制作公司推荐 网络安全专题教育视频下载 蚌埠网站优化 主流信息安全产品和服务包括,-1 商城网站建站程序 信息安全培训办公室提醒您 信息安全博士,-1 手机网络营销的案例 互联网广告营销案例 email网络营销的现状 信息安全等级分为几级 信息安全等级分为几级 青岛网站设计 如需手机网站建设 互联网营销推广优势 丰台手机网站设计 青岛网站设计 网络安全培训会 苏州网站制作莱芜网站建设 漂亮的设计类图片网站 工业控制系统信息安全产业联盟 可信网站验证 无线网络安全设置保存不了 信息安全管理政策 网络安全评级 营销传播的概念 济南做网站的公司有哪些网站的申请 阿里巴巴 信息安全,-1 信息安全攻防 无线破解 网络整合营销的例子 万脑网站建设 网络安全是啥 专业的网站建设 信息安全博士,-1 手机网络营销的案例 网络安全平台教育平台 2015年关于网络安全的案例 饮料食品营销策划方案美团网络营销 呼市网站制作 营销qq效果怎么样的 大连网站 网络安全流量检测 网络营销的作用是什么 网站建设咨询 信息安全管理政策 重庆璧山网站制作公司推荐 数据网网络安全 微信营销经典案例 陕西营销型手机网站建设 信息安全方面个人证书 网络安全资产管理制度 无线网络安全设置保存不了 信息安全与通信行业协会 网站生成软件 cii 网络安全 网络营销服务名词解释 西安网站建设案例 危害网络安全次数 网络营销服务名词解释 陕西营销型手机网站建设 商业网站模板 广州外贸网站信息 信息安全风险分析过程中所要完成的工作计算机安全事件发生的可能性 工业控制系统信息安全产业联盟 信息安全培训办公室提醒您 厦门的网站 高端全网整合营销推广 摄影网站在线建设 暗月信息安全论坛 营销资讯 丰台手机网站设计 网站双域名 模板型网站 信息安全攻防 无线破解 忻州做网站 北京做网络安全的公司 安恒网络安全竞赛 安徽信息安全等级保护网 信息安全等级保护四级 网站制作 杭州公司 太原制作网站的公司网站 信息安全的建议和意见 营销公誉 cii 网络安全 厦门的网站 网络营销平台分析报告 信息安全的建议和意见 信息安全等级保护初级测评师,-1 饮料食品营销策划方案美团网络营销 主流信息安全产品和服务包括,-1 信息安全等级保护初级测评师,-1 网络安全 的段子 信息安全认证中心 企业网站免费 专业营销外包公司 信息安全与通信行业协会 四川互联网营销公司哪家好 广东省网络安全应急 大学网络安全专业 衡水商城网站制作 川大信息安全专业 网站语言那种好 成都 网络安全 炒作营销 库易网网站 商业网站模板 论在线营销 互联网营销软件怎么样 信息安全 gpu 苏州网站制作莱芜网站建设 网络安全流量检测 信息安全的保护技术 龙岗网站制作资讯 外贸网站seo qq营销技巧 做网站的公司 网络安全是啥 蚌埠网站优化