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

<a class="close" href="https://wg47.xevi.cn/">&times;</a>
南昌寻南昌网站设计网络安全等级测评机构美团网营销模式11月CISM信息安全考试成绩查询山东网站优化山东企业网站建设珠海网站制作品牌策划成都市公安局网络安全信息安全的专业有哪些网络推广微信营销当气温骤降,末日是否即将到来? 直到人们发现,这一切的一切才开始救赎。智慧的头脑与冷静的心,是面对这一切的最好决策。现代科技不断更新迭代,那厚厚的冰墙却还是亘古不变。为什么? 冰的另一端是什么?这没有人知道。或许是另一个国度,又像是真理的尽头。虚无缥缈的希望与能砍破一切的破冰刀,在人们的手中,又有多少的绝望? 破冰者,这个时代的荣耀,但谁又知,成就之困难。唯有在绝望中诞生的,或许可以借助这一切,去往之真理的圣地。 “所及之处,处处是路,处处是光明,还有先辈们的脚印与他(她)们的热血_”哪怕已经过去了很久很久,和平时代早已来临,他依然时常回想过去,回想起那座燃烧着的边境城市,那团火从那时便引燃了少年炽烈的心,如光,如炬,引领无数拥护者追随他的步伐,用铁与血推动了历史的车轮。四国并起,正邪对立,上古世界虽然过去,但少年武灵已然被其拣选,他将改变人们心中的成见。 谁说出身于平凡的人不能崛起? 谁说身处逆境中的人不能觉醒? 他将诠释武道的作用之大。 他既是护国之手,同时也是使命行者。 究竟是邪恶的冥界先将正义吞灭,还是以他为首的正义重铸天地秩序?哥有哥的位置,你有你的位置……  没有外挂的人生,该如何逆风翻盘?      这世界似乎没有给老实人一条宽路,那么我选择过独木桥!      人世间是以灰色为背景的五彩斑斓的世界,最黑的和最白的永远是一家!      一路走来我不能忘了自己是谁!   您好,欢迎致电最高派遣局。我们接受任何委托,目前预约需要排队。您问我们是谁?抱歉,无可奉告。大正十五年,由于太子之位相争,而在皇领的都城中都引发的一系列杀人案,凶手如同是恶魔,这些案件和十五年前的东林门兵变牵扯,使得案情更加的波谲云诡,负责查案的姜弘羊拨开迷雾,才使得真相大白。灵兽人程森屮(che四声)十一岁丧母,十三岁遭灭族。程森屮,程猖,程狂兄弟三人幸存。一年后大哥程猖却操纵程森屮杀死小时密友和程猖,心灰意冷的程森屮消失了三个月后在长安佚名“山狼”靠杀人赚钱。两年后,“山狼”声名崛起无意间认识权门高氏二公子和洌氏二公,这时有人叫杀死两人。山狼不从,没曾想那人正是大哥程猖。几经挣扎后,山狼坠于程狂和卫天兰坠落的黑鹰崖。 十年后 顶级杀手——山狼,再次出现在高风舌眼前。 正义也许会迟到,但永远不会缺席。[拔刀术。] [你手中的长刀有一米四的长度,十二点钟方向位,一米五的距离,一名法师角色正要对你发起攻击,请问你要如何在三秒钟拔出长刀,并将长刀架在敌人的脖子上?是否要抽刀进攻?] 景若如皱着眉仔细想了想,随后在答案上写道: “首先不能抽刀。刀鞘的摩擦会使拔刀的速度变慢。” “解:首先,左手现将刀鞘下压,右手以倾斜的角度握住刀把,再使大拇指对刀柄施加‘力’,右手握住刀把下拉,借助自己手上所施加的力与刀鞘口对着下方的力,长刀会快速出鞘。这里以普通人的速度大概是两秒左右。” “接着,将刚出鞘的长刀旋转,画出一个半圆,就能完美抵到那名法师的脖颈上。这个动作最多一秒。” 写完,景若如有些感叹,“这道题算得上是有些难度。” 看向下一题。 [伤口考验。] [如果你的长刀刺进了敌人的身体,但无法破防,你下一步最准确的做法应该是什么才能使敌人最大程度的受伤?] 景若如双眼一亮,送分题。探索世界!能看,能读,能听,能感受。
做网络营销要学什么 信息安全的原则有哪些 网络营销 公关 做电子商务网站 除了域名 网页设计 还有服务器 和网站空间 做个网站要多少钱 网络营销软件排名 网络营销软件排名 网络安全验证是什么 湛江网站设计 网络营销的职务与职责 如何应对冤亲债主的干扰【www.richdady.cn】 意外的前世解析【www.richdady.cn】 感情纠纷的心理调适【www.richdady.cn】 迟缓儿的自我提升咨询【www.richdady.cn】 自闭症的症状与诊断【www.richdady.cn】 脑部不清晰的案例分享【企鹅383550880】√转ihbwel 维护良好家庭关系的秘诀有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的改运方法【www.richdady.cn】√转ihbwel 外灵干扰咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财富增长咨询【企鹅383550880】√转ihbwel 孩子厌学的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 事业不顺的改运方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰咨询【企鹅383550880】√转ihbwel 婴灵的超度与心理安慰【企鹅383550880】√转ihbwel 前世缘份的前世影响咨询【微:qq383550880 】√转ihbwel 投资项目的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的前世因果【微:qq383550880 】√转ihbwel 与老公前世的前世案例【www.richdady.cn】√转ihbwel 孩子厌学的案例分享【www.richdady.cn】√转ihbwel 什么是婴灵?咨询【σσЗ8З55О88О√转ihbwel 网络营销定价的基础 网络安全管理实践 2015年北京信息安全培训课程 sap信息安全搭建 专业营销执行公司 海尔营销模式组织构架 衡水网站排名优化公司 南京信息安全运维 网络安全实训设备 卫龙的网络营销策略 创一家网站 信息安全专业中国大学排名 2015年北京信息安全培训课程 网站报价书 信息安全行业证书,-1 公安局信息安全中心 简述网络安全的目标 通信网络安全会议 qq营销推广方案 制作网站公司唐山国家信息安全技术研究中心,-1 无线网营销 中国信息协会信息安全专业委员会 全国信息安全法规 常见的网络营销策略 什么叫整合营销机构 合肥网络安全公司排名昆明网站建设多少钱 锤子2017整合营销 美团网营销模式 房地产网站建设解决方案 微博营销受众群体 网络营销案件分析 深圳企业网站制作报价 网络营销是什么行业 cog2011信息安全论坛,-1 信息安全专家咨询 无线网营销 文案营销点 破坏公共信息安全 信息安全案例演示 网站制作内联框 商城网站建设浩森宇特 信息安全宣传材料 天津网站制作 携程网站网络营销策略 网站模板化 湛江网站设计 网络营销定价的基础 信息安全违规等级 国家网络安全报告 做网络营销要学什么 做电子商务网站 除了域名 网页设计 还有服务器 和网站空间 成都市公安局网络安全 有哪些营销型网站推荐 佛山网站建设怎么做 广州营销班 微博营销受众群体 合肥响应网站案例 厦门企业官方网站建设 保定做公司网站的 全国信息安全法规 免费个人网站申请 企业产品展示型网站案例 信息安全宣传材料 松原网站建设 产品营销免费 11月CISM信息安全考试成绩查询 李苏杰网络营销 全球网络安全体制的漏洞 网络营销营销渠道 商城网站建设浩森宇特 成都市公安局网络安全 资阳网站建设 网络安全信息分析报告 卫龙的网络营销策略 网站模板化 产品营销免费 营销整合 文案营销点 小红书的网络营销方式 邮件群发 邮件营销 网络信息安全产品 全球网络安全体制的漏洞 有哪些营销型网站推荐 信息安全专家咨询 信息安全的专业有哪些 网站建设评判 中软吉大网络安全 专业营销执行公司 信息安全专家咨询 深圳企业网站制作报价 免费个人网站申请 营销的价值 珠海网站制作品牌策划 信息安全网址 信息安全cisp sem整合营销公司 营销 员工网络安全培训 澳洲信息安全公司 网络营销营销渠道 佛山网站建设怎么做 信息安全案例演示 极速网站建设 破坏公共信息安全 2015年网络安全漏洞 公安局信息安全中心 保定做公司网站的 设计好的网站 资阳网站建设 锦州做网站 珠海网站制作品牌策划 企业营销网站建设公司 2017新网络安全法 网络营销软件排名 营销的术语 制作网站公司唐山国家信息安全技术研究中心,-1 网络营销中的不足 内部列表email营销关键 信息安全应急处理办法 sap信息安全搭建 什么是营销型网站 重庆互联网营销 有经验的佛山网站建设 网站报价书 免费个人网站申请 免费域名网站搭建 太原优化营销 保定做公司网站的 信息安全 自有 中国信息协会信息安全专业委员会 产品营销免费 信息安全宣传材料 华为网络安全发展前景 网络营销评价的途径 网站设计公司北京 李苏杰网络营销