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

<a class="close" href="https://itnwf8w.zhenchan.com.cn/">&times;</a>
网络事件营销搜索引擎营销使用步骤qq免费建网站系统信息安全等级网络营销目标市场案例北京网站设计价格梧州网站建设中国国家信息安全产品网站建设策划网络安全涉密资质成都网站设计公司价格两百年前,社会黑暗,生灵涂炭,盗匪崛起,沿海百姓深受海盗骚扰,为了保护族人安危,沿海小镇‘关口镇’的百姓揭竿而起,成为海盗,抢来了能够独霸海域的萨伽索号船,让关口镇百姓过上富裕生活。而关口镇人民为了独享财富,也为了让子孙摆脱海盗的身份,他们勾结政府,背叛了一直为了他们而在海上厮杀的‘海盗’断桥似断非断,其实还若离若即。昨宵尚重迴,今朝已甦醒,且早恨不归。心事痕迹,频频扰梦里。早安,晚安,我的心急上人。苔花纵如米粒小,也慊慊辄学牡丹开。我虽卑微娇弱,亦会似芳菲璀璨奕偞。白日曣曣不到处,青春骎寻恰自来。惟愿孜孜矻矻、勤勤恳恳的度过朝朝暮暮。本是游戏设计师SSS级别的秦洛一觉醒来发现自己竟然穿越了,并且原主还欠下了不少的钱,于是秦洛依靠他的系统反手将许多知名大作拿了出来。 “请问您的游戏连续三年获得金游奖是一种怎样的体验?” “多靠各位同行的衬托罢了。” “那请问您接下来有什么打算吗?” “我的新游戏快要上线了,大家可以期待一下哦!” ······· 【我的世界】霸榜销售游戏榜单第一名多年 【火线】成为FPS游戏的开山鼻祖 【地下城】成为月收入最多的网游之一 ······ “很久以前,在兴远府景东郡徐家出了一个奇女子,她被誉为不世出得奇女子,然后......” “奶奶,那个奇女子该不会是你吧?”小女孩打断到。 “胡说,我怎么会自己吹嘘自己呢!” “切,你明明经常这样。” 小女孩撇了撇嘴,嘴里嘀咕着:“我都听了好多个版本的开头了,后面反正都会变成什么学院争雄,中州争霸,扫奸邪,荡妖族,一己之力拯救全世界,都是骗人的。” “哪有什么奇女子,这只不过是景东郡徐家女儿临死前的一个梦罢了。”小女孩如是说道。 “当真如梦一场啊。”那个声音叹息道。   “左眼为阴,右眼为阳,日夜更替,阴阳轮换,俱在我身”   浩瀚的宇宙边陲之地,只有无光无明的漆黑。   有一个男子正盘腿悬坐在星空中,而伴随刚才的话语,他的眼睛突然从眼眶里跳了出来,只留下两个空洞的眼眶,   此时这两只眼睛都还覆盖着眼皮,闭着眼睛。   忽然,一只眼睛睁开。   漆黑的星空便有了光明,十分耀眼,光芒照在男子和他前面的一具尸体上。   这时,才发觉这男子和这具尸体竟散发这仙人之气。   男子是这方世界两大仙帝之一的——陆仙帝,而他面前的尸体则是另外一个仙帝——陈仙帝。   两位仙帝大战于此,落得两败俱伤。   陆仙帝左手之上托着一个灵魂,恰是一个女子的模样,不过已经没有了多少灵性,陆仙帝叹了了口气,道:   “便只能转世重生了”   而陆仙帝刚才将自己的灵魂打入这三千世界,转世重生,夺取生机。   灵魂纷纷降落重生,化作小世界中的土著,其中便有一份灵魂便将落在这一方世界——蜉蝣界。   故事就此开始, 龙华门两大弟子有过命交情,为了一根稻草,从此天涯血刀见这是一个特种兵穿越到异界的老套故事,这是一个特种兵在异界争霸的老掉牙的故事,这也是一个特种兵在异界找寻自我的一个有点不一样的故事,这更是一群特种兵玩坏异界的热血故事,这还是一个异界特种兵养成的逗趣故事,而这一切都从一个拥有完美武躯、至尊血脉、无暇天赋和究极武魂的特种兵王魂穿异界的那一天开始……师父说他道心天成,生而近道,是天生的仙人;师兄说要收他做小弟,主角光环罩着他;小师妹让他小心神女龙女魔女妖女圣女,出门在外记得保护好自己;亘古不散的残魂说他是洪荒的幽灵,摊上大事了,别想安生…… 懒鬼师父且不说,洛清尘打定主意是要离大师兄远点的,以免出意外,毕竟大师兄的机缘总是很废队友。至于心怀不轨的小师妹,最应该提防的难道不是她吗? 本欲世外清修做个仙人,奈何大道锁途,万古的残梦未散,终是不得闲。洛清尘入世种因,出世讨债,斩道斩道,剑斩的既是凡尘枷锁,却也是自己的道。 “道友,交易否?童叟无欺,等价交换!”广袤3的玛法大陆天空出现异变,古老的遗迹和禁地随之发生躁动,神秘的天选者降临,这次会有什么不同吗?这次会改变界域战场人族和魔族的战争吗?(纪念那逝去的兄弟,纪念那些年的燃情岁月。)慕容晓的父母已音讯全无三年有余,她甚是迷茫。在得到了师父无音师太的首肯之后,她决定亲自下山前去瓒州一探究竟。可谁曾想到,慕容晓刚一下山便遇到了重重阻碍。她和她的朋友们能否安然抵达瓒州?这一路上又会有什么巨大的阴谋在等着她?人在江湖有时真的是身不由己。是抱有希望继续向前?还是与伙伴们荣辱与共?慕容晓的心中已经有了她自己的答案…
禅城区做网站策划 信息安全认证体系,-1 天津交通信息安全网 网站建设策划网络安全涉密资质 武汉信息安全,-1 宜宾网站优化 光谷做网站 网站承建 计算机网络和服务器网络安全问题 移动营销形式包括 学习成绩差咨询【www.richdady.cn】 邪灵的感应现象咨询【www.richdady.cn】 儿子不读书的解决方法【www.richdady.cn】 亲子关系中的沟通艺术有哪些?【www.richdady.cn】 特殊学校的教学方法咨询【www.richdady.cn】 事业不顺的心态如何调整?【微:qq383550880 】√转ihbwel 老公家暴的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的环境影响【企鹅383550880】√转ihbwel 忧郁症的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的前世因果咨询【σσЗ8З55О88О√转ihbwel 性压抑的解决方法咨询【σσЗ8З55О88О√转ihbwel 纠纷的法律咨询【微:qq383550880 】√转ihbwel 如何改善亲子关系?【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的原因分析【www.richdady.cn】√转ihbwel 特殊学校的前世记忆咨询【σσЗ8З55О88О√转ihbwel 与女友前世的前世案例【微:qq383550880 】√转ihbwel 前世缘份的识别方法【σσЗ8З55О88О√转ihbwel 前世缘份的常见类型咨询【微:qq383550880 】√转ihbwel 升迁障碍的改运方法咨询【微:qq383550880 】√转ihbwel 迟缓儿的症状与诊断咨询【企鹅383550880】√转ihbwel 大白兔奶糖营销案例 企业网站建设公司 营销性软文 信息安全服务标准 网站虚拟主机 网络安全审计内容 怎么学网络营销整合 qq免费建网站 网站建设的企业 杭州培训网站建设 杭州品牌营销策划有限公司官网 深圳网站开发 搜索引擎营销 近年信息安全事件 网站制作想法 营销型网站建设页面网络安全等级保护备案 网络营销与消费者心理 计算机网络和服务器网络安全问题 网络安全法 断网 中国网络安全协会 高端网站设计 移动营销形式包括 信息安全用不用敲代码 2017年网络信息安全法 网络安全测试与评估 国有企业信息安全管理办法 社媒营销师 网络安全教程2015 网络营销策划的分类 信息安全讲座多少钱,-1 网络安全的漫画 网站做推广需要多少钱 系统信息安全等级 什么是传统营销型企业 青岛网站建设小公司 重大信息安全考研,-1 怎么在网上创建网站 怎么在网上创建网站 怎样给网站增加栏目 网络安全法 断网 网络营销的基本形式有哪些 信息安全人员资质 江西神州信息安全评估中心 asp汽车销售公司网站源码 4s店网站源码 汽车网站建设 完整无 hefei 网站制作 网络安全 网络选择 html5网站欣赏 h5营销分析是什么意思 网络整合营销网络广告 天津交通信息安全网 银川网络营销 信息安全工程师 培训 网站资料备案照片要求2014法人现场拍照相片电子照要求 网站建设中网站和手机网站 网络安全综合解决方案 网络信息技术应用与网络安全 网站虚拟主机 百中搜营销 中国信息产业商会信息安全产业分会 营销型网站建设页面网络安全等级保护备案 网络安全审计内容 信息安全国际会议排名 怎么制作网站 石家庄做网站的公司有哪些 怎么学网络营销整合 中国信息产业商会信息安全产业分会 什么是传统营销型企业 重庆整合网络营销 qq免费建网站 成都网站建制作 网络安全 网络选择 社媒营销师 集团门户网站建设不足 企业网站建设公司 成都网站建设冠辰 网络信息安全分类 网络营销与消费者心理 深圳网站制作公司哪家好 大白兔奶糖营销案例 网络安全的漫画 计算机网络和服务器网络安全问题 电信用户信息安全协议书 石家庄网站制作找谁 蓝色的网站 信息安全与网络安全 信息安全与网络安全 杭州品牌营销策划有限公司官网 godaddy邮箱营销 中国网络安全协会 信息安全行业新技术 南京网站关键词优化网吧网络安全员培训 信息安全服务情况 惠州做网站 长沙网站推 网络营销策划案例 信息安全 小技巧 网络信息安全 学科 高端网站设计 全球网络安全峰会 石家庄网站制作找谁 信息安全文件 企业员工信息安全培训班 什么是传统营销型企业 什么叫信息安全管理员 信息安全用不用敲代码 系统信息安全等级 信息安全服务标准 网站伪静态 青岛网站建设小公司 jsp网站地图生成器 饮料创意营销策略 搜索引擎营销 网络事件营销 信息安全服务标准 手机设计培训网站建设 3g网站设计 网络信息安全分类 小米营销方式的调整 长沙网站推 西电信息安全专业 网络安全教程2015 网站建设中网站和手机网站 2017年网络信息安全法 上海高档网站建设 网络营销学徒是干嘛的? b2b网络营销的问题 南京网站制作公司 阿里云 信息安全 信息安全讲座多少钱,-1 陕西信息安全 企业网站建设公司 青岛网站建设小公司 搜索引擎营销分析 网络营销词语 武汉信息安全,-1