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

<a class="close" href="https://w6gdi4.panvpn.cn/">&times;</a>
建网站报价国家网络安全示范基地长沙做网站多少钱玉林做网站2017 信息安全 峰会信息安全风险的三要素思尚营销迪庆网站建设学校网站建设优势网网站星空无垠,大劫将至。 即使是代表永恒的宇宙也会有衰落的一天,武者当自强,担负重振荣光的使命。 于是豪杰并起,开始了他们的征程,横跨宇宙星辰,无畏地向吞噬宇宙的黑暗发起挑战,这是一条永无止境的求生之路。 唯有历经万重劫难,方能通往明天。 后世称其为:万劫通天! 未来,科技崛起的时代遇上了灵力复苏,以及伴随而来的异兽危机…… 掌控灵力的修士、持有科技力量的执权者、以及拥有强悍体质的异兽,三顾势力在无数年的战争中,相互制约,竟达到了平衡…… 然而,在这个世界的角落,钟离,一个落魄的少年,在一座小城,收养了五个流浪的孤儿,在这个世界艰难的生存…… 一场意外的到来,使钟离与自己收养的五个孩子分开,等到钟离重新回到住所,五人已不见了踪迹,为了寻回五人,钟离在这个复杂的世界上,踏上了寻找的道路……如果有一天,当你睁开了惺忪的双眼望向这个世界。你还未来得及称赞这一觉睡得那样充足饱满,床垫是有多么的柔软舒适,取而代之的则是你的家园、你赖以生存的那座城市消失不见的恐惧。除了你自己以外的任何人都没有了关于那座城市的认知,你所有的找寻都无功而返,这个和世界没有了丝毫那座城市曾经存在过的迹象。你会相信并接受这个世界的改变还是会坚持自己的主见?如果有一天,你触发了“X-隐没”的故事,你会怎么办?陈晨穿越到平行世界,觉醒娱乐系统,成为娱乐顶流。 本以为从此数钱数到手抽筋,系统却加以限制。 在捐够100亿之前,他每个月只能领到2000块的生活补助。 网友们惊奇的发现, “版权费几百万,陈晨居然还住在这么破的小区?” “跟女星一起出去,陈晨竟然请她吃地边摊。” “陈晨吃泡面他连火腿肠都不加!” 某天,捐款被发现,网友震惊。 “我们学校的晨曦楼居然是他捐的?” “振州特大暴雨捐了2个亿的居然也是他?” “原来,陈晨这么节俭只是为了做慈善。” 网友直呼,陈晨这明星真能处,有钱他是真捐啊。女侠何在? “女侠在此!”江小纯穿越成一个胎儿,旁边是重生女帝! “别闹了!” 江小纯无意一脚踹出,竟然调动荒古圣体。 重生一世的鸿天女帝,刚轮回成为婴儿,遇见圣体胞弟,本是心生夺舍,不料被胞弟一脚踹了出去。 不可一世的女帝,直接早产!叶玄,圣界天玄大陆四大宗门之一仙剑宗天赋最强的弟子。当全宗庆贺他突破之时,他走进了师父,仙剑宗宗主任九霄的山峰。 正巧碰见师妹柳雪和仙剑宗有名的废物弟子齐云在和任九霄交谈,他径直走了进去。 过了许久,仙剑峰突发爆炸,等到宗内强者闻声寻来之时,却发现宗主任九霄身陨,叶玄重伤。仙剑宗即刻封锁山门,寻找凶手。憨厚孝顺的“傻大成”乐成,为了给病中的母亲积攒阴德,跟在卢师傅身边学习纸扎活儿。据说乐成娶了个漂亮媳妇,可媳妇杜娟不但虐待婆婆,结婚还不到半年就给“傻大成”添了个儿子,让他“喜当爹”。 不久后,荒坟村里发生恶灵害人事件,据乐成透露,是杜娟堕入邪道,暗中用咒术报复曾调戏过她的赵天虎。人们设下毒计对付杜娟,可她只会无助地痛苦哭救,并不像乐成说的那样暴戾阴险。 “傻大成”的谎言被揭开,他露出虚伪狡诈的真面目:原来他一直在欺骗大家,他靠近卢师傅,只是为了偷学禁术来害人赚钱。杜娟也从未嫁给过他,他只是因爱生恨要报复杜娟,他的妈妈也被他打残“治”聋,来配合他表演…… 为了阻止乐成继续为祸人间,他的师弟潘森追踪来到胭脂河、迷雾城、荒落古镇、通灵学院,在那里他遇到了灵奇队友谢侠,决定先开办“阴语培训班”,再深入探索亡灵冥界里的秘密……故事发生在2135年,一次偶然的考古发现,让一种丧尸病毒暴露人间。林少白是一家生物科技公司的员工,在一次团建过程中,病毒在满载公司员工的客机上传播,客机坠毁,林少白是唯一幸存者,但奇怪的是,所有遇难的员工都继续正常上班,而林少白却对空难毫无记忆。随后,病毒从实验室泄露,在一栋办公楼内传播,原本过着平凡生活的林少白,突然肩负起化解危机的使命。什么是江湖?有人的地方就有江湖,有恩怨情仇,一人一笔,言语之间,瞬间一招毙命,出手不留情,爱恨情缘,醉心醉脾,人在江湖,身不由己,一场重大的秘密将展现出来……
社会化网络营销类型 旅游网站管理系统网站设计公司网站 公安 网络安全 品牌网站建设方案 设计的网站 网站设计 价格 市桥有经验的网站建设 信息安全等级的分类 社会化网络营销类型 长沙网站设计 维护良好家庭关系的秘诀咨询【www.richdady.cn】 孩子压力大的前世记忆【www.richdady.cn】 感情纠纷的自我提升咨询【www.richdady.cn】 前世缘份的前世修行咨询【www.richdady.cn】 自闭症的环境影响咨询【www.richdady.cn】 孩子学习不好的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 老公家暴【企鹅383550880】√转ihbwel 迟缓儿【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的具体步骤咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的前世因果【www.richdady.cn】√转ihbwel 有官司咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的母亲的影响分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的咨询技巧【σσЗ8З55О88О√转ihbwel 什么原因意外【www.richdady.cn】√转ihbwel 阴间生活的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的真实案例有哪些?【σσЗ8З55О88О√转ihbwel 前世今生的轮回有哪些科学依据?咨询【微:qq383550880 】√转ihbwel 发育倒退的解决方法【σσЗ8З55О88О√转ihbwel 孩子厌学的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 宿州网站制作 网站制作 广州 化妆品网络营销 网络营销能力评比 西电信息安全录取分 公安 网络安全 网站配色表 网络安全保护方案 信息安全方案安全号 信息安全风险评估标准 青岛找网站建设公司好 常州做网站的公司 建网站啦 传统营销的时域性 事件炒作营销 宁波电子商务网上营销 域名 备案号 网站的关系 开县网站建设 天蝎网站建设 北京高端网站定制公司哪家好 信息安全等级怎么划分,-1 网络营销评价方法有哪些 西乡建网站 山东省信息安全等级 中国移动网络信息安全,-1 营销证 申请个人网站 营销证 青岛免费建网站 郑州网站建设怎样 网络营销英文怎么读 网络营销目标市场选择 手机wap网站制作 常州做网站的公司 中国信息安全安华 网站界面 欣赏 信息安全风险的三要素 杜蕾斯微信营销案例 青岛找网站建设公司好 信息安全方案安全号 北京网络安全讲师 门户网站的建设 内蒙古网站建设 东营专业网站建设 第三方人员 信息安全 杭州营销培训会 搜索引擎营销测验 网络营销英文怎么读 整合营销传播特点 四大门户网站 中国信息安全认证 一站式营销 网站运营 邮件营销的图片 网络安全展 网络安全法进展 青岛免费建网站 网络安全的简介 湖南最有名的营销机构 南京微信营销广告公司 网络营销英文怎么读 南昌网站开发 长沙网站设计 如何加强网络安全的 如何建立一个网站 传统市场营销活动 seo营销中心 网络营销的三大渠道 门户网站的建设 如何建立一个网站 手机wap网站制作 2016网络安全教师 北京高端网站定制公司哪家好 手机wap网站制作 风水网络营销 网络安全展 北京航空航天大学信息安全中心 内蒙古网站建设 格力公司网络营销定位 千度网站 中国信息安全安华 临沂网站维护公司 国家网络安全示范基地 镇江网站推广 2017上海网络安全周 国家对信息安全性 宿州网站制作 信息安全专业大二课程 东营专业网站建设 网站的结构 网站制作 技术 网站配色表 传统信息安全 深圳最好网络营销课程 网站备案网络安全小组成员组成 应用第六章中所讲的网络营销工具之一对该书进行网络营销推广 机械网络营销 网络营销推广策略是什么 信息安全三个发展阶段 域名 备案号 网站的关系 西电信息安全录取分 机械网络营销 网御网络安全审计系统v3.0 中国信息安全认证 杭州营销培训会 网络安全试点示范工作 化妆品网络营销 宿州网站制作 网络营销目标市场选择 风水网络营销 四大门户网站 小米公司网络营销策略分析 精准网络营销 信息安全等级的分类 网络和信息安全通报实行7 24,-1 设计的网站 信息安全技术公司招聘 自动营销系统软件 优势网网站 事件炒作营销 昆明网站搜索优化 信息网络安全等级保护工作自检自查报告 郑州网络营销外包公司 网络安全设备销售 网站制作 广州 西安专业的网站优化 郑州营销外包公司 品牌网站建设方案 西乡建网站 四大信息安全顶级会议 营销网络的方式 搜索引擎营销测验 网络安全试点示范工作 网络安全面对的威胁 信息安全与泄密事件