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

<a class="close" href="https://yys.yunshanhe.cn/">&times;</a>
分析一个网站hefei 网站制作微营销百度百科信息安全工程。信息安全会议内容国家网络安全 物联网网络营销话题中国信息安全院信息安全案例库网络营销目标包括乾坤未定,你我皆是黑马! 乾坤已定,那就扭转乾坤! 总有人要赢,为什么不能是我…… 我叫方休,谁惹我,我就和他玩命,至死方休…… 《关注我的微信公众号:苏月夕》天无道,则逆天战之;天不允,则建地府以斩之;三千年谋划布局,不过一拳可破;你要用手催动文明,我要用手撕裂不公的天空。 八极大世界,有大势力者妖兽为食,有大天赋者吞灵化雨,有大能者搬山蹈海,有大神通者擒拿日月,而我所有者,是一颗永不退缩的心。大学生平静的生活遭到破坏,噩梦的生活开始,不值得相信的同学性格孤僻的天才警官南港市公安局东海分局局长北海琼月只有一个愿望——成为一名恪尽职守、秉公执法的优秀警察。她从不怀疑自己的能力,坚信自己能做到让每一起案件水落石出,不料南港市发生的一系列连续凶杀案让一向被誉为神探的北海琼月焦头烂额,被害者不仅毫无共同点,而且死因离奇。北海琼月身为专案组长一直希望尽快破案,不料一件又一件事情打乱了她的计划…… 正在北海琼月被一个个意外弄得焦头烂额的时候,案件出现了一丝转机,有人目击到凶手犯案的过程,甚至在案发现场活捉凶手。本该为此举杯庆祝的北海琼月却陷入了沉思,这个被逮捕的凶手不是别人,正是和她一起上学、一起工作、一起办案的她唯一的朋友。 友情的信任遭到了巨大的冲击。作为警察,北海琼月有义务履行职责;但作为朋友,北海琼月不相信她是凶手。信任和证据面前,北海琼月必须做出抉择。 修行路上无人问,一声神人天下知。待到王皇尊帝境,却忆南方雨漫屋。一个少年一只黑猫踏天寻宝少年因心中有倩影和信念,方能登上至尊之路。待到至尊成真,心中最美好的,仍然是南国的那镇、镇上的那屋、那夜屋中的倩影…… 在龙族的另一个平行世界,事情有着很大的变化........操吴戈兮被犀甲,车错毂兮短兵接!个人奋斗史诗!李长歌穿越了。 开局家徒四壁,一贫如洗。 只有一个相依为命的姐姐。 好在这是一个“小说家”的世界。 在这个世界,只要写小说,便能获得非凡的力量,甚至能够依靠小说成圣! 看着这个世界普遍流传的小说著作,李长歌表示就这啊? 《神雕》出世,“侠之大者,为国为民”被千万人追捧! 《三国》出世,无数谋臣直呼原来计谋还能这样玩?! 《西游》出世,无数人惊叹天庭是不是真的存在! 《水浒》出世,就连皇帝也坐不住了! …… 某一天深夜,李长歌看着身边美貌温婉、娇艳无俦的李采薇,义正辞严的道:“姐姐请自重,我要写小说了!” 鲜血淋漓的战场,神秘的第三方势力,未完待续的故事…… 意外穿越进游戏世界的楚昱和盛追,在诧异和激动下开启了他们的游戏人生。 在不断和域界人洛羽的相处下,他们逐渐发现了这个世界里和游戏的不同之处,剧情中的漏洞究竟是bug还是阴谋? 友情、立场。 信仰的冲突下,他们的冒险究竟会如何发展呢。故事的展开围绕着二十年前的一个雨夜,一名职业杀手亲手杀害了丁然的母亲,二十年后丁然帮助警方破获各种案件,随着案件的不断破获,最后也终将与杀害母亲的凶手进行最终的对决,然而这真的是结束吗还是新的开始?让我们拭目以待。。。。。
sem整合营销怎么做 网站建设 技术 html 5+css 3网页设计与网站布局 从新手到高手 曲靖做网站 东营设计网站建设 网络安全技术就业 郑州网站建设电话 360信息安全 2017信息安全大赛 国内外信息安全标准 事业不顺的职场困境咨询【www.richdady.cn】 头脑混沌时如何提高注意力咨询【www.richdady.cn】 冤亲债主【www.richdady.cn】 特殊学校咨询【www.richdady.cn】 升迁障碍的职场晋升技巧有哪些?咨询【www.richdady.cn】 心慌胸闷头晕的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的自我提升咨询【企鹅383550880】√转ihbwel 家庭关系的相处之道有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵性成长工作坊【www.richdady.cn】√转ihbwel 邪灵咨询【微:qq383550880 】√转ihbwel 感情纠纷的案例分享咨询【微:qq383550880 】√转ihbwel 升迁障碍的职场突破方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的父亲的前世案例咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的前世故事咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的阅读环境如何营造?咨询【微:qq383550880 】√转ihbwel 冤亲债主的化解方法咨询【www.richdady.cn】√转ihbwel 儿子不读书的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何避免无形干扰因素咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的沟通技巧【企鹅383550880】√转ihbwel 迟缓儿的环境影响【σσЗ8З55О88О√转ihbwel 网站静态 网络营销认知 实验 宁夏网站设计 好模板网站 网络事件营销优点 权威的广州h5网站 怎么取消网络安全密钥 颜色搭配对网站重要性 网站架设 2016信息安全联盟大会 旅游网站策划书 昆明网络营销的发展 信息安全竞赛作品赛 大白兔奶糖营销案例 重庆营销型网站开发 第十届全国信息安全 佛山网站建设公司 网络安全技术就业 数据网网络安全咨询手机网站建设平台 小米营销方式的调整 网络安全问题原因 易营销软件代理 android 网络安全 网络安全主要威胁 网络安全 会议主题 电国家信息安全工程技术中心,-1 网络安全 会议主题 网站app开发 莱芜网站建设 如何做好微信群营销方案 网站数据包括哪些内容 国家实行网络安全等级保护 瑞昌网站建设 海南网站优化 深圳营销课程培训 四叶草网络安全公司 旅游网络营销方案设计 莱芜网站建设 微信领袖营销案例 中国 国家安全局 网络安全 深圳 信息安全公司 信息安全用不用敲代码 网络安全有什么证书 车辆网络安全 信息安全 小技巧 手机网站开发制作 制作校园网站 网站建设及优化 赣icp 什么是电子营销渠道 国家网络安全监管中心 行业 营销 设计网站怎么收费网络安全日实施 广州网站建设工作室 搜索引擎营销分析 安全报道与网络安全计划方案 网络营销话题 颜色搭配对网站重要性 重庆企业网站建站 曲靖做网站 网络营销文案事例 新手可以自己建网站吗 智慧城市信息安全 深圳网站维护中国信息安全专业 基于互联网环境与技术建立起来的数据库系统在网络营销中的案例 网络安全的研究 中国信息安全院 重庆营销型网站开发 立体化营销 2015信息安全报告 深圳 信息安全公司 设计网站怎么收费网络安全日实施 十八大 信息安全 深圳整合营销社会营销观念星巴克 如何利用饥饿营销策略 信息安全评测 网络安全中心举报 sem整合营销怎么做 近期网络安全论坛 第十届全国信息安全 重庆营销型网站开发 蓝海国际版网站建设系统 网络营销 有产品 珠海做网站 陕西营销型手机网站建设 信息安全等级保护测评师,-1 原创文章网站更新 军用信息安全产品认证 新手可以自己建网站吗 广州外贸网站信息 中国网络安全协会 2017 网络安全 大会 宣传类网站 网络安全技术就业 微营销百度百科 网站组成 好模板网站 杭州建网站 数据网网络安全咨询手机网站建设平台 北京市信息安全产业 网站静态 顺德网站建设要多少钱 小米营销方式的调整 陕西营销型手机网站建设 网络营销的意义和作用 网站伪静态 自己创网站 网络营销认知 实验 信息安全运维课程,-1 常州网站制作市场 网络安全 会议主题 深圳 信息安全公司 个性化网站 佛山网站建设公司 网络营销文案事例 html 5+css 3网页设计与网站布局 从新手到高手 网络安全采访感受 深圳推广营销策划 商城网站建站程序 什么是电子营销渠道 数据网网络安全咨询手机网站建设平台 网络安全威胁有哪些 营销讲师介绍 国家网络安全部队 做网站公 搜索引擎营销 瑞昌网站建设 颜色搭配对网站重要性 北京网络安全展 营销三要素 宁夏网站设计 电国家信息安全工程技术中心,-1 2017信息安全大赛 网站组成 网站伪静态 食品类b2c网络营销