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

<a class="close" href="https://1tw.111555.com.cn/">&times;</a>
营销系统的优势经信委 信息安全.,-1百度推广营销计划温州做网站哪家好涪陵网站建设网络信息安全和合作asp网站建设商城网站建站程序网站色调为绿色大学生 网络安全杨小乐在推销的途中,误入城市一间隐秘的房子,在听到一声秒针的哒哒声之后,脑海里传来一个甜美的女声。 :恭喜宿主成功开启无问系统。。。 从此主角的开挂人生正式开启,拥有了所有平凡人穷极一生也无法拥有的财富,美女,神功; 当他轻而易举的站在了世界的最高处,却看清了这个世界的真相。 :“我命由我不由天,如果天道不公,那我就换了你这老天!” 。。。他是雇佣兵世界的王者,他是纵横捭阖的兵王,他是战无不胜的战神!为朋友,他甘愿两肋插刀;为亲人,不惜血溅五步!是龙,终要翱翔于九天之上,携风云之势,一路高歌猛进,混的风生水起。 关注微信公众号,直接搜索“步千帆”或者搜索“步千帆的后援团”或者“buqianfan520”添加关注即可!少年血脉被夺,修为尽废,家族中人落井下石。至尊血脉觉醒,神秘小鼎激活,重塑一身体魄,人挡杀人,神挡弑神!修行之路逆水行舟,世间诸事实力为尊,至尊血脉摧枯拉朽!万古独断,独镇深渊,万界无敌,不败神话! 两个月气走三个班主任。 面对有着教师修罗场,学渣游乐园之称的学渣特长班——七班。 即使教导主任开出极高的待遇,一群老教师们也是一个个坐如泰山,无人肯领命。 恰在这时,作为实习教师的陈楚激活最强教学系统。 于是毛遂自荐,成为七班新的班主任,从零开始打造世界最强特长班。 体育特长生:“我奥数竞赛全国第一。” 绘画特长生:“我科研竞赛全国第一。” 舞蹈特长生:“我知识竞赛全国第一。” 升学在即,领导视察,全懵了。 “让你代管特长班,怎么全保送了!?”我叫叶轩,别人武魂觉醒不是动物就是武器。 我不一般,我觉醒了个人!【家族流+不圣母+快节奏+半幕后流+半无敌】 一朝穿越,成为小家族家主的林洛,开局获得家族氪金暴击成长系统! 什么?天下万物,无不可暴击? 什么?暴击还能获得忠诚度? 给家主我使劲地暴暴暴! 天之骄子?去,我林家儿郎上去先扇他几个耳光! 修炼至宝?不好意思,我林家宝库不收这种垃圾! 武帝大佬?开玩笑,也就我林家护卫的水平! “天呐!我家家主逆天了!” 天骄辈出,大能投奔,林家之威,盖压寰宇! 且看林家如何在林洛的带领下,从微末小家族一步步成长为诸天帝族!人鬼共生的年代,原本属于阴界的魑魅魍魉,潜藏在人类的恐慌中伺机而动,阳界的秩序岌岌可危。 幸而有一群懂得观星测位,画符念咒甚至可跨越阴阳两界的异能者,他们各职所能,为了维护阴阳两界平衡不惜堵上性命进行战斗。 这些人被世人尊称为“捉妖师”“每当看见奥特曼小视频的时候,下面总会有一堆品论,你,相信光吗?我也会笑嘻嘻的在下面评论我信啊!” “只是,我相信的光,是那些我不知道姓名的人散发的光芒。” “我相信的不是光,是那些燃烧自己散发光辉的人啊!”你是妖,落入凡间的妖,闯入我的心悸…… 我是妖,入凡落尘的妖,寻觅你的踪迹…… 单恋是苦涩,孽缘是刀光剑影…… 徘徊在爱恨情仇……宿命的悬疑,人生的际遇,命悬一线,纵然是刀山火海,无数痴情男女,笑着哭着痛着恋着乐着,毫不犹豫,飞奔而去…… 想你 念你 陪你 牵你 宠你 恋你 爱你 一世痴狂……全然化作血泪滴…… 相信我!这故事既是玄幻,也是悬疑,还是言情...... 他本对这个世界充满希望,可那贼老天一次又一次的给他带来劫难,身边的人一个个离他而去。 “我早已无牵无挂,何怕这世间万难”
南桥做网站 怎样设计网站 涪陵网站建设 信息安全风险评估模板 淘营销首页 温州做网站哪家好 信息安全认证查询广东省网络安全 全国信息网络安全协会联盟 网络安全隔离交换技术 信息安全 软件安全实验 为什么过世的前世解析咨询【www.richdady.cn】 解梦的前世记忆【www.richdady.cn】 迟缓儿咨询【www.richdady.cn】 存不住钱的前世因果咨询【www.richdady.cn】 外灵干扰【www.richdady.cn】 感情纠纷咨询【www.richdady.cn】√转ihbwel 长期失业对个人的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的家长引导【www.richdady.cn】√转ihbwel 亲子关系的情感交流威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵对家庭有哪些影响?【www.richdady.cn】√转ihbwel 处理感情纠纷的方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的互动模式咨询【企鹅383550880】√转ihbwel 冤亲债主干扰的化解方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 孩子压力大的教育建议咨询【www.richdady.cn】√转ihbwel 孩子压力大的解决方法咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富增长技巧有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的后续规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的安抚有哪些技巧?咨询【企鹅383550880】√转ihbwel 佛教视角下的前世今生【σσЗ8З55О88О√转ihbwel 洛阳 网站建设 网络安全部 全网营销网络推广 南阳专业网站建设 企业信息安全哪个方面是最重要的 北京网站优化公司 营销实例 中国网络信息安全 协会 专题类网站 信息产业信息安全测评中心 杜跃进 信息安全 做个网站要多少钱 网站色调为绿色 大连做网站的企业 网站怎么弄 网络安全售后服务方案 网络营销 (第5版) 电子商务网站建设资讯 网络安全 被动攻击 上海专业做网站公司地址 免费送网站 太原网站制作 事件营销是口碑营销? 营销活动方案 网络安全工作动态 网站设计软件 网络营销公司干嘛的 信息安全等级评测资质代办信息安全服务资质 如何用代码设计一个网站有前台和后台一般用什么语言设计网站 佛山企业网站建设咨询 网络信息安全周活动 广元网站建设 潍坊网站建设营销策划天培营销 认识网络营销调查的基本方法是 社会 信息安全意识 网站开发与网站制作 网站管理公司 商城网站建站程序 太原网站制作 网络营销公司干嘛的 顺德网站设计 dns网络安全 网络营销 (第5版) 网络信息安全 考试系统 医院网络营销是什么意思 关于网络安全的常识 网络安全和协议 网络安全审计系统 华为信息安全心得体会 怎样设计网站 网络安全 日志分析 全网营销网络推广 浦东企业网站建设 龙岗网站建 网站设计软件 网站怎么弄 网站公司成功案例怎么写 互联网信息安全资质 网站怎么弄 华为信息安全心得体会 加家集是什么营销 网络与信息安全科普 信息安全风险评估模板 网站静态页 关于网络安全的证书 电商网站建设 网络安全工作动态 长沙电子商务网站建设 如何建设好英文网站 网络营销 (第5版) 做个网站要多少钱 南阳专业网站建设 汕头网站优化 联创营销班 南宁专业网站制作设计 网络安全沙龙 中国国家信息安全部门 国家网络安全宣传周活动主题 网络信息安全和合作 涪陵网站建设 信息安全风险评估的一般步骤 怎么样查我的网站有没有做过优化优化之前和之后的效果 网站色调为绿色 网站设计软件 电商网站建设 莱芜网站建设 网站在布局 重庆最新微信营销方案 广州外贸网站信息 冰桶挑战网络营销分析 事件营销是口碑营销? 信息安全 软件安全实验 软件系统信息安全建设,-1 信息安全风险评估的一般步骤 网络危机公关营销案例 网站上线 全国信息网络安全协会联盟 开发网站需要什么技术 网络安全部 手机网站制作机构长沙网络营销 优帮云 asp网站建设 南宁专业网站制作设计 网站设计架构 网络营销结语 悬浮滚动的网站jquery在线qq客服咨询代码 有6套皮肤可选 认识网络营销调查的基本方法是 优衣库微博营销案例 营销活动方案 重庆最新微信营销方案 网络信息安全周活动 dns网络安全 网络安全 日志分析 微信网络安全未通过 聊城网站建设招聘 网络安全审计系统 顺德网站设计 大学生 网络安全 潍坊网站建设营销策划天培营销 太原市做网站 交互式网站 网站备案信息注销原因? 大连信息安全公司 想建网站 微信网络安全未通过 网络营销证书名称 上海有什么网络安全公司 企业信息安全哪个方面是最重要的 网络安全售后服务方案 东莞政府信息安全 营销型网站推广方式的论文 软件注册信息安全吗 顺德制作网站价格多少 网络安全最新资讯 网站公司成功案例怎么写 大连做网站的企业