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

<a class="close" href="https://j2aic87.xope.cn/">&times;</a>
网站建设模板是什么计算机网络安全实验教程营销网站的筛选信息安全 大事件新手可以自己建网站吗深圳市移动端网站建设自己创网站2017网络信息安全案例咸阳市第三届国家网络安全宣传周如何提高网络营销ar值这个世界分为神人魔三界,有一少年为神域仙神,可遭欺侮,贬入了人界也就是灵界,他在这里开启了自己的修炼之路,将散发出自己的光彩。 而灵界分为两种主修道路——灵道与石道,它们影响着修炼者的方方面面……顶级特工失忆,悄然回到故乡; 各国巨头首脑,一夜之间沸腾! “他是可以一人攻破一个国家最高防御的利刃!” “他是医仙王诩的唯一传人,他是医好我不治之症的人!” “他还是我女儿的意中人……” “给我找!不论付出任何代价,一定要找到他!”秦煜魂穿大唐,激活了个说书系统,却没想到开局任务就说【长生诀】。 秦煜:在大唐说长生诀?系统你怕不是嫌我死的太慢!你咋不叫我去讲玄武门之变? 系统:那就讲玄武门之变,要么现在死! 秦煜:我也不是怕死,就是爱讲玄武门之变! 李二:听个书,结果听到揭秘玄武门之变!这厮当真是不怕死呀 这是一个近似未来地球的异世界。 名为“黑石”的神秘矿物能将人的情绪与欲望收割转化,为这个世界提供了近乎无穷无尽的能源。 普通人就是被无尽收割的活能源,如同“工具”和“零件”生存。 财团,高官,各种特权者们争权夺利。 而他将颠覆这个世界的规则。天界的姐妹凤琉璃和白子婧受天帝的嘱托下凡观察魔族的一举一动,在此期间遇见了千年之狐墨阳轩和贝城轩,双方合作一起除掉魔族,而墨阳轩一见钟情,爱上了凤琉璃,白子婧和贝城轩俩个人日久生情,东海龙王的女儿辰萱晗也请求天帝让自己去帮助琉璃她们,辰萱晗下凡之后一直在帮助琉璃她们解决烦恼,后来,辰萱晗想出去走走,告别了琉璃她们之后就走了,在外的时候意外救了凡间的大将军顾晟,两个人就此开启了瓜葛,姐妹三人在感情的道路都历经坎坷,好在对方都没有放弃和对方在一起,成功地消灭魔族之后姐妹三人分别带着对方回去了2350年,时空局正式成立,人类从此掌握了时空穿梭的技术,并派驻时空卫士驻守时空隧道。 因违纪而将要判处死刑的时空卫士叶北辰收到了没落家族苏家的来信 “给我取回一样东西,帮助苏家复兴,也能保住你的性命!” 叶北辰决定再次铤而走险,回到2020年,取回苏家所说的宝物! 但那个宝物,却深藏苏家府中… 为了深入苏家,叶北辰只能孤注一掷,参与到苏家与黑血集团的纠葛之中,最终竟成了苏家千金苏雪的贴身侍卫! 一个是落魄之时身边不离不弃的女孩,一个是苏家豪门千金,重任在肩的叶北辰在两个心爱的女孩中间反复地挣扎着… 时空爆裂,雷电骤起,未来世界一片火海,叶北辰竟成为最后的时空穿梭者,面对曾经抛弃他的未来世界,叶北辰又会做出什么样的抉择… 我不是普通人,但却想为普通人。 时间和空气,保护人类的武器。 保护才能体现生命的价值。 那是一种解脱…… 那是一种幸福…… 这次到底能平息吗?因为那个课狐狸爪子,改变我那糊涂的一生,也始我走上了不归路一朝穿越,成为朱元璋十七子。 赐封宁王,朱权有点皮。 朱元璋:朱家老十七,纨绔属第一! 直到洪武六十大寿…… 这一天,有人单骑斩叛将,纳哈出归降。 这一天,有人发粮赈灾民,百姓终活命。 这一天,天降祥瑞传国玺,大明得国正。 这一天,朱元璋册封朱权,无敌宁王! 我叫沐清河,我是学生 十八岁之前,我忙着上课,忙着暗恋,忙着高考,忙着做梦 十八岁以后,我忙着逃命,忙着开枪,忙着杀人放火,忙着尔虞我诈 我的老眼昏花的上帝啊,我的人生剧本是不是被你拿错了! …… 我叫雄奇,我是校长 沐清河,你这个怂货,不要再抱怨了,赶紧拿起武器,战斗吧! …… 我叫沐夕阳,我是沐清河他爹 哦,我没什么要说的,我只是强调一下,我是沐清河他爹。 …… 我叫上帝,我是好人 勇敢的少年啊,你的人生剧本没人能够修改,这都是宿命啊。对了少年,腹诽上帝,你的人生会变得不幸
网络营销的个性化 公安网络安全系统的设计与实现的案例 公司手机网站设计 公共信息网络安全监管 营销网站建设 信息安全保护经验 邹城做网站医院信息安全等级保护方案 wap手机网站 网络安全有什么证书 微博营销涉及的范围 感情纠纷的情感修复方法有哪些?咨询【www.richdady.cn】 人际关系不好对工作的影响【www.richdady.cn】 婴灵的化解仪式咨询【www.richdady.cn】 婴灵的超度流程咨询【www.richdady.cn】 内心恐惧胆怯的前世记忆咨询【www.richdady.cn】 如何应对冤亲债主的干扰【微:qq383550880 】√转ihbwel 去世的母亲的前世案例【σσЗ8З55О88О√转ihbwel 特殊学校【微:qq383550880 】√转ihbwel 事业不顺的职业规划如何制定?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰案例【σσЗ8З55О88О√转ihbwel 财运不佳的风水布局咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何克服升迁障碍?咨询【www.richdady.cn】√转ihbwel 冤亲债主的前世今生咨询【微:qq383550880 】√转ihbwel 公司破产后的员工安置问题咨询【www.richdady.cn】√转ihbwel 去世的母亲的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的前世缘分威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份如何影响情感生活?咨询【企鹅383550880】√转ihbwel 感情纠纷的自我提升咨询【微:qq383550880 】√转ihbwel 失业的原因分析【σσЗ8З55О88О√转ihbwel 精神不振的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 中国 国家安全局 网络安全 企业网络安全公司 网络安全和web工程师 网络营销学学什么 有pc网站 中国国家信息安全测评中心 瑞昌网站建设 深圳市移动端网站建设 集团网站建 信息安全 大事件 网站打开速度优化 公安部网络安全保卫局 威胁列表 信息安全 公安机关网络安全备案 做网站一般用什么语言 南京网站设计 南宁企业网站 计算机网络安全的访问控制技术主要有基于 莆田网站制作 北京哪些大学的信息安全专业好 国际信息和网络安全会议 中国国家网络安全谷 微博营销涉及的范围 广东网络安全宣传周 电影网络营销推广公司 苏州网站seo 无锡全网营销外包 公安部网络安全保卫局 威胁列表 信息安全 公安机关网络安全备案 江苏网络营销推广报价 美团内营销 网络安全法 6月1日 网站建设空间申请 想自己建个网站 网站建设公司价格 网站制作样板 营销推广中的seo 营销与推广 台州优秀网站设计 营销e术 win7网络安全模式上qq 12306信息安全事件追寻,-1 商城网站模板 网络营销顾问 湖南高端网站制作公 南昌个人做网站 html 5+css 3网页设计与网站布局 从新手到高手 做网站公 大连建网站 佛山网站建设公司 餐饮互联网营销 案例 网络营销适合的年龄段 邮件营销的优点 国家计算机网络与信息安全中心,-1 盐山网站 一个完整的信息安全保障体系包括 徐州网站二次开发 目前国家信息安全形式 公安网络安全系统的设计与实现的案例 信息安全ui设计,-1 长治网站建设 信息安全会议内容双色调网站 制作校园网站 新手可以自己建网站吗 如何提高网络营销ar值 自己创网站 微博新号营销 美团网营销内容 信息安全等级保护工作会议 网络营销的个性化 目前国家信息安全形式 企业网络安全公司 网站用途 公安机关网络安全备案 集团网站建 公共信息网络安全监管 上海网网站建设 网络安全国标 江苏网络营销推广报价 网站建设素材使用应该注意什么 营销型手机网站 网站制作样板 中国国家信息安全测评中心 郑州做网站汉狮网络 网络安全状况分析 想自己建个网站 网络安全预警设备 营销网站的筛选 广东网络安全周 营销特色 网络安全有什么证书 番禺网站推广 重庆企业网站建站 学校网站开发 营销推广全网整合营销 网络安全和web工程师 五金 网络 推广 营销 广州网络微信营销公司 国家计算机网络与信息安全中心,-1 重庆整合营销哪家好 整合营销运营 病毒营销的发展趋势 营销特色 营销型网站成功案例 深圳 信息安全公司 计算机网络安全的访问控制技术主要有基于 网站自建 android 信息安全技术 南宁企业网站 网络安全主要威胁 郑州做网站汉狮网络 网站自建 论坛营销软件 公司手机网站设计 植入式营销有哪些形式北京推一把网络营销 论坛营销软件 信息安全市场总监 营销网站建设 网络安全产品分类 中山企业网站建设方案 网络安全国标 咸阳市第三届国家网络安全宣传周 西安做网站 徐州网站二次开发 域名与网站建设 湖南高端网站制作公 国家信息安全举报投诉,-1 网站站欣赏 营销e术 营销型网站成功案例 网络安全管理工作方案。 教育式营销 网页制作免费网站建设 上海专业网站设计