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

<a class="close" href="https://chiguazicom.genha.cn/">&times;</a>
iso信息安全标准重庆网站建设优化网站的网络营销功能网站推广策略建立信息安全应急管理乐清企业网站制作顺德网站手机网站建设的趋势网络安全高峰论坛边界网络安全格洛斯特国在2100年创造出了第一批抗侵略的机甲武器,效果十分显著,不仅抵挡住了其他国家的侵略还收复了之前战败的边境地区,在这之后,其他国家也纷纷效仿格洛斯特国舍弃了对普通的枪械和炮弹的研究,也转向研究并创造出了机甲武器,世界爆发了机甲时代战争,战争依旧没有停息,格洛斯特国在2108年秘密打造出了约5m的由人类为载体的新型可作战机甲,但由于驾驶员的大脑活跃度和反应速度的年龄有着过高的要求,军方要求由25岁以下16岁以上的全部非贵族国民必须要参军,因此有大部分的高中生和大学生也必须参军,本是该好好享受青春的年纪却要被迫于战争和死亡为伍,本应握着笔的手却握着机甲操纵杆,战争是残酷且不公的,一群背负保卫国家使命的少年们啊,为了自己想守护的东西而苟延残喘的活下去吧!过忘川,通彼岸,便是奈何之桥。往生之人走过奈何桥,回首望乡台便是道别,而喝了孟婆汤,则是与此生了却因果。当然地府不只有这些..... 无间地狱往往被世人误解为十八层地狱,阎王为地狱之首,属下十八位判官分别主管着十八层地狱。然而事实并非如此。地狱乃是十殿阎罗,分别掌管着十方鬼域。而这十殿阎罗以地藏菩萨为首,共同镇压着一只大妖,那就是曾经随唐三藏西天取经的孙悟空。一名娱乐场所的小保安,无意中救下了一位建筑公司的女副总,从此平步青云,一跃成神,更有祖传绝世异术,邀得一众梁山英雄相助。失业主播江白为了博取流量喝下来历不明的液体,身体发生了异常变化。在走亲访友的过程中,见证了美女战怪物不可思议的事件。 数天后,在机缘巧合下再次遇到当天的救命恩人。原来这个世界上还有一种叫空间者的人天生背负命运。最后的亚西兰。 什么是强者: 他为天下第一,却说勇无第一,武无最高。 可自古有言,一将顶三宗,三真灭四将,一帅困四真,一仙弑三军。 他想调停,可战神说:亚西兰,不是你小小武仙说了算! 时代风口浪尖,有人不愿成神,有人被迫成神,有人不得已而成为神。 他爹:我儿武学天赋,天下无人能及。他:我已经废了。 他,学成出山,却缝天下追杀,一路南逃北藏,无处藏身,最终被迫自立为王。 他曾经输麻了,可后来又赢麻了,却也一无所有,还要追了他一个青春的疯子给他递酒:吾有良酒,将军食之,可解心忧。 最后的亚西兰,危危大局,谁才是最终的执棋者,或终将揭晓。 可隐藏最深的他:天下大势,尽由我控。 …五年后叶云天重返都市,发现当年帮他的美女被害成了瘫子,当年青梅竹马的婚约女友骂他下等人,当年埋葬父母的坟头不许祭拜! 但谁人清楚,他已再不是当年的废物,而是人间最大势力诸天的王者!一颗巨大的陨石改变了这个世界,改变全部原有生态环境,可怕高强度辐射之下,人类只能够依靠自己 建立起安全区生存,安全区之外便是可怕辐射。 曾经温和生物在恐怖辐射之下,产生了巨大变异,以杀戮为乐,以毁灭为荣。 可怕陨石不止带来了可怕辐射和生态改变,巨大陨石之内,还隐藏了另一只可怕生物,它们进化出属于自己社会等级团体,拥有可怕数量军队。 人类在灾难之后,面临无数挑战,是否还能够重建属于自己曾经 家园,强大科技是否能够再一次拯救人类。 在这个灾难大地上,人类、异化兽和辐射生物相互之间撕杀。 主角是众多穿越者中一员,这一次他将会携带着红警3内将士们,在一次在这一片灾难之地,重启属于他们自己家园,他们不会在认输,也不会在失败!!! 新坑续写红警系列,请各位看官老爷们,多多支持呀!克里斯托与未婚妻艾薇儿出席宴席期间发生的故事…子受穿越为殷商纣王。 系统发布的第一个任务竟然让他找个女人表白,任务失败回到原世界? 子受表示:当nm的暴君,老子要回去! 为了回到原世界,作死表白了女娲。 却没想到阴差阳错地成功了! 子受:女娲是我女朋友怎么办?急,在线等! Ps:此书又名《我的女朋友是女娲》、《女娲好感度爆满了怎么办?急,在线等!》你是想当无名小卒,还是名扬天下?
如何组织网络营销部门 网站访问者 四视图网站 南安网站建设 边界网络安全 信息安全创业的女人 做个人网站 常州网站建设公司机构 网站优化的图片 上海网络营销公司 冤亲债主干扰有哪些常见症状?【www.richdady.cn】 前世今生测试在线【www.richdady.cn】 耳鸣的原因分析咨询【www.richdady.cn】 前世今生的轮回理论【www.richdady.cn】 感情纠纷的真实案例有哪些?【www.richdady.cn】 意外的前世缘分咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋故事咨询【企鹅383550880】√转ihbwel 大龄剩女的情感生活如何改善?【σσЗ8З55О88О√转ihbwel 外灵干扰的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富管理方法有哪些?【www.richdady.cn】√转ihbwel 耳鸣的心理调适咨询【企鹅383550880】√转ihbwel 与男友前世的前世解析【σσЗ8З55О88О√转ihbwel 暗恋的情感表达【www.richdady.cn】√转ihbwel 儿子不读书的改运方法【企鹅383550880】√转ihbwel 家宅磁场的常见问题威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何预防过早离世【www.richdady.cn】√转ihbwel 孩子厌学的咨询技巧【σσЗ8З55О88О√转ihbwel 升迁障碍的真实案例有哪些?咨询【企鹅383550880】√转ihbwel 关于信息安全的案例 网络营销推广前景 信息安全专业考什么证国家级网络安全事件 上海企业网站 xx有限责任公司网络安全解决案例 做个人网站 教育网站设计案例 hr服务台理解信息安全 网络营销的swot分析图 网络安全教育课程 大连网站建 聚美优品营销策划 烟台软件优化网站 整合营销推广 网络安全的字体 什么软件做网站好 网站兼容9 网络关系营销的案例 网站推广公司 广东手机网站建设报价 网站制作中企动力 最牛营销 常州网站建设公司机构 信息安全的企业信息安全 绵阳的网站制作公司 濮阳网站建设 信息安全的企业信息安全 网络营销的swot分析图 手机网站建设的趋势 青岛外贸网站建站公司 网络营销学校 3g手机网站 信息安全监测中心 大连网站建 寻找微营销销售团队 网站优化的图片 广元做网站 网站导航营销的优势 网站推广策略 营销服务? 2016信息安全泄密案例 《信息安全管理》 全面的网站建设 建网购网站 网站色调 网站推广策略 科技网站建设 做个人网站 信息系统网络安全 中国国家信息安全漏洞库cnnvd 遂宁网站建设 信息安全等级测评 报告,-1 网站兼容9 广东手机网站建设报价 重庆网站建设优化 乐清企业网站制作 整合营销推广 网络营销贴吧 学校网站设计 xx有限责任公司网络安全解决案例 大连网站建 怎么用域名建网站 顺德网站 科技网站建设 hr服务台理解信息安全 网络公司营销手段 信息安全等级测评 报告,-1 网络安全监管部门电话 xx有限责任公司网络安全解决案例 信息安全技术 信息安全风险评估规范 gb/t 20984-2007 全球十大信息安全公司排名 上海企业网站 手机网站建设的趋势 娱乐场营销方案 下载免费网站模板下载安装 信息安全 三权分立 建网站的步骤 网络和信息安全通报实行小时联络制度 长春建设平台网站的公司 德州网站优化 最牛营销 搜索引擎营销推广 信息安全创业的女人 如何组织网络营销部门 濮阳网站建设 信息安全监测中心 科技网站建设 《信息安全管理》 常用微信营销方式 赣州网站设计 e-mail营销的内容 全面的网站建设 败笔网络安全技术 网站制作中企动力 网络营销推广环境分析报告 全网网站建设优化 网络营销的误区 网络营销的误区 娱乐场营销方案 信息安全技术 数据库管理 常州网站建设公司机构 上海网络营销公司 手机网站建设的趋势 网络安全平台代理商 成都公司建网站 南安网站建设 国内营销公司 邳州建网站 网络安全高峰论坛 建网站的步骤 广东手机网站建设报价 常用微信营销方式 遂宁网站建设 金融网站建设 大连网站建 服务器 信息安全性 关于信息安全的案例 策划营销推广 网站定做 网络信息安全技术 信息安全的企业信息安全 整合营销推广 青岛外贸网站建站公司 网络营销学校 信息安全 应用安全 网络安全等级测评 校园网站设计 佛山外贸网站建设平台 加建网网站 加建网网站 服务器 信息安全性 支付宝的网络营销为例 网络营销学校 网络安全的的好句子 最强的网站建设电话2016中国网络与信息安全大会