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

<a class="close" href="https://rp4o.nengpiao.cn/">&times;</a>
网络营销 有产品设计网站多少钱数据中心 网络安全法你在平时是否遭受过网络安全问题?是怎么解决的?龙岩网站建设公司酷炫给公司网站欣赏教育数据中心网络安全方案百度网站安全检测网站的网页网络信息安全案例穿越到玄幻世界,好不容易加入了圣地宗门觉醒了御灵系统 谁想到攒了几个月家底贷款炼制出来的御灵丹就被圣地的圣女师姐误食了 结果因祸得福,获得隐藏奖励 但是接下来的和灵宠服从性测试任务让白云琦傻眼了 “首先是原地转圈!” “然后是摸头舔手!” “最后是以坐骑形态出击!” ....... “师姐,你也不想你在大庭广众之下做服从性测试吧?” 本以为一次是意外,但一次接一次的被其他美少女吃下御灵丹,白云琦的心态发生了微妙的变化:这是御灵还是御人啊......写一下初中时候年轻的岁月。我曾是学校里的无名之辈,也连续多年霸占着全校第一的位置。爱过,恨过,伤过,笑过,自卑过,骄傲过,犹豫过,惆怅过,迷茫过,努力过……叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!徐东发现自己的手机不再耗电,这似乎与他做的一个梦有关,睡前一句普普通通的抱怨竟然让他实现了一个看起来并没什么大用途的愿望。在调查究竟是手机出了问题还是自己出了问题的过程中徐东遇到越来越多的怪事——陌生人对他不理不睬、太阳落山后日期似乎也并没有变更、联系不到自己的朋友和家人。 随着时间的推移,徐东认识到自己陷入了一个奇怪的空间,所有的人都如同行尸走肉。这一切困扰着徐东,直到通过手机通信软件联系到了唯一一个有着正常反应的人,他踏上了寻找同伴的旅程。叶平穿越到妖魔横行的世界,成为了斩妖除魔天玄靖安司的一名值夜者,身附伴生青囊,只要救人就能获得对方生命中最宝贵的东西。 灵丹妙药、绝世功法…… 妙手医百病,丹心斩妖魔,他是这人间的神,亦是诸天万族的劫降临全球的超凡事件,一纸神秘的契约…… 苏醒与死亡共舞,穿梭在三界与人间,在一次次试炼任务中险死还生,洞见真相。 鬼街打更人、妖界摆渡者、天界放马官!苏醒一步一个脚印,做大做强,再创辉煌。 本书又名《内卷》,《往死里卷》《TM谁都别想卷过我》《扶我起来我还能浪》 ———————— 小二寄语:今天五更,再废话十更。各种恶性事件最近层出不穷,但这好像和陈林没什么关系,他只是一个真的很普通的高三学生而已啊。 某天上午,陈林对于同桌没来很苦恼……天台上,那个熟悉的身影一跃而下。 谁会给出诡异事件的答案,谁又能拯救这个快被玩坏的世界。我是数据吗?这个世界真的存在玩家?身边的到底是血肉之躯还是冰冷的数据……真相在哪里? 陈林:“勿cue,我是无神主义论者,真的。”无意踏入上古战场遗址,得上古各位大能传承,接下来,命运对我不公,我便撕碎这命运,踏破混沌,问这大千世界有谁是我对手?看我这不屈服的一生,这一条撼人心扉的变强之路!无“怎么说? 其实穿越没有那么好,异世界真的很危险。” …… 陈凡意外跟随系统来到异世界,也是直接住进单间小牢房。 不过还好,系统没下死手,还给系统新手大礼包的礼物 “天赋觉醒丸” …… 觉醒了天赋技能 “献祭·渴求” 只要献祭宝物就能获得和宝物同等的心中渴求的知识 …… 就这样重新燃起了对于活着的希望的陈凡,经历着复杂的人生 “你渴望可以让人死而复出的秘宝吗?你渴望解除这个世界的诅咒吗?…… 你知道在遥远的世界有一处伟大的世界吗?那里的人们不用受着饥饿,他们拥有着伟大的信仰。 你知道一个关于孙悟空故事吗?他孤身一人,他勇战天庭…… 你知道有个人为了守护世界化作石头雕像吗?” …… “我?我不过是个小小的普通人罢了。”
深圳营销课程培训 聊城网站优化 重庆旅游网站建设 文山做网站 网络整合营销谁提出的 网络营销 有产品 注册信息安全员证书 医疗网站建设 如何设计网站域名 营销的功能 前世今生的轮回真相【www.richdady.cn】 孩子压力大的前世记忆【www.richdady.cn】 感情纠纷的自我提升咨询【www.richdady.cn】 前世今生的轮回真的存在吗?咨询【www.richdady.cn】 如何改善财运不佳的情况?咨询【www.richdady.cn】 前世缘份的故事如何改变命运?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 不爱读书的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 年轻人过世的常见原因【σσЗ8З55О88О√转ihbwel 失业的心理调适【www.richdady.cn】√转ihbwel 为什么过世的前世影响【σσЗ8З55О88О√转ihbwel 投资项目的自我提升咨询【www.richdady.cn】√转ihbwel 无形干扰的前世因果咨询【www.richdady.cn】√转ihbwel 儿子不读书【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的缘分揭秘【σσЗ8З55О88О√转ihbwel 孩子厌学的辅导方法咨询【企鹅383550880】√转ihbwel 佛教视角下的前世今生咨询【企鹅383550880】√转ihbwel 亲子关系中的沟通艺术有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的财务规划威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差【微:qq383550880 】√转ihbwel 贵州网站建设 信息安全漏洞分析研究 网站托管费 2017年6月份网络安全 济南模板网站制作 龙岩网站建设公司 isp信息安全系统建设 网络营销工程师自学 新网络安全法2017翻墙 h5做网站 网络营销传播 案例 重庆旅游网站建设 信息安全审计内容,-1 你在平时是否遭受过网络安全问题?是怎么解决的? 手机网站的特点 邢台网站制作哪家好 使用微博营销工具应该注意哪些问题 无差异性营销策略公司 互联网网络安全 营销的功能 网络安全互助平台邀请码 福田的网站建设公司 国内网络安全问题事件 华为网络安全解决方案 换网站公司 工控网络安全行业 信息安全学习 12. 简述计算机网络安全内容和系统安全等级 口碑营销重要性 衡水专业网站建设公司 友情网站制作 我国网络安全教育现状分析 网络营销 有产品 营销电脑培训 腾汛网络安全赛 营销优势有哪些方面 网站分为哪几类 济南模板网站制作 软营销 网络营销的市场定位 互联网营销软件有哪些内容 教育数据中心网络安全方案 全国大学生电子设计竞赛信息安全技术专题邀请赛,-1 信息安全威胁种类 山东信息安全委员 信息安全技术 信息系统安全等级保护基本要求,-1 顺德网站建设原创 宝石汇网站 天津个人做网站 卫士通信息安全技术有限公司 深圳市网络安全协会 o2o网站制作公司 2017年6月份网络安全 广州市网络安全 网站的网页 保定设计网站 济南模板网站制作 营销在哪里培训班 网站制作公司 顺的 网络安全警察电话 龙岩网站建设公司 酷炫给公司网站欣赏 网络安全 江苏 网络安全认证检测 isp信息安全系统建设 2017年6月份网络安全 网络营销 有产品 信息安全管理员定义 网络营销工程师自学 网络信息安全领导小组 兰州做网站 北邮信息安全找工作难吗网络安全综合实验 新网络安全法2017翻墙 顺德网站建设原创 工控网络安全行业 网络安全认证检测 网站没流量重庆网络安全公司 企业营销助手 网络安全设备图标 水资源营销 中国的信息安全技术 迭代思维 营销 移动商务营销案例 北京网站建设有限公司 网站备案不通过怎么解决 东莞长安网站优化公司 贵州网站建设 无锡网站建设 微信 手机店微信如何营销策略 文山做网站 网站建设的基本需求有哪些方面 优化公司排名营销推广 网站建设系统 b2b外贸网站 常州互联网营销公司 营销和行销 微博粉丝通营销 营销网站建设企划案例8469网站 网站建设问题大全 国内网络安全问题事件 sap 信息安全 广东信息安全考研,-1 自创网站 工控网络安全行业 东莞长安网站优化公司 河南省网站建设 信息安全漏洞分析研究 如何设计网站域名 我国网络安全教育现状分析 用凡科网建设的网站和用dreamweaver建设的网站有什么不一样 权威的网站建设 网站尺寸 大良营销网站建设流程 sap 信息安全 12. 简述计算机网络安全内容和系统安全等级 网店营销案例 广西 网站开发 凡客诚品网络营销评估 网络安全警察电话 信息安全行业岗位 信息安全需要花那些钱 常州互联网营销公司 主动营销意义 青岛企业网站建设 社会营销观念星巴克 卫士通信息安全技术有限公司 网站托管费 网络安全的发展历史 如何设计网站域名 网站建设:中企动力 营销北京 信息安全测评中心 编制 信息安全专家证书 家具公司想组建一个电商团队做一个b2c网站需要那些人员 口碑营销重要性