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

<a class="close" href="https://gjsb.pangqu.com.cn/">&times;</a>
专业的信息安全宣传网站信息安全力量配置厚街网站建设公司单位信息安全的保护工控信息安全技术e脉通网站汕头建设网站flash网站设计昆明做企业网站多少钱信息安全技术应用研究 意外穿越,王腾穿越到了龙珠超世界,而且还到达了全王宫殿! 全王对王腾特别赏识,直接让他成为神界的监察官! 激活签到系统,开局奖励超级赛亚人五……… “叮,恭喜宿主在全王宫殿签到,奖励自在极意功!” …… 比鲁斯:“什么?监察官大人驾到了,赶紧出迎!” 芭朵斯:“王腾大人好帅啊,真希望能够跟着大人,成为他的贴身天使……” 香港回归25周年纪念,经典港剧大时代反派丁孝蟹同人文。家庭,事业,爱情,一个男孩成长为男人,一只小螃蟹一步步蜕变为大佬孝。血腥残酷的修真世界,实力为尊,崇尚武力,凡人皆为蝼蚁。想要站到世界的最巅峰,孤儿院长大的他,如何做到?卖力苦修?拜入修真大派?还是寻得名师?统统都不是,偶得万界供应系统统加身,开挂人生由此开始,修炼、金钱、宝物、丹药诸多资源随手可得。从此开始了火箭般的成长之路,从一介凡人蜕变为修真巨贾,不过弹指间。江潮刚穿越古代,发现前身是个好吃懒做的主,家里还有一对苦命姐妹。 眼看断粮要饿死,江潮只能做个勤劳的小蜜蜂。 却不想日子有点盼头,土匪又上门了。 都不想我活是吧?那我就先弄死你,我可是全能特工,先弄几颗土雷轰你娘的。 土雷不怕?枪怕不怕?要不就搞几门炮炸你玩玩!没事,数理化哥全能。你来再多,有的是办法对付你。 朝为田舍郎,暮登天子堂! 从乡野到朝堂,江潮靠着领先这个时代千年的知识,竟渐渐握住了这个强盛王朝的脉搏。咸鱼舰长董墨轩意外身亡后来到了崩坏世界,原本想继续自己舰长职责的他却发现自己成为了一名死士。 所以,董墨轩决定………… 我不做人了,女武神们! 我要成为死士王君临天下! 然后………… “哦,是吗?” 看着拿着枪顶着自己女孩,董墨轩不屑的表示………… 不要杀我,我真的是好死士啊啊啊啊啊!!!林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!社畜石源,闲暇之余,最爱好看免费小说。 他甚至还有一个美好的梦想,躺在家里什么工作都不用做,光靠看免费小说就能迎娶白富美、走上人生巅峰...直到有一天,他看的免费小说里,突然出现一个闪烁着光泽的宝箱,石源下意识便点开。 “你寻到青铜宝箱*1,获得地摊大力丸*5。” “叮..检测到你当日当周阅读时长达标,符合看免费小说就变强系统激活条件,恭喜你获得现金奖励10000,特殊技能过目不忘*1..” “书中自有颜如玉,书中自有黄金屋,看免费小说就变强,拒绝一切套路!” “你寻到黄金宝箱*1,获得可控核聚变技术*1..寻到暗金宝箱*1,获得完整修仙功法*1...” 那一日,一个自称女反派的绝美女人从书中跳出,痛哭流涕告诉石源,战神XX率十万虎贲回归血洗她全家,寻求石源帮助。 石源:“战神是吧?十万虎贲是吧?统统镇压丢进X院照顾战神他全家的生意...” 喜欢刀子的进来,习惯糖里带血的进来“摩拉克斯,你继续喝茶,没必要真的……” “摩拉克斯都没说什么,你一个划水的巴巴托斯来捣什么乱!?” “巴尔泽布同学,咱先把刀插回去好吗?打打杀杀的不好……” “哎别别别!” 一介凡人意外闯入修仙世界,成为一名资质普通但向道之心甚坚的修仙者。 仙路崎岖,长生漫漫,虽千万人,吾往矣!
江津网站建设 做网站团队 网络安全项目经理 百度知识营销广告 网络信息安全教育培训 密码学与网络安全实验室 怎样健网站 企业微博营销的特点 如何网站 网站制作优化济南 内心恐惧胆怯咨询【www.richdady.cn】 缺心眼的案例分享【www.richdady.cn】 脑部不清晰的前世因果咨询【www.richdady.cn】 性压抑的前世记忆【www.richdady.cn】 如何应对冤亲债主的干扰?【www.richdady.cn】 事业不顺的原因有哪些?咨询【企鹅383550880】√转ihbwel 老公家暴的前世记忆【微:qq383550880 】√转ihbwel 财运不佳的改运技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 性压抑的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的前世解析咨询【微:qq383550880 】√转ihbwel 如何识别外灵干扰的症状【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的前世解析咨询【σσЗ8З55О88О√转ihbwel 事业不顺咨询【www.richdady.cn】√转ihbwel 事业不顺的职场提升路径有哪些?咨询【www.richdady.cn】√转ihbwel 事业不顺的职场困境咨询【σσЗ8З55О88О√转ihbwel 去世的父亲的前世案例【微:qq383550880 】√转ihbwel 外灵干扰的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何超度婴灵?咨询【微:qq383550880 】√转ihbwel 网络安全与管理 网络品牌整合营销策划 电子商务网站开发 网站案例 建网站就找伍佰亿 xctf网络安全 中国信息安全认证中心特点 网络安全与信息办公室 网络安全渗透技术培训班2015 网站加网页 2013中国信息安全大会 特色的佛山网站建设 信息安全技术信息系统安全等级 关于网络安全动态 网站信息安全维护 国家电网信息安全大赛 数字营销概念 汽车网络安全工作组 营销环境分析的要素 网络安全是什么工作 网站设计技术 apmserv 127.0.0.1 怎么能直接访问本地网站 山东省信息安全竞赛 网站销售 搜索型网站 网络安全应急响应服务 兰州网站建设 网络安全应急响应服务 web网络安全架构 国家网络安全网站 武汉网站制作公司 和包营销活动方案 上海专业做网站公司地址 工控信息安全技术 网络营销工具分为沟通类和 南阳河南网站建设 厚街网站建设公司 郭启全 网络安全法 429网络安全日2017 网站赏析 诸城网站制作 网络安全 被动攻击 设计公司网站 单位信息安全的保护 网络安全项目经理 企业网站快速建立aspcms2.2新手完全自学视频教程 免费下载 深圳b2c网站构建 内容营销优点 济南网站建设第六网建 网络立体营销 上海edm营销 网站建设费 需要郑州网站建设免费网站建设 百度一下 营销第一网 信息安全竞赛 电子商务 网络营销 凡客诚品网络营销现状 信息安全等级评测资质 手机模板网站 信息安全的课程 改密码为保障网络安全 搜索型网站 网站赏析 2016年网络安全大事件 网络安全的监管机构 营销单页 有什么营销优势和劣势 洛阳网站制作 网站单子 中国信息安全平台 信息安全技术应用研究 营销策略理论的发展 兰州网站建设 网络安全资讯中心电话 中国网络安全大会 安徽 二维码营销 国际网络安全 公司做网站 信息安全工具书比较 绍兴网站建设公司 做网站团队 信息安全和电子政务 网站不足 网络立体营销 有什么营销优势和劣势 中国网络安全大会 安徽 宣传营销科的重要性 网站信息安全维护 重庆知名营销公司 企业手机网站建设机构 诸城网站制作 网站制作优化济南 中国网络安全大会 安徽 个人信息安全相关条例 网络安全渗透技术培训班2015 天津 企业网站建设 天津 企业网站建设 安全威胁信息安全,-1 济南网站建设第六网建 营销单页 网络安全技术认证 电子商务网站开发 e脉通网站 第三届信息安全等级保护 2016年网络安全大事件 网站建设及优化 赣icp 购物网站设计 429网络安全日2017 邢台网站推广 数字营销概念 山东省信息安全竞赛 中国网络安全大会 安徽 上海有什么网络安全公司 支付宝的网络营销策划模板网站与 定制网站的 对比 郭启全 网络安全法 购物网站设计 网站 云建站 网络安全的监管机构 2017网络安全周 网络营销怎么实施 改密码为保障网络安全 宣传营销科的重要性 绍兴网站建设公司 信息安全 安全维保信息网络安全杂志 网络安全的监管机构 企业微博营销的特点 论坛营销的解析 网络安全是什么工作 电子商务网站开发 网络安全项目经理 重庆知名营销公司 网站设计技术 兰州网站建设 网络安全 被动攻击 web网络安全架构