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

<a class="close" href="https://piu.vlbl.cn/">&times;</a>
2016国家网络安全博览会镇江网站seo网络安全面对的威胁网络安全大事记如何推广网站网站的设计流程国家信息化培训网络安全网站建设师沈阳做企业网站微信的网络营销推广案例睁开眼,林浩强重生到和妻子离婚的当天。 上一世的他,五毒俱全,抛妻弃女。 弥留之际的他,得知老婆积劳成疾,早已亡故,女儿叛逆,十年牢狱之后,死于街头。 林浩强死不瞑目。 上天给了他一个重生的机会,还给了他一方小世界。 为了弥补上一世的罪孽,林浩强起早贪黑,拼命工作,把老婆和女儿宠上了天。无垠宇宙,神秘实验,再次展开。 地球少年,只身异界,风生水起。 十方世界,芸芸众生,蝼蚁而已。 我鬼钊一人,撑起魔道一片天,足以!未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!修行是一条茫茫无尽的道路,路上没有长生的喜悦,有的只是无尽的枯寂与落寞,三年前问心路上,学院问我,为何要修行,实际上我撒谎了,我只是想好好活下去,能像从前一样回到自己师父师娘身边,跟明月一起坐在清风山顶的大石头上看日出从前有一座大陆,叫圣洛大陆。 大陆之上有一个域,叫南山域。 南山域有个宗门,叫仙痕剑宗。 仙痕剑宗之中有一位大师兄,叫君清尘,他似乎有亿点点强,而他的故事也是从此开始。 结婚三年,陈青牛被泼辣老婆驱使,受尽丈母娘一家子窝囊气。   一朝得蚌仙传承,从此鲤鱼化龙,媳妇变成了小乖乖,岳母一家逢迎。   带领全村人搞特色养殖,种植,发展旅游村,过上幸福日子。他是世界杀手榜单《死神榜》排名第一的杀神,也是世界上最顶级的间谍,但却因为一次任务惨遭组织出卖。可是上天给他开了个大玩笑让他重生回了六年前。这一世,他要让那个组织付出代价,也要让今生没有遗憾!没有规则,欲望没了束缚,人与野兽无异。  豹虎横行的罪恶世界,大地上游荡着披着人皮的怪物。   业火燎世,谁能独善其身!弱水奔涌,谁能站稳脚跟!黑暗肆虐翻腾,谁又能窥探本质!   云翳重重的诡秘天穹之上,是谁在耳语?   万魔丛中巍然屹立的战死身影,暗穹脚下无人安葬的英雄枯骨,焦土上为逐魔覆没却被后世遗忘的古族,为众生而陨却背负万世骂名的大帝……   谁会为他们燃烧自己流泪?谁会为他们指引世人感动?   谁能为他们正名?   黑暗与鲜血糅合,它们在汹涌翻腾,暗沉的红芒下,大地是赤色的,茫茫的赤色中,缀着一抹黑点。   安:少年站在荒芜的废土上,人面兽心的“怪物“朝他扑涌,彷徨失措。   劫:黑色的血液自冰冷的刀尖滴落,持刀战士屹立尸山之巅,无所畏惧。   被蚕食的绵羊终成了屠罪的勇士!   秋风萧瑟,落叶纷飞。 凌城的正中央立着一块墓碑,与众不同的是,这一块碑上,刻着多个人的名字。鲜艳的红色夺目耀眼,在秋阳的照耀下,显得熠熠生辉…… 昏暗的正厅里,坐着一位白发苍苍的老人,颤颤巍巍的手一遍遍的翻着一本早已模糊的相册,还有几张已泛黄的信。泪,无声的落了下来,滴在了信纸上…… “咚咚咚”耳边传来敲门声,门开了,一个小姑娘探进了头。 她笑了笑,挥挥手让小姑娘进来坐下。 “墨奶奶,我可以听你讲讲你以前的事吗?今天在广场上,妈妈念了一些名字我听你说过。你和他们有什么关系吗?” 她点了点头,尘封已久的回忆又浮现脑中,她开始讲述,那仿佛已多少世纪的事情…… 隐隐约约,她仿佛又听到了那句话: “小栖,别哭,好好地,活下去……” 这,是寒烨的故事,亦是阙安的故事男护士转生异世界,竟然被职业评定选择成了最稀有职业-男性圣职者?本来以为可以在异界享受人生,迎娶公主,走上巅峰,没想到卷王居然就在我身边?内卷什么的之前已经受够了!为了对抗内卷,全都点了治愈,男圣职者平凡而又非凡的异世界生活,从现在开始!
山东大学信息安全排名 如何注意网络安全 迈克菲网络安全套装 网络信息安全小组成员 网络安全态势感知系统 网络安全大讨论 深圳北网站建设 陕西信息安全工程技术研究中心 信息安全简介,-1 网站的设计流程 与老公前世的前世缘分咨询【www.richdady.cn】 阴间生活的文化背景【www.richdady.cn】 升迁障碍的职场策略有哪些?咨询【www.richdady.cn】 与老公前世的前世修行【www.richdady.cn】 与男友前世的前世解析咨询【www.richdady.cn】 家庭关系的矛盾化解咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何化解冤亲债主的干扰?咨询【σσЗ8З55О88О√转ihbwel 长期精神不振的原因【www.richdady.cn】√转ihbwel 前世缘份的重逢有什么迹象?咨询【微:qq383550880 】√转ihbwel 处理感情纠纷的方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】√转ihbwel 脑部不清晰的心理调适咨询【σσЗ8З55О88О√转ihbwel 特殊学校咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的前世因果咨询【www.richdady.cn】√转ihbwel 婴灵的真实案例有哪些?咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋心态【企鹅383550880】√转ihbwel 升迁障碍的职场转型技巧有哪些?【www.richdady.cn】√转ihbwel 自闭症的咨询技巧咨询【微:qq383550880 】√转ihbwel 前世老公的前世记忆咨询【微:qq383550880 】√转ihbwel 强迫症的康复训练咨询【企鹅383550880】√转ihbwel 提供网站建设的公司 天津微网站 2017上海网络安全周 icp网络安全防护 网络安全扫描器 四川省网络安全法 全球网络安全50强 四川省计算机信息安全行业协会 监控网络安全化 网络安全保护方案 品牌网站推广 山西网站制作公司哪家好 沈阳科技网站首页 网络信息安全 攻击手段 信息安全 课程简介 信息安全类竞赛网站设计报价 集团网站开发 2015全国信息安全大赛自己做网站挣钱不 微信的网络营销推广案例 网站推广费用 网络安全防护手段 微信营销软件推广 沈阳科技网站首页 建立http网站 协会网站建设 2014国家网络安全周 重庆网站营销案例 2016国家网络安全博览会 网络安全手机 酒店网络安全审计网络营销的基本知识 新媒体营销手段有哪些 客户信息安全管理体系,-1 我国信息网络安全现状分析 网络安全评审 网站的设计流程 微信营销软件推广 软文营销商业模式 课程商城网站模板 信息安全等级保护测评报告模板,-1 网络营销专业技能 山东大学信息安全排名 2016信息安全公司排名 信息网络安全评估 国家信息化培训网络安全 杭州营销型网站 云南网站建设 网站制作公司成都 2017 信息安全 峰会 网站加黑链 网络营销可以吗 互联网营销的基础理念 做网站百度 2016国家网络安全博览会 网站收录多少才有排名 营销流行语 网络安全三级标准测评 网站建设视觉效果 网络信息安全考试 远程接入过程管理敏感国家 购物网站设计需要哪些模块 沈阳做企业网站 中国信息安全安华 四川省网络安全法 建立http网站 迈克菲网络安全套装 信息安全逆向和渗透 网络安全保护方案 网络安全法 等保测评 网站加黑链 信息安全 课程简介 铁人三项信息安全大赛 网络安全管理员是什么 网络推广营销平台 网络安全研究平台 网络安全扫描器 南宁网站建设7make 近年来互联网用户变化的情况分析而这些变化对企业网络营销的影响? 迈克菲网络安全套装 网络安全大讨论 美国大学信息安全 我国信息网络安全现状分析 网站细节 为企网站 网站定制与模板开发 网站推广费用 镇江网站seo 珠海网站 网站建设管理 微网站系统 网络安全态势感知 网络营销的理论包括 珠海企业网站制作公司 企业支付宝 营销策略 网络安全评审 信息安全等级保护建设资质证书 重庆大足网站制作公司哪家专业 标准 信息安全 iso 27001 itil cobit 营销综合实践教学平台 b2b网站开发 铁人三项信息安全大赛 丽水网站建设公司网站被侵权 北京网诺信息安全技术有限公司 网络营销策划创意分析 信息安全等级四级 重庆本地网络营销平台 信息安全对抗赛 网站加黑链 标准 信息安全 iso 27001 itil cobit 网络安全做的好的公司 太原免费网站建设 信息安全简介,-1 网络安全手机 2017西安信息安全大赛 软件网络安全认证证书 安全报道与网络安全计划方案 建永久网站 网络和信息安全通报实行7 24,-1 html5 网站 网络安全体系由 对网络营销的意义认识 制作网站报价 亚马逊服务营销策略 信息安全 一级学科 2014 网络信息安全小组成员 信息安全等级四级 网站首页面设计 网站建设视觉效果 网络营销方法的概念 网站建设师 沈阳建设公司网站 网络安全评审 网络营销策划创意分析 网络安全教程 百度云盘 网站建设总结 网站图片类型 网站的设计流程