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

<a class="close" href="https://bc3v.joxa.cn/">&times;</a>
微网站建设网站制作素材医院做网站网站静态页成都高端网站建设公司东台网站设计邮箱营销软件哪个好星巴克与微信营销策略分析医院怎样进行网络营销信息安全风险评估教程“pa!!!”北斗你是否清醒!!!山中怒拍桌子;艾斯,你个衰仔!!!给我起来把怪兽cao翻!!!圣诞老人指兽示意…当一切的一切变得暴躁起来,重生后的北川也应如是。 (小众文学只是想写一个自己幻想的奥特世界,随缘更新,第一次写文)二十年前,龙国江城,第一世家裘家被一夜灭门,本以为一切都遮掩的没有一丝破绽,但是却没算到裘家最小的孩子活了下来,并且成为一代战神,他从来没忘却过家族的仇恨,只不过作为军人的操守,不会无故杀人,除了他的仇敌之外,但一切并不如他所想,他不杀人,不代表不会有人会因为他的追查而被灭口,就比如刚刚别灭的江城汪家,只是撕开了当年裘家灭门惨案的一角而已少年陈枫身怀绝世神器,修盖世魔功。战人界、屠魔界、挑仙界、冲神界。打遍诸世界,杀出冲天血路,成就无上至尊。(声明:新书发布,各位新老书友多多支持。群号:158697732)一朝穿越成为不学无术、荒淫无度的纨绔太子。 为了重塑自己的形象,得经得住诱惑、耐得住寂寞。 面对手下宦官的谄媚,朝中大臣的冷眼,一众弟弟的虎视眈眈,朱永笑了。 有母后临终前给的九十九道免死金牌,根本不慌好吧。 我就当着你的面捅了你,你能咋地?地球停转,末日来袭。 灾难接踵而来,人类为了生存终于是暴露出潜藏在内心的阴暗。 欺骗,背叛让人与人之间最后的一层遮羞布被饥饿、求生欲狠狠的撕下。 别人为了一块面包,可以出卖尊严。 而我,坐拥一块地,守护着自己爱的人和爱我的人! …… 有幸穿越了,还是生在地主家,此生不缺吃穿却也不想混吃等死,所以傅小官随意的做了些事情,没料到产生的影响如此巨大。 皇帝要让他官居一品,公主要招他为驸马,尚书府的千金非他不嫁,荒人要他的头,夷国要他的命,樊国要他的钱…… 可是,傅小官就想当个大地主啊!碎叶城位于大陆的一个不起眼的位置,但北邻高山峻岭,南望平原,恰是个美丽富饶的好地方。   傍晚的碎叶城依旧人来人往、纸醉金迷,霞光普照更衬出这盛世华章。   只见一对十二岁的少年少女并肩走着,少年一头棕发束于脑后,英俊秀颖,微微上扬的嘴角显出其内心的自信与孤傲。少女留着一头美丽的长发,秀雅脱俗,一双如水般的眼镜淡然空灵。   少年名叫韩意是韩家百年难遇的天才,少女名叫听雨,是韩意的青梅竹马,两人自小便生活在一起,但却不是亲戚。   这时听雨朝着一个摆地摊的走了过去,原来她看上了一个用高阶妖兽身上的蓝色结晶做成的戒指。   “韩意、韩意快来看。”   “怎么啦?”韩意走了过来。   “你看这戒指多漂亮啊。”听雨说道   “确实很漂亮,这可是从六阶妖兽寒冰狼身上的结晶做成的,你很喜欢吗?”韩意拿着戒指摆弄着说道。   “是啊,是啊,你买一个送给我吧。”听雨说道,眼神中流露出渴望的神色。   “喜 欢 也 不 送 给 你!”韩意朝着听雨打趣道。   黑夜笼罩都市,那些潜藏在阴暗之中的东西开始蠢蠢欲动。 吃着生肉的老太太,后背长着鱼鳞的健身小姐姐。 路边向人搭讪的野狐狸,还有那开在坟场里的小超市。 这些,我都经历过。 而一切,都要从我目睹一场车祸后开始说起……   不周树下埋真仙,星外来客接连天。 日子人朱长明如何走向仙途?自己练笔随笔安放之处
福州网站建设 重大信息安全考研,-1 网络信息安全分类 网络营销策划举例 常用微信营销方式 烟台软件优化网站 gb t 信息安全 巴中网站建设 云南网站设计 专业的网站建设公 事业不顺的心理调适咨询【www.richdady.cn】 与女友前世的前世案例【www.richdady.cn】 心特别累咨询【www.richdady.cn】 事业不顺的解决方法【www.richdady.cn】 大龄剩女的咨询技巧【www.richdady.cn】 脑部不清晰与生活习惯的关系【www.richdady.cn】√转ihbwel 解梦【www.richdady.cn】√转ihbwel 暗恋的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 内心恐惧胆怯的心理调适咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 纠纷的案例分享【微:qq383550880 】√转ihbwel 灵魂种子治疗咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的梦境解析【σσЗ8З55О88О√转ihbwel 精神不振的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的家庭教育威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的化解仪式咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的解决技巧【企鹅383550880】√转ihbwel 构建和谐亲子关系的方法咨询【企鹅383550880】√转ihbwel 无形干扰的原因分析【www.richdady.cn】√转ihbwel 家庭关系的心理调适方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 餐饮网络营销策划方案 福州网站建设 网站倒计时 网站建设: 专业的网站建设公 常用微信营销方式 网络安全法第二十一条 会员式营销案例 营销产品定位 在线网站建设 中国网络安全大会 安徽 专题类网站 广西网络营销外包 厚街网站建设公司 gb t 信息安全 昌都网站建设 信息安全 课件 QQ转发营销活动 医院怎样进行网络营销 2017年网络信息安全法 网络广告营销方法 北京高端网站制作 诺一品牌营销 建立网站 营销产品定位 在线网站建设 中国网络安全大会 安徽 专题类网站 广西网络营销外包 厚街网站建设公司 优品上海品牌营销管理 网络安全.pdf 北京高级网站建设 上海信息安全公司 上海网络营销 南通网站制作 重庆专业的网站建设公司 网站的营销与推广方案怎么写 青岛高端网站设计 风险评估管理软件 信息安全 比较 网络安全 被动攻击 网络安全测试与评估报告 自己电脑做网站 带宽 广西网络营销外包 营销小组 营销推广平台 信息安全 咨询 信息安全奖学金 天蝎网站建设公司 四视图网站 中国网络安全大会 安徽 内蒙古网站建站 信息安全 课件 流氓营销 汕头建设网站 网站建设 天津 网络安全与管理 上海专业做网站公司地址 上网站乱码 成都高端网站建设公司 QQ转发营销活动 QQ转发营销活动 信息安全奖学金 小黄人微营销系统 网站建设 天津 烟台软件优化网站 网络安全是什么工作 网站倒计时 医院怎样进行网络营销 网络营销专业的大学 衡水网站建设 海尔的成功营销策略 网络安全.pdf 网络安全 被动攻击 工作室网站 产品设计优秀网站 做网站前 潼南网站建设 济宁网络营销 信息安全2 汽车网络营销标题 巴中网站建设 南通网站制作 专业的网站建设公 信息安全研究生学校,-1 网站制作素材 广州手机网站定制信息 青岛高端网站设计 php大型网站设计 信息安全等级评测资质 网站导航营销的优势 中国网络营销环境研究现状 金融营销的网站设计案例 金融营销的网站设计案例 网络营销专业的大学 印度 网络安全企业 收购 餐饮网络营销策划方案 博客营销的主要特点有( ). 网站建设访问人群 专题类网站 佛山网站建设的首选信息安全审计手册 关于网络安全的证书 重庆专业的网站建设公司 网络营销直通车 东台网站设计 网站建设访问人群 营销解决方案 gb t 信息安全 全网营销网络推广 it行业和网络营销 上海有什么网络安全公司 网络营销学下载 营销活动培训 自己电脑做网站 带宽 网站倒计时 2017年网络信息安全法 流氓营销 信息安全深圳 产品设计优秀网站 北京高级网站建设 江苏省公安网络安全备案 门户网站设计 网络信息安全演讲视频,-1 网站设计公司-信科网络 顺德网站建设公司信息 网站品牌推广 国家网络安全宣传周活动主题 温州做网站的公司 博客营销的主要特点有( ). 金融行业信息安全市场 开发网站需要什么技术 营销小组 网络安全 应急 内蒙古网站建站 网站建设三站合一