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

<a class="close" href="https://2ivjfsm.mafeng.net.cn/">&times;</a>
网络安全岗中国信息安全等级保护网站 排版模板绿色调网站芜湖网站建设嘉兴网站制作南京网站制作哪家专业房产网站建设使用asp.net制作网站在制作相册时怎样添加图片呢?天津专业网站建设公司【快节奏,轻松爽文】作为一个穿越者,镜尘却欠着阎王爷30年寿命。为此,镜尘需要每天向【赎命系统】上交30万的续命费。直到所有的钱都还清,他才能不去找阎王喝茶。镜尘无奈,只能进入娱乐圈,赚钱还命了。 本小说极人物纯属虚构,如有雷同,纯属巧合。切勿模仿。我来自现代,曾经梦想可以去一趟武陵人所述说的桃花源,在那里自由自在,开启我的新世界。梦想还真实现了,我穿越啦!穿越到了桃花源,每次都会续写武陵人的故事,貌似进入到了死循环中,无法逃脱。。。股市,是上帝留存在世间的最后一个伊甸园。 这个伊甸园,是圣人的天堂,凡人的地狱。 不管是圣人又或者是凡人,都被贪婪与恐惧所支配着。 稍不留神,便可能马失前蹄。 是驰骋在天堂里超凡入圣,还是在地狱里摸爬滚打,所有干系。 都寄于…… 指尖之上。末世求生 “我竟然重生到末世年代” “叮,主人,您的属性外卖已经到账,请查收。”一代“音乐天才”宋若寒,偶得系统,看不惯世间不公,一统蓝星,压诸天,镇四方要知道那是一个非常不错的秋日午后,当和煦的阳光洒在我的身上,微凉微风吹拂在我的脸上,将今日好好摆弄的清洗的刘海微微抚起,而就在同时,一位长得颇在我萌点上女孩迎面走来,正当我感叹着世间的美好,然后……我转生为了龙?这是个很不一样的世界,陌生而奇特,但有时陌生世界中的熟悉也许会带来更深的恐惧和更强烈的感情体验,有纵马草原的卓尔布,有权御天下的轮戊帝,有伏剑刺敌的荡天梁......去共呼吸,同命运。喜欢这部作品的读者可以加QQ群:594509232。一起与作者和读者讨论剧情哦~ 黑暗降临世间,母亲意念魔女不敌四人的战力,致男主易恒与女主易贝儿与母亲离散。 转眼十年过去,他们将要面对的是全新的十二位天赋异禀的星座使教徒。 为了拯救妈妈和世界,他们做出着艰难的决定:改变! 异世界的故事,便是从这里开始的。。。。。。金丹成,元婴现,化婴成神,一步修仙路,逆天成真神。 数万年前人界灵气盎然,人神同修,万年大劫将至,界面薄弱,魔界魔神率众魔族破虚空入人界,誓要屠尽人族。 人界尸骨成山,血肉成河,众仙陨落,为保人族延续,众神不惜元神灭,神体破,撕碎界面,与魔族同灭。 界面破碎,形成无数小界面,灵气稀薄。魔族重燃,一个个人族界面消散…大学开学季将就,苏泽意外觉醒神豪系统,完成指定任务即可获得丰厚报酬;并还会不定时发布百倍返利活动; 开局驾驶直升机报到,奖励百万现金;震惊全校,面对告白系统提示拒绝,奖励迈巴赫S级一辆;邀约校花共进晚餐,奖励清风阁水云间豪宅一栋........
企业网站的意义 网站分几类 厦门响应式网站制作 排名好的青岛网站建设 西安高端网站制作公司哪家好 房产网站建设 微网站建设资讯 中国安全网络安全 国外的信息安全事件 网站首页被k 大龄剩女的心理调适咨询【www.richdady.cn】 潜能开发与自我提升咨询【www.richdady.cn】 生活中的无形干扰有哪些【www.richdady.cn】 冤亲债主干扰咨询【www.richdady.cn】 冤亲债主干扰有哪些案例?咨询【www.richdady.cn】 心特别累的心理调适【www.richdady.cn】√转ihbwel 与老公前世的识别方法【微:qq383550880 】√转ihbwel 心慌胸闷头晕的前世因果咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大咨询【www.richdady.cn】√转ihbwel 暗恋的解决方法【σσЗ8З55О88О√转ihbwel 感情纠纷的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰的前世因果【企鹅383550880】√转ihbwel 阴间生活的前世因果咨询【微:qq383550880 】√转ihbwel 与女友前世的故事分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的识别方法咨询【www.richdady.cn】√转ihbwel 婚姻生活不顺的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的母亲的影响分析咨询【σσЗ8З55О88О√转ihbwel 耳鸣的案例分享咨询【σσЗ8З55О88О√转ihbwel 事业不顺的应对策略咨询【www.richdady.cn】√转ihbwel 设计网站需要考虑哪些 营销环境分析的内容 贸易公司自建免费网站 芜湖网站建设 信息安全管理指引 中国信息安全学会 公安 网站价格表 阿里巴巴的网络安全 贵阳网站优化公司 网络安全ppt最后谢谢 网站推广报价 新媒体营销外包公司哪家好 网络安全ppt 下载 信息安全等级保护技术标准体系 湖南网页设计培训网站建设 湛江网站模板 常见的营销 企业网络安全规划方案 网站规划与网站建设 福建省网络安全 信息安全不涉及的领域是上海网站建设app 河间做网站 西北信息安全测评中心 高端的网站 网络安全国家标准 小米营销策略 网站搭建公司官网 厦门响应式网站制作 网络安全技术入门 当前中国网络安全 公司设计网站建设 2017网络安全挑战赛 网络营销1对1上门培训 网站搭建公司官网 中国信息安全协会会长 绿色调网站 网站备案填写的《信息安全管理协议》是去了备案的地方再填吗 信息安全不涉及的领域是上海网站建设app 网站分几类 包年营销 第四届互联网网络安全 营销环境分析的内容 电脑网络安全 网站 排版模板 嘉兴网站制作 网络安全岗 排名好的青岛网站建设 哈密网站建设网络安全关注的问题 建行个人电子营销平台 信息安全技术图片 互联网时代背景下的网络信息安全 重庆专业网站建设 网站价格表 网站分几类 国外的信息安全事件 排名好的青岛网站建设 论坛营销的优点 河间做网站 网络安全业务资质 杜跃进 信息安全 关于网络安全的一段 手机信息技术网络安全 丹江口网站开发 网络安全系统建设 服务是软营销 网站内容运营 公司设计网站建设 济宁网站制作 邢台做网站可信赖 建设网站具备的知识 常见的营销 受欢迎的汕头网站推广 手机网站开发技巧 网络安全ppt最后谢谢 信息安全培训专业 网上营销 全网整合营销的公司 学校病毒营销方案 wifi 网络安全 第4课 网络安全 网站制作 武汉 芜湖网站建设 网站内容运营 2016年网络安全现状分析 网络安全技术入门 常见的营销 网络营销产品组合 网络安全 案例深圳网站设计美工 扁平化网站建设公司 当前中国网络安全 美国 联邦信息安全法案 新媒体营销热点 企业网站备案 网站推广报价 网络安全岗 贵阳响应式网站开发 当前中国网络安全 网络营销公司 优帮云 深圳市能士信息安全公司 信息安全不涉及的领域是上海网站建设app 网络安全攻击 平台 企业网络安全设计 网站建设开发 网络安全专家林伟 什么是整合营销? 校园信息安全平台 网络营销推广方法 沈阳网站制作 网站 排版模板 营销研究 网络安全测试 信息泄露 网站首页被k 深圳市能士信息安全公司 设计网站需要考虑哪些 v云计算在网络安全领域的应用 网络信息安全中宣部 网络信息安全中宣部 网站建设开发 湛江网站模板 网络安全测试 信息泄露 网站制做公司 高端的网站 营销策划平台 免费建建网站 网站建站 企业网站模板下载 信息安全技术大纲 上海的外贸网站建设公司排名 贵阳响应式网站开发 网络安全等级保护三级 湖南网页设计培训网站建设 武汉信息安全网org,-1 中国信息安全学会 公安 贸易公司自建免费网站 知道创宇信息安全