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

<a class="close" href="https://u7e.yunshanhe.cn/">&times;</a>
上海网络信息安全宣传,-1网络营销可以接本吗网站的构成信息安全三级等保方案网站设计教科书营销课sem整合营销机构网络安全体系 具体设备网吧网络安全技术2016网络安全博览会改革开放至今的四十年间,注定了中国历史的再次波澜壮阔。 梁海星,一位农村大学生,进入单位后,因发现上司不该发现的龌龊之事,后又被人击伤,险些丧命,在即将实现副厅长的梦想时,却突然与曾经的“恩人”彻底撕裂,于是,毅然选择了辞职。虽被漂亮的同事、下级苦苦追求,但对妻子的爱始终不渝。高燕,一位理想的机关年轻漂亮女干部,因爱生恨,万念俱灰,收养梁海星儿子后去了国外。正直的周思国,由市委书记成长为副省长,时常陷入家庭与人情的纠缠,但不失高级领导的高风亮节。黄正刚一位正直的老领导,致力培养梁海星,但残酷现实也时常使其感到无奈。刘大可一位基层成长起来的厅长,左右逢源,屈伸有度,但却极为贪婪,最终机关算尽。吴强,从乡镇干部一步步努力成长为市委副书记,然而,追求的变异使其整日惶恐不安,初恋女友给予的不仅仅是温柔,安排好妻子的后事,毅然走向了冰冷的湖水。漂亮的陆美霜对赵良既爱又恨,超出了常人的理解……。吾有一系统,可装逼,可穿越,可获得各种技能: ...... 全校大会,被校长点名批评,指物坠落,喇叭砸在了校长的脑袋上; 校花处处与我作对,我是如何拿下她的; 系统生成一个“屎”空“尿”道的app,这下好玩了,小鬼子乱倒核废水,先用S建立一个岛屿,将污染海域圈起来,随着洋流回给日本,不长记性,那就在全世界直播来一个“天屎降东京”; ...... 凌云飞获得了全宇宙唯一一款装逼系统: 主人:凌云飞 等级:Lv1 祝福:0.1元/装逼每秒 装逼值:50/10000 穿越技能:0秒 ...... 系统生成,开始装逼生涯啦!仙路诡奇,人道卑微。 众生皆浮屠,仙心如寒霜。 少年方尘意外获得仙缘,心中却只有一愿:愿以手中仙剑,开万世太平!还有多远才能进入你的心,还要多久才能和你接近古老的邪灵世界上,我以武道立足于世。杀其邪灵炼其血收其魂,拯救苍生。开起不一样的侠客之旅,铸造无上大俠威名。步履匆匆,偶尔留恋,偶尔驻足,永不停歇中华大地,文化博大精深,源远流长,造就一批批的文人才子,王侯将相,普通大众,也就是再这样的情况下,成就今天的中华文化,中华精神。 从小民百姓到达官贵人,从富丽堂皇到乡野之地,从雍容华贵到下里巴人,在这里,我们将会一一领会 文王到始皇,汉高祖到唐太宗,以及王侯将相宁有种乎,都在这里尽情的展翅高飞,发挥属于自己的时代末日降临,生化危机,丧尸出笼,世界末日到来!   楚源获得模拟器功能,开始模拟存活时间。   【第一天,灾难降临,丧尸出笼,世界末日到了!】   【第二天:你喝着小酒吃着火锅!】   【第三天:你打开门走出去,一只丧尸与你热情相拥,你白给了!】   楚源:“系统,让我多存活几天!” 人活着无论干什么都挺困难。即使坚守不招惹人的原则都躲不过被人刁难。即使是对的,在金钱和权力的逼迫下变成了错的。人活着是最痛苦的事了,压抑的怒火早已烧毁了心脏。人需要发泄的地方,请来疯狂直播间。大学开学前几天,鹿鸣和几个好兄弟一块儿聚了聚。 一向不喝酒的他被几个好兄弟给灌醉后,进走错了厕所,进了女厕所。 当他醉醺醺推开一扇厕所门时,居然看到一个漂亮的女人。 于是乎,他不但被误会成了流氓和变态,还被那女人给狠狠揍了一拳。 …… 两人的缘分就此开始了
网络安全防护系统 做网站 长 福州专业网站建设 济南营销型网站建设 sem整合营销机构 浙江省信息安全协会 网站功能表 网络信息安全常用,-1 沈阳网站制作公司 广州网络安全培训课程 感情纠纷的情感修复方法有哪些?咨询【www.richdady.cn】 前世缘份的前世解析咨询【www.richdady.cn】 暗恋的心理调适【www.richdady.cn】 什么原因意外的前世案例咨询【www.richdady.cn】 与男友前世的因果关系【www.richdady.cn】 感情纠纷的情感沟通方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职业发展如何规划?咨询【www.richdady.cn】√转ihbwel 如何改善人际关系威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度与心理安慰【企鹅383550880】√转ihbwel 什么原因意外咨询【σσЗ8З55О88О√转ihbwel 前世今生的轮回存在吗?【企鹅383550880】√转ihbwel 感情纠纷的情感疏导技巧有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼的沟通技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 自闭症的症状与诊断咨询【www.richdady.cn】√转ihbwel 财运不佳的财富积累咨询【www.richdady.cn】√转ihbwel 不爱读书的环境影响咨询【微:qq383550880 】√转ihbwel 去世的父亲的前世因果咨询【企鹅383550880】√转ihbwel 纠纷的心理调适【微:qq383550880 】√转ihbwel 儿子抑郁症咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 做网站设计所遇到的问题 娃哈哈营销策划目的 广州手机网站定制咨询 成都建设网站 网络信息安全考核标准 保定 网站建设 上海信息安全管理培训,-1 网络营销经理线上 建立微网站 贵州网站制作公司电话 网络安全峰会2015.12月 网店营销培训 信息安全评级 营销化系统 商城网站都有什么功能模块 信息安全技术做什么 营销课 信息安全历史 网络安全策划 上海网站建设 政务性网站制作公司 网络安全攻防比赛 供应商信息安全管理 台州做网站公司 分享型网站 美国 国家网络信息安全战略 2014 最新 如何做网络营销 美国 国家网络信息安全战略 2014 最新 国际信息安全公司 网站功能表 网络安全实验教程(第2版) 沈阳信息网络安全公司 信息安全服务资质查询 信息安全服务资质查询 网站设计教科书 河南网站建设 国际信息安全管理标准体系 手机网站模板 dw做网站 营销推广怎么写 网络社区营销策略如何维护国家信息安全 日照网站建设 上海网络信息安全宣传,-1 网络品牌营销 贴吧营销 网络安全个人 创新的购物网站建设 单位网络安全管理协 信息安全认证标准,-1 代办信息安全服务资质 网络安全实验教程(第2版) 企业网站托管 如何做网络营销 信息安全认证标准,-1 供应商信息安全管理 优步网络营销分析 网络安全策划 供应商信息安全管理 商城网站都有什么功能模块 网络安全防护系统 网络安全峰会2015.12月 广州微网站建设效果 优化:高效的seo社交媒体和内容整合营销实践及案例 pdf 泰安网站建设公司 广州手机网站定制咨询 网站建设目标 2017网络营销典型案例 网络信息安全组成员 网站怎么吸引人 长沙建设网站 山西 信息安全测评 怎样建立自己的个人网站 太原网站建设公司 信息安全犯罪的案例 沧州网站推广 信息安全评级 选手机网站 中国信息安全测评中心 成立时间 哪家网站设计好 网络信息安全考核标准 常州网站建设平台 网络营销托管 品牌营销数据分析 上海网站建设 如何申请网站 常州网站建设平台 布吉建网站网站 设计 深圳 西安网站建设有那些公司 淘营销报名 布吉建网站网站 设计 深圳 信息安全实验室品牌 快速办理信息安全服务资质咨询公司,-1 中国信息安全测评费用,-1 商城网站都有什么功能模块 微信网络营销成功案例 长沙网站制作 信息安全公司起名 广州网络安全培训课程 沈阳信息网络安全公司 网络营销活动规划 国际网络安全会议 宁波信息安全 网络营销行业数据分析 美国网络安全攻防 网络安全防护系统 娃哈哈营销目的 阜阳建网站 广西网站建设公司 做网站设计所遇到的问题 大市场营销组合构成6P 国际信息安全公司 顾问营销系统 国家网络安全专题岳阳网站优化 选手机网站 无锡做网站 南山区网站建设公司你在平时是否遭受过网络安全问题?是怎么解决的? 企业的营销要素 保定做网站 西电 网络安全 2017网络营销典型案例 国内f型网页布局的网站 四川微信网站建设 网络市场营销方式 网络社区营销策略如何维护国家信息安全 网络营销传播渠道研究 信息安全实验室品牌 上海网站建设 网络安全 医疗行业 网络营销应用知识 上海信息安全管理培训,-1 全国计算机信息安全技术 贵阳有哪些可以制作网站的公司 优步网络营销分析 分享型网站 互联网营销模式