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

<a class="close" href="https://zpe.uuhb.cn/">&times;</a>
机房网络安全评估公司idc机房信息安全甘肃网络安全等级保护网上海网站设计开网络安全技术中国信息安全测评师三合一企业网站模板微信营销新闻有意义的网站网络安全百科一个落魄少年的传奇人生,在地球被各种欺负,媳妇都跟别人跑了,穿越到异界也是被别人暴打,让他对世界充满了恶意。本部由五十个不同故事组成的短篇恐怖小说在未来,男主是一个软弱的男性,生活屡屡不顺,但一次意外参与一场AR游戏,通过苟活的方式得到了一笔不菲的奖金,这让他产生了浓重的兴趣,性格的的匹配与科技的发展让他走上不平凡的道路二十年前,一场大火,父母双亡,与妹妹分离。 二十年后,接到刺杀任务,在战斗过程中,猜测目标是和自己分开了二十多年的妹妹。 因为这个猜测,导致任务失败,受到组织惩罚,“意外”死亡。 重生后,在成长路上,发现了二十年前的那场大火里,还隐藏着不为人知的秘密……深居野林神秘老道,一手培养出七位足矣撼动华夏的绝美女徒弟。今日,又一名最小男徒儿罗峰顺利出山。 罗峰:“我是老逼灯培养出最垃圾的徒弟,没什么本事,就想吃吃软饭,苟且度过这一生。” 师父:“什么,他说他最弱?难道我没有告诉过你们,那小子身怀诡秘?” 师姐:“我好像发现我们的小师弟越来越不对劲儿了,为什么世界各大强者都来跪舔他?” 一位来自于世界黑暗深处的顶级势力后裔之子,出生便被抛弃做弃子,偶遇华夏旧时代战力天花板老疯子和七位倾城倾国的大背景七位师姐,从此掌握七大绝学误入都市豪门,卷动江湖风云,走上自证强者之路。顺应天命者,悲;逆应天命者,死! 如之可奈何?祈求天地庇佑? 殊不知“天地不仁,以万物为刍狗!” 身世坎坷,且看他如何面对人生! 经历大变,且看他如何渐渐蜕变! 命运降临,且看他如何对抗命运! 持戟弯弓,且看他如何挽破苍穹! 毁天、灭地、戮神、屠魔、诛仙、噬魂、镇妖、斩尸、弑佛! 逆命运,踏天途,一切尽在——《命之途》! 四方界域,广袤浩瀚,亿万星球,无尽大陆。传闻,在第四界域的尽头,隐藏着惊天之密,能使成为四方界域的掌控者,长生万右。少年李南风得到神秘玉剑,修无上功法,习太初阵术,炼灵丹妙药。从微末中崛起,斩古帝、劈祖龙,闯到第四界域,于界域尽头证得的四域神尊,名垂千史。灵曦怎么也不会想到,这条路他要一个人走下去! 他知道每个人的路都是不同的,也许会有交集、重叠,又或者平行而过。但是,不论最终如何,感谢你、他们曾经与他同行。仙域女帝姬如霜惨遭暗算,自爆而亡。 机缘巧合一缕神魂转世投胎下界仙朝! 复仇大业未行,却发现隔壁居然还有一个男婴。 “哼,不过是长生路上的累赘罢了。” 可接下来,女帝却发现自己的这个弟弟有些变态。 放弃神药灵液,居然让她觉醒轮回道体! 摸摸自己,居然让她修为翻倍! …… 面对哥哥的无限宠爱,女帝则是羞红了脸。 “哼,雕虫小技!” “复仇当前,本帝怎么可能屈服于这个男人的施舍。” “嗯,神药真香!谢谢哥哥!“2020年最火爆的相师文,你,值得拥有! 看红颜,花团锦簇,观天下,一路风尘! 大相师丁凡学成归来,误入商界,成为超级护花大使,开启了不一样的精彩人生。 凭借精湛的相术,风骚的才情,丁凡让恶霸低头,大佬俯首,众星捧月,潇洒走上事业巅峰。 万花丛中过,片叶不沾身,群芳争艳,选择很困难。 丁凡有多少姐姐,你猜? 丁凡有多少财富,你再猜? 丁凡有几个妹妹?那小子已经跑了……
聚美营销岗网络安全开源代码 沪江网络营销 网站banner的设计要求 网络信息安全 实验室 中山网站建设文化方案 房山网络安全小镇 互联网营销领域的公司 国家网络安全信息中心 沈阳市网站设计公司大全 网站排序 婴灵的超度仪式如何进行?咨询【www.richdady.cn】 前世老公的前世解析【www.richdady.cn】 孩子厌学的原因分析咨询【www.richdady.cn】 灵魂化解的仪式【www.richdady.cn】 耳鸣的原因分析【www.richdady.cn】 无形干扰的咨询技巧咨询【微:qq383550880 】√转ihbwel 前世缘份的轮回续缘威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的原因有哪些?咨询【微:qq383550880 】√转ihbwel 缺心眼的表现及成因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 忧郁症的前世记忆【www.richdady.cn】√转ihbwel 财运不佳的自我提升【www.richdady.cn】√转ihbwel 有官司的心理调适【σσЗ8З55О88О√转ihbwel 孩子不爱读书的原因咨询【σσЗ8З55О88О√转ihbwel 什么是婴灵?咨询【www.richdady.cn】√转ihbwel 如何知道自己有前世缘份?【σσЗ8З55О88О√转ihbwel 灵性提升课程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的重逢有何迹象?咨询【企鹅383550880】√转ihbwel 财运不佳的投资建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络安全 绿盟 有意义的网站 做网站需要多少钱 技术支持 网站建设 舟山网站建设 第七届电信和互联网行业网络安全年会 wifi信息安全检测报告禹州网站建设 中央网信办网络安全应急指挥中心 网络营销模式 营销导向企业网站策划 网站banner的设计要求 中国国家信息安全漏洞库 cnvd 网络安全服务商 高端网站设计建设 营销到位网络品牌营销 从重大事件看网络安全形势答案 深圳网站建房 营销到位网络品牌营销 我国网络安全事件 网络社区营销策略 网络信息安全 实验室 网络营销的劣势有哪些 对可口可乐营销的思考 国家信息安全产品认证 网站建设问题大全 中国网络安全检测营销推广全网整合营销 上海网站设计开 上海市公安局公共信息网络安全监察处 淘营销报名 信息安全技能赛 安全狗 申请网站 四川信息安全培训 科技制作网站 网络安全的大数据分析 如何建设公司门户网站 沪江网络营销 昆明php网站建设 广州h5网站开发 网络安全工作的价值 全球网站建设服务商 东莞设计网站 ccid 2010-2011年中国信息安全产品市场研究年度报告 王秀军 网络安全与信息化 对可口可乐营销的思考 新网站优化 许昌做网站 网站建立费用 微信公众号关注营销案例 房山网络安全小镇 网络安全主管部门招聘 做的好的网站 上海市公安局公共信息网络安全监察处 网络安全服务 网站建设seo优化的好处 网络营销经典 营销到位网络品牌营销 工业控制系统网络安全 信息安全体系建设 中国国家信息安全漏洞库 cnvd 网络安全技术 机房网络安全评估公司 北京网站制作公司招聘 沪江网络营销 概括 病毒营销特点 常州做网站 互联网营销领域的公司 网络营销行业数据分析 南阳网站建设 接信息安全评测,-1 房山网络安全小镇 网络营销模式 昆明php网站建设 信息安全内控,-1 珠海网站seo 唐山网站托管 网络安全 绿盟 网络营销促销特点 中国国家信息安全漏洞库 cnvd ids与防火墙联动的网络安全模型设计 信息安全会议 infosec,-1 微信网页版信息安全吗 广播电视信息安全测评中心 上海网站设计开 网络信息安全犯罪案例,-1 合肥seo网站推广 自己弄个网站 珠海网站seo 购物网站如何推广 做网站需要多少钱 甘肃网络安全等级保护网 肥城网站建设 全网营销策划公司 网站建设设计网站配色方案橙色 响应式公司网站 南阳网站建设 肥城网站建设 国家网络安全信息中心 建立企业官方网站 郑州手机网站推广公司 网络安全实践 网络社区营销策略 培训学校 营销系统 天融信网络安全审计 网络安全服务商 北京网站制作公司招聘 信息安全等级保护 英文 工控网络安全 东莞设计网站 国家信息安全产品认证 浙江高端网站 北京做信息安全 信息安全综合实验系统 木马入侵与检测 ssh参数设置 有意义的网站 微信营销的目的 信息安全技能赛 安全狗 营销导向企业网站策划 网络安全实践 网络安全100强 网络安全博览会地点 科技制作网站 信息与网络安全问题 网站模板的好处 企业网络安全的现状分析 网站banner的设计要求 番禺高端网站建设公司 网站排序 中央网信办网络安全应急指挥中心 权威的网络安全网站 信息安全专业最新消息 网络营销促销特点 建立企业官方网站 信息安全等相关专业 长沙 做营销型网站的公司 概括 病毒营销特点 高端网站设计建站