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

<a class="close" href="https://ghbu.genha.cn/">&times;</a>
信息安全 logo做网站品牌营销的闭环济源建网站网络安全解决网络安全解决珠海网站建设多少钱徐州html5响应式网站建设互联网营销的主要优势网站建设开发银川网站建设多少钱杭州网站建设公司联系方式(杀戮果断+外挂+无圣母+后宫)主角叶安凭借前世三年末日经验从人性与丧尸与无数变异生物展开了剧烈的杀戮。 重生一世,蓦然发现这一世能看到所有物品信息包括各种前世未出现的不知名怪物。看到了物资箱,看到了几万年甚至几万年乃至几百年的隐藏古墓(遗迹) 叶安:这一世有了准备,一定要超然所有生物之前...... 最后的亚西兰。 什么是强者: 他为天下第一,却说勇无第一,武无最高。 可自古有言,一将顶三宗,三真灭四将,一帅困四真,一仙弑三军。 他想调停,可战神说:亚西兰,不是你小小武仙说了算! 时代风口浪尖,有人不愿成神,有人被迫成神,有人不得已而成为神。 他爹:我儿武学天赋,天下无人能及。他:我已经废了。 他,学成出山,却缝天下追杀,一路南逃北藏,无处藏身,最终被迫自立为王。 他曾经输麻了,可后来又赢麻了,却也一无所有,还要追了他一个青春的疯子给他递酒:吾有良酒,将军食之,可解心忧。 最后的亚西兰,危危大局,谁才是最终的执棋者,或终将揭晓。 可隐藏最深的他:天下大势,尽由我控。 …为了他活着他母亲从肚子里将他挖出,那是的,他还是一个只有巴掌,他没有掌权的婴儿。 半脚踏入修行,开局却遇到圣人,圣人有些不靠谱,但却又极其的心狠手辣,带他看净世间纷争。 百族当中,他去过很多地方,但这个是能离开之后他就走向了一条极其黑暗的道路。 灵山之巅,黄昏水河尽头,修罗神殿,魔界皇宫,神界八方塔,上古遗迹,洪荒地穴,八王古墓………… 也见过书本上人口中的传奇人物。 剑尊叶问天,十三星十三浩瀚天骄,西方九王之主项天羽,下六界之皇秦始皇,和魔界至尊神界之主,佛家之主。 从默默无名的兵到手握重兵的大将军,大元帅,随后又到一方诸侯王………… 修炼过不少秘术,也有不少隐藏法宝,一路修行到达世界之尊,超脱万物在百界虚空之上。“大哥,该吃药了。” 一碗药,让秦天穿越附身在同样被一碗药干废的同名天才少年身上。 “想我堂堂七尺男儿,怎能拜倒在你的石榴裙下,认一个女子当师傅。” “不拜师也可以,信不信我找几个弟子带条麻袋来陪你聊聊人生。” “师傅,请您喝茶!” 大丈夫,当能屈能伸,为了复仇,哪怕是裆下之辱,老子也得带着一脸痛苦钻过去。 修行怎能分心,该打。 你打坐的姿势不对,该打。 你出招的方式不对,该打。 谁让你私自突破的,该打。 谁让你...... 师傅,我就进来给你送杯茶,你怎么也打我啊? 额,谁让你送的茶这么烫。 不可能,我尝过了,根本就不烫。 你......受命于天,既寿永昌。没有男人能挡住这八个字的诱惑,顾安也不能。 作为不被看好的王爷,顾安举步维艰,直到有个身穿道袍的和尚对他说:“王爷,贫僧想送一顶白帽子给您。” 顾安就藩了,不曾想第一个对手竟是诸葛孔明。 诸葛孔明轻摇羽扇笑道:“吾只需草船百艘弹指间,可使贼军送来十万支箭。” 顾安冷笑一声,给他送了十万支箭,不过是火油箭。 战火燃起,顾安的王妃八月身孕,上阵擂鼓,城上十四万人齐卸甲,竟无一人是男儿。 顾安欲血杀回,看着浑身疲惫的王妃他大笑:“好好好,真吾妻也!” 顾安登基了,坐在那属于自己的龙位,他拔剑指向天际:“既今日起,朕为新皇,誓当清扫朝纲,救兆民于水火之中。” 朕的千艘战船七下西洋,七掠西洋。朕杀贪官,诛圣母,济苍生。 顾安环顾众生:“朕要这王朝从此爆炸起来” 血腥残酷的修真世界,实力为尊,崇尚武力,凡人皆为蝼蚁。想要站到世界的最巅峰,孤儿院长大的他,如何做到?卖力苦修?拜入修真大派?还是寻得名师?统统都不是,偶得万界供应系统统加身,开挂人生由此开始,修炼、金钱、宝物、丹药诸多资源随手可得。从此开始了火箭般的成长之路,从一介凡人蜕变为修真巨贾,不过弹指间。少年苏渊经历三次凝丹失败,机缘巧合拜四圣兽之一的青龙为师,踏入武道之途,并且开启自身龙族和凤族血脉,从此天高海阔,前途无量。 探索秘境,结天骄,诛邪魔。陈战寒行走江湖,灭恶贼,除败类。行侠一生。辅助岳飞对抗完颜氏一族,眼看在完颜氏一族赶出国土。无奈,奸臣当政,十块金牌召岳飞班师回招朝。陈战寒心灰意冷,唯有移居海外。一夜飞远发花香,怎他不懂英雄情。我笔下的貂蝉是一个美女加英雄的气概,没有那衬衣的保护,怎能有今天的戏场,狼族吕仙儿的爱情,不是天给的,是一个叫吕仙儿的狼族英雄,她本是楼阁中人,最后情在崖天。这就是一个英雄的时代,三国!。剑神大战魔神后同归于尽! 百年后竟重生为一个柔弱孩童? 男主无形前世是闻名江湖的凌云阁的无形剑神,耗尽全力消灭了武林魔头“魔神”,最终与其同归于尽。但他在百年后重生成了一个落魄小乞丐,并且保留着前世所有记忆。而在现世,曾是江湖名派的:凌云殿已经没落至无人知晓的地步,黄泰彬得知这一事实后不能接受。当他找到凌云阁后,发现门派已经快油尽灯枯。但黄泰彬依旧还记得百年前门派的道义和武学精神,他很不甘心,于是.......
贸易公司自建免费网站 青岛专业做网站的公司 网站制作公司电话 网络安全产品目录 网络营销相关资料 淘宝网店的营销方法有哪些内容 建设官方网站 网络安全编程 汪玉凯 网络安全 微营销真的假的 外灵干扰的真实案例分析【www.richdady.cn】 莫名其妙感伤的解决方法咨询【www.richdady.cn】 亲子关系的互动模式咨询【www.richdady.cn】 儿子抑郁症的治疗方法【www.richdady.cn】 提高情商的方法咨询【www.richdady.cn】 构建和谐亲子关系的方法【企鹅383550880】√转ihbwel 冤亲债主干扰的前世记忆【σσЗ8З55О88О√转ihbwel 祖灵的存在形式【微:qq383550880 】√转ihbwel 升迁障碍的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的案例分享【微:qq383550880 】√转ihbwel 婴灵的存在有哪些科学依据?【微:qq383550880 】√转ihbwel 官司的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设咨询【微:qq383550880 】√转ihbwel 阴间生活的前世影响咨询【企鹅383550880】√转ihbwel 邪灵咨询【σσЗ8З55О88О√转ihbwel 祖灵咨询【企鹅383550880】√转ihbwel 财运不佳的真实案例有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的轮回有哪些科学依据?咨询【σσЗ8З55О88О√转ihbwel 暗恋的解决方法咨询【www.richdady.cn】√转ihbwel 意外的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 2016信息安全产业规模 湖南网站推广 昆明做企业网站多少钱 个人网站备案 营销策划网络课程 网站建设公司倒闭 网站内容运营 高端网站建设公司 营销学术语 杭州网络安全企业 网站教程 办公网络安全建设 台州网站设计 解放路 国家信息安全漏洞 公司设计网站建设 珠海网站建设多少钱徐州html5响应式网站建设 网络安全扫描工具 湖南网站推广 昆明做企业网站多少钱 个人网站备案 营销策划网络课程 网站建设公司倒闭 网站内容运营 高端网站建设公司 营销学术语 杭州网络安全企业 网站教程 办公网络安全建设 台州网站设计 解放路 国家信息安全漏洞 ctf网络安全 关于加强网络安全有何意义 flash网站制作教程 哈工大信息安全854复试 贵州网站制作哪家好 网站建设工作室 企业网站设计欣赏东莞政府信息安全 广州做网站信科分公司 信息网络安全事件 信息安全周报 网站优化课程 无锡网站制作哪家强 网站建设工作室 珠海网站建设多少钱徐州html5响应式网站建设 江门建网站 网站建设 长春 网站建设 长春 网络安全主题的文章 易尚网络营销公司 东台建网站 悬念式 营销软文 如何用网络营销的方法有哪些方法有哪些方法有哪些特点 2016信息安全产业规模 信息安全竞赛报名流程 邢台网站推广 信息安全服务资质咨询中心,-1 办公网络安全建设 做网站要学什么 营销型网站策划 pdf 建设官方网站 广州做网站信科分公司 餐饮网站建设 龙口建网站 深圳整合营销行业 济南网站建设第六网建 网络安全人才需求讲座 山西网站建设 青岛专业做网站的公司 网络营销的方法 网络空间信息安全专业,-1 安全的南昌网站制作 做一套网站多钱 网络安全包含哪5个 flash网站制作教程 1大型门户网站服务功能 广州企业网站设计公司 个人网站备案 哈工大网络与信息安全 网络安全编程 邢台网站推广 沈阳做网站的公司排名 网络安全产品目录 qq绑定手机号银行信息安全吗 网络安全产品目录 网站dns 营销学术语 v云计算在网络安全领域的应用 什么叫网络营销 哪里有培训营销的学校 信息安全服务资质咨询中心,-1 怎么做网站优化 网络安全团队名称大全 购物网站怎么创建 山西网站建设 做网站域名 我们的优势的网站 优秀企业网站设计 国家信息安全部大数据上市公司 网站域名域名 信息安全专业领军人物 万户网站制作 网络营销的拓展方法 青岛专业做网站的公司 广州做网站信科分公司 网络安全与黑客的关系 网络公关营销公司 日本国家信息安全战略 国外网络安全社区 网络安全团队名称大全 做app网站建设 做一套网站多钱 优秀企业网站设计 龙口建网站 网络安全与黑客的关系 网站制作公司电话 我国信息安全论文 淘宝网店的营销方法有哪些内容 昆明做企业网站多少钱 网站规划 湖南网站推广 哈工大信息安全854复试 贸易公司自建免费网站 我国信息安全论文 设计公司网站 饥饿营销的作用 网站dns 什么是信息安全工程 西安做网站设计公司 哈工大网络与信息安全 德宏网站建设 网络安全扫描工具 网页风格是指网站的整体形象给浏览者的综合感受.有的严肃庄重 上海营销型网站 芜湖网站建设 2016信息安全产业规模