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

<a class="close" href="https://gjit.xozu.cn/">&times;</a>
旅社网站建设南平网站建设成交型网站网站设计教程最新企业网站系统上海网络安全公司搜索引擎营销的发展广州网站开发单位信息安全的保护江苏网站建设机构主角竟是“创世神”盘古传世,一天主角在参如完毕业典业,在回家途中遇到车祸,等男主第二天睡来后竟发现自已身处洪荒世界!他该如何在哪个世界生存,并找回神格?生命就是一场经历。没了高中的紧张,大学里放松了很多。 思想上的经历,可以通过多读书来实现。但生活上的经历,只能是自己切身体会。 大学四年,在酒吧兼过职,处了舞蹈系最漂亮的女朋友,球场上跟体育生比过武,跟英语专业最牛逼的男生交了朋友,社团招新上出名全校,也受过其他学生的欺凌,看到过同学生命的逝去,也一直结识更多新的朋友。 小说来源于现实,现实又何尝不是一部小说。生活故事天天都在发生,那个没有一点故事。不同人经历所铸造的不一定是一模一样的方式。通过不同阶段的体会,有着不同的理解。回望过去发生的一切都是那么的自然,看看未来都是一遍的迷雾。只有拨开迷雾才能看到后面的道路。你相信吗,每一个让你内心悸动过的她/他,都会在你心里埋下一粒种子,种子可能不会接着开花,也不会渐渐结果,但它确确实实就埋在那儿,它是存在着的,在等待着缘份重新来过的时候,破土而生,熠熠生辉。作品描述的是在很久以前蓝星一度繁荣,可好景不长在某一年一大群外星生物蜂拥而至,对蓝星造成了前所未有的伤害,就在人类危急存亡之际人们觉醒了体内的力量,开始与外星生物做斗争,历经四年才将外星生物赶出了蓝星,迎来了光明,可几千年后人们开始享受生活,渐渐的没人会使用那股力量,而外星生物又将在十年后再次降临蓝星,可一位少年在十三岁那年遇到位老者,老者跟他讲述了未来十年后蓝星的劫难并帮少年打通经脉跟他讲述了这个世界在很久以前的事,并告诉他要召集五位战士与少年一同作战抗击外星生物的入侵,并给了他六个神秘的东西,从此少年变踏入了寻找伙伴拯救蓝星的旅程。 (轻松向爽文,微异能,主角是防御和耐力点满的非圣母人设) 末世降临,潘风无意中得到了潘凤的传承! 潘风:“吾有上将潘凤,可斩变异丧尸!” 潘风:“潘凤?潘凤?” 潘凤:“末将有些內急,要不...你先上?” 潘风:“......” 潘风:“坑爹啊!” 潘风:“我真的不想当潘跑跑,我想当潘无敌啊!”一名普通的高中生林晶蓝,在悬崖下大难不死,开始了他的美好幸福生活。 从此,莹城出现了一个叫做蓝哥的传说。 与此同时,各种各样的美女和强敌也出现在林晶蓝的身边。 且看林晶蓝如何泡校花,破强敌,成就传说。 莹城第一校草,非林晶蓝莫属。 “那就让我来宣布对你的审判结果吧。”军事法庭上,一名身着盛装的法官对着面前的蓝发少年说着,纵使是他们在审判这个男孩,纵使法庭外驻扎着一只军队随时防备着,但仍旧掩盖不住他们眼里的恐惧,只有旁边的一位白发红装少年和金色长发绿色荷叶裙的少女能带给他们安全感。 “南宫星辰,故意发动战争,致使伤亡上万人,鉴于其知错能改,并在后来的战争中发挥了巨大作用,宣判:南宫星辰流放荒地,不得王命,永世不得入法斯。”‘’南宫星辰,领罪矣‘’【穿越】【爽文】【文道】 儒道文神作:【89章起飞,93章爆炸】 “天不生你林亦,万古文道如长夜!” 这是一个读书就能获得才气的文道世界。 林亦,读地球诗经、楚辞、汉赋、唐诗、宋词,养浩然正气。 才气杀人,口诛笔伐。 言出法随,文道成圣。【幕后流】【金手指绑定】【反派】 一朝重生异世,随身携带系统,只要绑定天骄,就能不断变强,本该因此走上人生巅峰, 但是奈何系统过于坑爹, 不仅要使天骄不断变强,还要使他们走上对立面,防止气运之海崩塌, 这还好说,最让他不解的是,为什么,一个天骄死亡,他也要跟着消亡? 且看,主角如何将天骄玩弄于鼓掌之间,笑看天下风云。
江苏网站建设机构 网络安全 成都 科研 信息安全 制度,-1 网站顶部 隐藏的网络安全吗哪家网站建设好 石家庄网站建设 系统网络安全 网络安全 实验 网站转微信小程序开发 张新 网络安全与管理 与女友前世的前世修行【www.richdady.cn】 冤亲债主的干扰原因咨询【www.richdady.cn】 如何判断自己是否被冤亲债主干扰?【www.richdady.cn】 邪灵的驱除仪式咨询【www.richdady.cn】 强迫症的康复训练咨询【www.richdady.cn】 前世老婆的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的情感维护咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 通灵老师预约【σσЗ8З55О88О√转ihbwel 干扰咨询【企鹅383550880】√转ihbwel 亲子关系的互动模式咨询【σσЗ8З55О88О√转ihbwel 与女友前世的因果关系咨询【www.richdady.cn】√转ihbwel 如何识别冤亲债主【σσЗ8З55О88О√转ihbwel 存不住钱的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的自我提升咨询【微:qq383550880 】√转ihbwel 如何超度婴灵?咨询【微:qq383550880 】√转ihbwel 亲子关系的心理建设方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的案例分享咨询【企鹅383550880】√转ihbwel 头脑混沌的原因分析【σσЗ8З55О88О√转ihbwel 为什么过世的前世案例【σσЗ8З55О88О√转ihbwel 如何了解自己的前世今生?【www.richdady.cn】√转ihbwel 网络安全技术认证 网络安全威胁有哪些公司网站定制 二级域名网站权重 信息安全工具书比较什么是全网营销 网络信息安全教育培训 山东信息安全等级保护 网络安全协议简介 郑州网络营销外包公司排名 四大信息安全顶级会议 谷歌英文网站 网站交互性 微信营销美文 成都网络营销推广 企业品牌类网站 梧州网站设计 西安网站建设公 山东网络安全 医疗信息安全解决方案 i春秋 网络安全大片 最好的网络营销软件 网络安全 专题 中国网络安全上市公司 网络安全优秀人才奖 长沙微信网站制作 网络营销团队配置 重庆旅游网站建设 网络安全事件应急预 网站交互性 单位信息安全的保护 饰品网站建设 郑州网络营销外包公司排名 口碑营销口碑传播 重庆建设网站 江苏网站建设机构 提供商城网站 营销技巧吧 网络安全的评价标准 教育类营销案例 网站手机开 网络管理与网络安全 国家网络安全部队 网站色彩 网站备案流程 网络安全威胁有哪些公司网站定制 互联网全网营销公司 网站制作哪家专业 网络营销教程网站cisp注册信息安全专业人员 网站托管套餐 营销办法 为什么要学网络营销 郭启全 网络安全法 信息安全工具书比较什么是全网营销 四大信息安全顶级会议 信息安全渗透培训,-1 网络安全及防护 网络安全的评价标准 2017网络安全文件 福州专业做网站的公司 上海网络安全公司 山东信息安全等级保护 信息安全渗透培训,-1 网站内容添加 张新 网络安全与管理 郑州网络营销外包公司排名 网络安全 标准 网络安全应急响应服务 珠海集团网站建设外包 网络安全 专题 隐藏的网络安全吗哪家网站建设好 深圳公司做网站 二级域名网站权重 保护信息安全软件知名网站规划 网站托管方案 深圳 网络安全 产业 东营网站优化 营销型网站建设案例分析 中国信息安全相关考试 东营网站优化 网络安全 专题 网店营销所带来的意义 网络安全项目经理 网络营销教程网站cisp注册信息安全专业人员 系统网络安全 赵刚 信息安全 国家网络安全监管中心 网站阴影 江苏网站建设机构 网络安全态势报告 网站关键词 网络安全采访感受 烟台软件优化网站建设 高端网站建站公司 b2b网络营销的难点 济南外贸网站建设 学习网络营销 上海搜索引擎营销 科研 信息安全 制度,-1 山东省信息安全竞赛 企业品牌类网站 网络安全威胁什么意思 信息安全技术 网站 网络安全建议书 深圳 网络安全 产业 国家网络安全部队 简单建网站 信息安全技术 网站 网络营销宏观环境因素 温州网站制作价格 小米公司网络营销定位 网络营销宏观环境因素 网络信息安全教育培训 信息安全检测公司 网络安全方案建议 上海网站设计公司 保护信息安全软件知名网站规划 提供商城网站 深圳品牌建网站 江门网站设计 如何让百度收录网站 网络安全的发展趋势 青岛模板化网站 网络安全协议简介 顾客对网络营销的建议 网站顶部 网店营销所带来的意义 无印良品营销创意 网络营销自学课程 营销型网站的作用 广州网站建 信息安全逆向 网络安全信息化职责 信息安全在线实验室 上海网络安全公司 重庆旅游网站建设 微信网站方案