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

<a class="close" href="https://bven.pangqu.com.cn/">&times;</a>
互联网营销工作简历微观环境营销中介滴滴营销软件网络信息安全与等级测评中心奶粉微信群营销方案网站开发 价格幼儿园网站设计专业的网站建设网络安全控制免费建网站的网站信息网络安全公安部天界至宝天神之怒碎裂成两半,从此消失不见,天界由此陷入混乱。要想天界恢复秩序,必须寻回天神之怒。在天界遍寻无果之下,众天神不由束手无策。 “你知道吗,那是我经历过得最黑暗的一年!” 是啊,怎么能忘掉呢,好朋友死在她面前,她却什么都做不了,这已经成了她夜夜备受折磨的梦魇。 一年后她席卷重来,历史揭过,到底是谁又在一遍遍的保护着她,谁又是黑暗中那个毒蛇一般盯着她不肯放过的人?不管是谁她都要把人找出来。 有愧?仇恨?不!她是个警察,与邪恶本就是对立面,又怎会屈尊与黑暗?委身与邪恶? (新人写书,大家的鼓励就是我的兴奋剂!等着你们的留言呦~)“什么?原来我是恶魔?” 十六岁那天,‘穿越者’阎墨终于等来了属于自己的灿烂。 ------------------------------ ‘普通人类’加入恶魔学园学习成为恶魔的故事,大概会涉及入间同学入魔了,家庭教师,猎人。未来世界,一款名为超神空间的游戏横空出世! 人类可以自由进入超神空间,进行修炼升级打宝炼器,并且能在虚拟和现实中自由穿梭,将游戏中的等级和宝物带回现实! 沈明为了救治母亲的癌症,踏入超神空间寻找药物,逐渐从一个人人喊打的小人物,成长成为天下无双的万界之主! 世界的争斗扭曲了形式 黑暗中的魔爪伸向大千世界 我,被选中的救世主,选择召唤最强战力:同班同学!勇气,爱与宽容,永恒经典的主题。侠,可以是乱世中的英雄,行走江湖的豪杰,还可以是香消玉殒的红颜知己,隐藏在暗处的刺客。烟花虽然灿烂,寂寞却是无尽。人总是会孤独的,不论他有多精彩的过去。可有可无的小人物,最终情归何处?他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!云云众生,草根人物,命运多殂,应何以为之?何以搏之? 滚滚的历史长河,浩如烟海的典籍,人神鼻祖,帝王将相,先贤哲人,无不树碑立传,著书立说,话其伟绩。然而,蝼蚁草芥经历了怎样的狂风暴雨,遭受了何等的苦难辛酸,亦或是又品尝了那些快乐幸福,少有问津,甚是惨淡。今攫取其中的颗粒,让芸芸众生在茶余饭后,闲暇无趣之时,偶尔翻翻,聊以打发寂寞的时日,慰藉空虚的灵魂;也可以让那些迷途的羔羊,引以为戒,奋发图强,在恰当的时间里,在适合自己的道路上披荆斩棘,勇往直前,创造属于自己的辉煌。更可以解剖人生,探究灵魂,寻求真谛,放飞心灵,让假丑恶在烈日下暴曝,使真善美在甘露里滋养;让华丽掩藏的肮脏暴露在阳光下面,使正义湮没的腐臭吹散于飓风之中。不希望名流千古,也不奢求身家有值;只是在人生末途散发余热,在风烛残年不蹉跎岁月;也可以说是菩提下的空悟,是灵台里的忏悔;是坎坷崎岖道路上的觉醒,也是酸甜苦辣滋味里的品尝。 “既然我重生了,那么……准备令死吧!”这个男人自创功法狂龙炼体术 这个男人赢领人类走向辉煌 这个男人一生屠魔 却不想在虚弱之时被魔主偷袭 拼命反杀 那一战 天地崩裂,诸神心慌 魔主不甘死亡 耗尽毕生修为进入时间轨道 重修一世 他因神印失去了神智 屠尽魔族后见光就砍,见人就杀 他在众人的哭喊声短暂回复了神智 为了解决眼前的状态 为了人族的未来 为了完成他的梦想 双手结印 在众族的泪水之下 重修一世……
好模板网站 网站添加属性 公司信息安全组织架构 南通哪里有做网站的 快餐4p营销组合策略 win8 网络安全 昆山网站 温州网站优化 手机网站开发制作 信息安全 顶级会议 前世老婆咨询【www.richdady.cn】 为什么过世的前世故事【www.richdady.cn】 有官司咨询【www.richdady.cn】 财运不佳的财富转运方法有哪些?咨询【www.richdady.cn】 孩子学习不好【www.richdady.cn】 自闭症的环境影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 有官司的前世因果【企鹅383550880】√转ihbwel 大龄剩女的社交技巧【σσЗ8З55О88О√转ihbwel 灵魂化解的步骤【企鹅383550880】√转ihbwel 冤亲债主干扰对生活有哪些影响?咨询【σσЗ8З55О88О√转ihbwel 前世老公的前世缘分【企鹅383550880】√转ihbwel 人际关系不好的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的化解仪式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 祖灵的超度仪式威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel “缺心眼”对人际交往的影响咨询【www.richdady.cn】√转ihbwel 感情纠纷的情感疏导技巧有哪些?咨询【σσЗ8З55О88О√转ihbwel 失业的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的和谐共建【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 搜索引擎营销策略 信息安全外部威胁 知识营销推广 新国际网络安全吗 做网站群的公司 哈尔滨网站设计公司 企业网络安全评估 信息安全教育机构 信誉好的龙岗网站设计 网络营销组织形式有哪些特点是什么意思 重庆品牌网络营销推广 微观环境营销中介 北京做网络安全的公司中国网络安全大赛 专题网站建站 安顺网站建设 网络安全产品销售备案 网络信息安全防护措施 抄袭网站 国家网络信息安全 信息安全外部威胁 媒体营销是什么 安顺网站建设 随着网络安全 怎么建手机网站 建网站推广 大连做网站电话 营销外包服务协议 大连做网站电话 ctf 网络安全 深圳信息安全大学 顺的品牌网站设计价位 网站推广网 北京信息安全企业排名 北京信息安全企业排名 网络安全零基础书籍推荐 网站建设费用 网站模板设计 企业信息安全优化方案 中国网络安全归谁管理 百度知识营销是什么 网络营销中的产品策略 李强 网络安全审查 信息安全宣传资料,-1 微信营销成功案例 《家装公司营销教程》 网络广告营销的优缺点 信息安全中常见的攻击,-1 福州做网站网络安全 销售公司 做网站群的公司 杭州的网络安全公司 重庆品牌网络营销推广 信息安全 顶级会议 南昌seo网站开发 做网站群的公司 认识网络营销调查的基本方法 吉安网站建设凡客建网站 合肥网站优化 认识网络营销调查的基本方法 活动营销网 为什么百度要网络营销 网络安全等级怎么设置 温州网站优化 怎么建手机网站 网络安全流量检测 顺义石家庄网站建设 病毒营销教程 口碑会员营销经典案例 自适用网站的建设 香港网络安全 网站添加属性 上海网站建设的企 选择信息安全控制措施应该 免费建设网站平台 深圳手机网站设计 长沙营销型网站设计 珠海做网站 北京做网络安全的公司中国网络安全大赛 成都的信息安全公司排名 网络营销新媒体测试题 中国信息安全等级 win8 网络安全 网站建设咨询 国内全屏网站有哪些 重庆营销推广哪里好 企业网络安全评估 win8 网络安全 网络安全周报 社会工程学和网络安全 关于淘宝营销 网络安全周报 信息安全的新闻 杭州互联网网站定制公司 网络安全标识 活动营销网 新型网络安全技术 广东信息安全测评,-1 品牌营销平台 新国际网络安全吗 搜索引擎营销策略 重庆璧山网站制作公司推荐 滴滴营销 网站布局 网络渠道营销策略 营销外包服务协议 为什么百度要网络营销 建手机网站一年费用 公司信息安全组织架构 网络安全应急响应时间 植入式营销特点 怎么设置网站栏目 中国网络安全排名大学 南通哪里有做网站的 怎样学营销 北京做网络安全的公司中国网络安全大赛 网络安全 研究方法 免费建网站的网站 网络营销的微观因素 微信网站模板 知识营销推广 香港网络安全 网络安全高级软件编... 知识营销推广 专题网站建站 杭州高端定制网站 网络安全 研究方法 信息网络安全模型 信誉好的龙岗网站设计 无线网络安全设置加密算法 随着网络安全 太原制作网站的公司哪家好 企业网站的特点 哈尔滨网站设计公司 常州营销外包 珠海做网站 重庆商城网站制作报价