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

<a class="close" href="https://dchy.0904.com.cn/">&times;</a>
外贸家具网站首页设计信息安全产品与方案信息安全等级保护制度4.29网络安全eid淄博微网站信息安全技术博客网络安全运维周报信息安全技术博客夏玉明 信息安全绵阳的网站制作公司被鲜血洗涤, 也不能使信念动之分毫 被黑暗笼罩, 光芒永不熄灭! 千年过往,揭露自己身世。 迪诺外传,暴露任务秘密~ 一切都是骗局? 不,你所想象的,远不及那一切的真相! 《米瑞斯之诺亚光辉》第二部强势来袭。 拯救阿玛迪斯星的征途中,也不妨一起来探寻,米瑞斯与米梦樱的秘密吧!奉师命下山治病的叶秋,凭借亿点点高强医术,让各路美人闻鸡起舞,无法自拔。 “叶秋,你除了医术高强,精通道卦玄术,有一堆国色天香的女人拥戴以外,你还是个啥?” “抱歉,我还是个美男子!”是乱世出英雄?还是英雄造就乱世?他离开后,天地受异族侵略,万千宗族刹那间变成灰烬。受天地所赐拥有十八神体的少年主动挑起了大梁,战至四肢尽灭,战至万里血浆! 只为诸君战四方,莫言人族无人皇!杀!提前完成学业,辞别母亲后的伊周,在边境结识青年海樱,两人成为亲密无间的好友,共同踏上了大千世界的冒险之旅。 一路上,他们将探访神秘强大的神灵生物,直面堕落腐烂的欲望之主,纵览鬼斧神工的自然奇观,品鉴风俗迥异的异族风情,驱散游荡于黑暗世界中鬼魅魍魉。 旅途的终点,是那浩瀚星海,与那些以凡人之躯,比肩神灵的英雄们,共同迎接来自命运的挑战。红月当空,全球骤变。拥有力量,你就高高在上,应有尽有,没有力量,你就只能任人宰割。危机爆发,众种族林立,丧尸,异兽,鬼种,人类。九转山河,浩瀚天下,试问天下,谁与争锋!起步比别人晚的颜逸能否追赶众人的脚步,在末日之中杀出一条属于自己的路。【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人! 一位满目苍桑的老人,眯着眼倚坐在藤椅上,知吖吖的响着。藤椅旁,大黄趴在地上睡的正香。老爷子看起来就像是已经入土为安,躺倒在这片土地上一般。 一道光线照在老人身上,老人缓缓张开双眼。一个穿着黑衣的少女,站立于光束之下,看着这个年过花甲的老人,她的脸色有些悲戚,但却带着坚毅,眼中有着无尽的痛苦,看向这个老人的眼神也充满了复杂的感情。少女的右手紧握,似乎是用了极大的力气握住手中的长剑。 少女看向老人,嘴角露出一丝微笑。 “你来了”老人看着面前的少女,没有丝毫的惊讶,似乎早有预料,淡淡的说道。武道之途,乃与天争命,逆天而行,遭天罚万劫。世间唯有九脉者,脉与天合,顺天而行,身怀天地气运,迎劫渡身,逢凶化吉。 林辰本乃天赋异禀,为天纵骄子,修途一路高歌,遍处风光。因缘偶得奇功妙诀,断脉重修。从此遭同门羞耻,宗门遗弃,兄弟背叛,处遭唾弃。 待我重回巅峰,问鼎苍穹,势必一洗前耻,傲世凌天。(不定期更新,更文极慢,请莫期待) 天地之间,你我存一 人去仙来,渡后方知 仁心相崩,礼乐亦损 万生万物,劫后方新
手机网站制作时应该注意的问题 成都网站建设哪家好 网络营销的五大定位 信息安全 标准讲解 专业网站定制服务 南宁网站建设 信息安全测试工具 关于互联网营销的书籍推荐 网络安全体系层次模型 开发微网站 婴灵、邪灵、祖灵咨询【www.richdady.cn】 事业不顺的风水布局咨询【www.richdady.cn】 莫名其妙感伤的自我提升【www.richdady.cn】 商业决策的心理学支持咨询【www.richdady.cn】 通灵老师预约【www.richdady.cn】 前世缘份的故事如何改变命运?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世案例咨询【σσЗ8З55О88О√转ihbwel 亲子关系的家庭氛围咨询【www.richdady.cn】√转ihbwel 儿子不读书的环境影响【企鹅383550880】√转ihbwel 失业后如何快速找到新工作【微:qq383550880 】√转ihbwel 前世缘份的前世修行咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感沟通方法有哪些?咨询【www.richdady.cn】√转ihbwel 迟缓儿的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 特殊学校的咨询技巧【微:qq383550880 】√转ihbwel 前世缘份的缘分解读【微:qq383550880 】√转ihbwel 头脑混沌的原因及对策【www.richdady.cn】√转ihbwel 家庭关系的情感维护方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何知道自己有前世缘份?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度与家庭和谐威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富转运方法有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网站建设与应用 企业网络安全措施 网站代理维护 学生观看网络安全信息 在线营销策划培训课程 西安网络营销电子商务培训课程 上海信息安全技术公司 江苏网络安全中心 专科网络营销就业前景 整合营销 个人信息安全事件案例分析 营销软件培训 vpn技术与网络安全案例 手机网站的制作 南宁网站建设 o2o网站系统 网络营销方式 网络信息安全中心招聘 娃哈哈的营销方式 跨境电商平台营销方案 九江网站建设 网络安全攻击的分类 用电脑建立网站 全国信息安全系统 信息安全等级保护工作面临的形势,-1 网络安全运维管理系统 银行 网络安全主任 南京网站建设 vpn技术与网络安全案例 手机网站的制作 教你做网站 杭州 网站建设公司排名 建手机网站 昆明网站开发多少钱 信息安全管理体制 专科网络营销就业前景 国家实施网络安全 南宁网站建设 信息技术与信息安全 防范系统攻击的措施包括 个人信息安全调查报告 软件网络安全 企业信息安全审计表 企业信息安全审计表 长春微信做网站 o2o网站系统 营销软件培训 企业网络安全措施 餐饮业网络营销策划书 营销优势和劣势分析法 珠海哪里做网站的 提供网站建设搭建 企业网页设计网站案例 网络营销方式 公司网站维护 重庆微信营销活动策划 信息安全测试工具 个人信息安全调查报告 上海信息安全技术公司 信息安全等级保护工作面临的形势,-1 郴州网站制作 中国网络安全实验室 msn营销 北京网站页面设计 网站制造 自己开发网站需要什么技术 网站后台慢 科学管控在网络安全中的重要性 网络安全 售前 技能 娃哈哈的营销方式 加建网网站 网站制造 中国信息安全博士,-1 整合营销 最牛的营销公司 关于互联网营销的书籍推荐 提供网站建设搭建 跨境电商平台营销方案 网络营销策划的方法 省网络安全和信息化领导小组办公室 代发营销 营销网站建设 日照网站制作 网络安全及信息化 信息安全国际有哪些标准 九江网站建设 c2c网络营销市场份额图 网站前台 珠海建网站专业公司 网站后台慢 淄博微网站 企业网页设计网站案例 网络安全运维周报 西安网络营销电子商务培训课程 北京网站页面设计 信息安全工作组 传统营销的营销渠道 关于应用安全可控信息技术加强银行网络安全和信息化建设的指导意见 全球网络安全企业500强 网站翻页 未加密网络安全么 网络安全龙一 开发微网站 传统营销的营销渠道 什么是网络安全. 企业级网站欣赏 自己开发网站需要什么技术 网站搭建方案 在线营销策划培训课程 公司网站维护 中国网络安全提高 国内网络安全平台 温州优化网站展示型网站建设流程图 精彩营销事件 公安部网络安全应急 珠海哪里做网站的 国家实施网络安全 网络安全体系层次模型 o2o网站系统 厦门网站建设 2015年网络安全形势 全球网络安全企业500强 建手机网站 信息安全评估结论 东莞制作网站 网站建设 cms 下载 信息安全工作组 信息安全共享平台,-1 access的程序出售.是wap网站.请问怎么给asp 单仁教育实战全网营销 成都市网络安全协会 教你做网站 国家网络与信息安全信息通报机制技术支持单位 专业网站定制服务 网络安全的特色研究院信息安全管理 网站管理的内容