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

<a class="close" href="https://wns.aiqingcao.cn/">&times;</a>
网络营销团队配置网络广告营销的特点网络安全扫描营销网站杭州 网站设计制作深圳信息安全公司重庆新闻营销服务网络安全会议济南seo网站推广网络与信息安全课程设计一个 被生活抛弃的男人,如何在其他的世界活出自己想要活出的样子。他会在A计划代替了马如龙,还会在飞鹰计划中收服了三个女主,还会在神话中成为最终的boss拿到所有他想要拿的东西。他还会在所有经历的世界活出自己想要活得方式。最终他会走到哪一步呢?让我们一起跟着主角—孙明去经历那些世界吧!千年之缘,重华三生,悲催的结局,泪人的情殇,三世之情,只为今生……失落于时光长河里的源石,借助源帝轮回吞噬了他。 重生于溯源大陆的源尘,本以为自己可以走上源帝的道路,斩万族,踏鲜血,一步登天。 可是他在无数次选择中,走上了一条与源帝完全不同的路。 梦与现实,魇与真相,脚踏之地不再有无辜之血。 正与邪,谁为谁歌唱终局之歌。 凋零了死亡之花,磨平了岁月棱角,且看源尘如何追溯那终极之地——仙迹! 一次冥王星的科学探险,全船人员失踪,而无人驾驶的飞船突然回到蓝星,而后整个蓝星遭到神秘组织控制蓝星所有的核弹轰炸,人类十不存一;而更可怕的是,蓝星的生物进化成极其仇恨人类的怪兽,残存的人类建立巨城抵御着怪兽,靠着未知的文明苟延残喘!【玄幻+反派+多女+非黑暗】 穿越玄幻世界,我居然成了背靠不朽世家的大反派? 睁开眼,开局就是三年之期,修罗回归? 不用担心,我有系统。 修罗歪嘴,我直接给他嘴堵上。 什么? 你还有女主? 不好意思,通通归我了。 你安心的去吧,作为大反派,这世间我会替你主宰好的!他敲一敲键盘,就会出现尸体。 明国天书网连载了一本小说,名为《我的死神》,此书被誉为古今以来第一神书,因为其每一章都是对现实案发现场的详细描述,而且更新于案发前。 锦衣卫找不到凶手,也找不到作者,更追踪不了章节发布的IP地址。只能等着章节发布之时,火速赶往案发现场,但每次都会晚一步。 网友称之为:写尸。 实际上,300年前,他是天下第一将,十二岁一步一品无极境,十三岁与北夜圣女一战开启天元印,入宗师天册,傲世天下。 将军变写尸人的背后,是一串覆盖天下的阴谋。 多年后,将军看着博物馆里最新出土的冰封睡美人,情不自禁地喊了一声: “夫人”。 每个不经意的细节,都是关键存在。 每个看起来不起眼不可能的人,都有令人意想不到的身份。 全程智商在线,节奏180码起步。朽谛原是大自然最纯粹,灵力最集中的地方;后因,不死神的原因,导致朽谛灵力失衡,脱离了大自然的怀抱;朽谛的脱离,导致了大自然和朽谛灵力的双重失衡,也因此创造出了世间种种身居不同灵力和魔性的人灵兽。“我是上古的神。” 上海,16年的夏天,陆贺遇见的那个在酒吧里喝醉酒的少女如是说。 陆贺没有理会她,准确点说,陆贺把少女当作是一个中二病患者。 18年,陆贺生意失败,回到高鹤市和父母同住,楼上每天晚上都很吵,像是在开派对,“忍忍吧!这几个星期都这样,我们都习惯了。”父母都是很懦弱的人。 陆贺忍不了,他不是不敢出头的乌龟,终于是在一天夜里,陆贺穿着睡衣就冲到楼上去敲门,开门的是一个少女。 “有什么事吗?”少女问。 “你能不能安静一点?你不睡觉,别人也要睡觉的!”陆贺没好气地说。 “我认识你,好像是16年,我和你见过。”少女若有所思地点点头,“进来坐,我有事情让你帮忙。” “你听不听得懂我的意思啊?”陆贺感觉面前的少女简直是在侮辱他。 “帮点忙而已。”少女说着走回房间,留下陆贺一个人在门口吹凉风。“应该没什么大事吧?她总不能绑了我”陆贺想了想,还是走了进去……挺讽刺的,这改变了他无聊的人生。 以此铭记那段时光。男屌丝林凡意外车祸,却不料穿越异界,还未来得及高兴自己重生再世为人。却从记忆里发现自己是一个落漠家族的长子,虽天赋异禀却在17岁遭人偷袭丹田破碎武魂无法凝聚。随着脑海中一道系统提示音响起,林凡便有了称霸异界,问鼎苍穹的意志。还在YY的林凡被系统强制接受任务,悲惨的升级之路,爽翻天的称霸之路,一路美女如云……兼任宇主的万物皇降临灵汉恢复盛世,转眼间到了转移回原本宇宙的时候,万物皇创造出一个猫形移动储物库,命其成为自己小儿子的爱宠,便将传国之宝·敬天法祖大玉圭等多种神器存放于储物库,等待小儿子继任宇主大位,持宝玺名正言顺的继续完成他的大业……
网络安全运维服务 展示网站模版源码 博客营销图片大小 龙岩网站建设 中心网络安全管理办法 做个营销型网站多少钱 博客营销图片大小 信息安全相关的证书 互联网信息网络安全 装饰网络营销的职责 冤亲债主干扰的化解方法有哪些?咨询【www.richdady.cn】 “缺心眼”对人际交往的影响咨询【www.richdady.cn】 化解【www.richdady.cn】 冤亲债主干扰的案例有哪些?【www.richdady.cn】 公司破产的前世因果【www.richdady.cn】 孩子压力大的心理调适咨询【企鹅383550880】√转ihbwel 外灵干扰的解决方法【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世的前世解析【微:qq383550880 】√转ihbwel 前世今生的故事有哪些案例?咨询【微:qq383550880 】√转ihbwel 前世老婆的前世案例【σσЗ8З55О88О√转ihbwel 失业期间的心理调适方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何识别冤亲债主干扰【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵的驱除方法【企鹅383550880】√转ihbwel 通灵老师预约咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度仪式如何进行?咨询【企鹅383550880】√转ihbwel 财运不佳的财富积累方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 网络安全专业? 西安网站制作开发 深圳企业做网站公司有哪些 装饰网络营销的职责 深圳公司做网站 支付宝全网营销软件 蘑菇街网络营销方案 我与网络安全 网站设计文档 网络营销策划活动 网络广告营销的特点 辽宁企业网站建设公司 黄浦网站建设 深圳企业做网站公司有哪些 重庆 网络营销 推广 网站咋建立 网络安全扫描 中心网络安全管理办法 龙岗网站建 张掖网站建设 国家网络信息安全局 乌克兰事件 信息安全 做个营销型网站多少钱 整合营销一站式服务 搜索引擎营销的运作模式 网络营销产品策略分析 手机微信一体网站建设 网络营销产品策略分析 佛山网站建设的品牌 网络信息安全创新创业大赛 视频营销适合哪些行业四大信息安全顶级会议 潮州营销外包 南平网站建设 网站色彩 信息安全发展史 培训网络安全 嵊州网站 网络安全专业? 关于微信营销的案例 广州h5网站建设公司 专业网站设计 赵刚 信息安全 网络安全监测方式 企业营销平台 黄浦网站建设 发改委信息安全专项 2014 嵊州网站 展示网站模版源码 网站升级改版 网络安全素质建网站方案 凡客建网站 无锡网站 不属于网络营销的职能 南京需要做网站的公司 广州制片公司网站 新闻营销稿 实名营销 网络安全的目标是什么?通过哪些技术手段可以促进安全目标实现? 企业网络安全介绍 如何学营销 网络安全空间试点学院 专业网站设计 龙岩网站建设 中国信息安全测评费用,-1 国内全屏网站有哪些 瑞星网络安全预警 认识网络营销调查的基本方法有哪些 临沂在线上网站建设 成都网络营销推广 凡客建网站 1号店营销 网络管控和信息安全,-1 万网的云服务器 用多个域名建多个网站 每个域名用备案吗 营销培训课程体系 营销qq群 济南seo网站推广 网络安全信息化职责 中心网络安全管理办法 瑞星网络安全预警 赵伟网络安全 网站交互性 网站公司成功案例怎么写 网站设计理念 网站色彩 潮州营销外包 教育类营销案例 如何学营销 网站制作费用 xcon安全焦点信息安全技术峰会 凡客诚品网络营销方案 如何保障企业信息安全 杭州 信息安全培训 网络安全稳定图片 网络安全周宣传 厦门有没有做网站的 email营销的实施过程 西安网站制作开发 网站免费注册域名 小米成功营销案例分析 企业网站更新什么内容 工控 信息安全 网站设计理念 网络安全稳定图片 深圳企业做网站公司有哪些 培训网络安全 赵伟网络安全 网站要什么 网络安全例子 杭州 网站设计制作 公安部网络安全保卫局网站 建网站地址 深圳公司做网站 网络安全传奇’大学信息安全等级保护,-1 网站制作费用 蘑菇街网络营销方案 成都网络营销推广 乌克兰事件 信息安全 广州制片公司网站 搜狗推广营销顾问 蘑菇街网络营销方案 集团网站建设哪家好 单仁全网营销班教什么 信息安全专业获批 集团网站建设哪家好 江门网站设计 网络安全监测方式 张掖网站建设 顺德制作网站价格多少 教育类营销案例 龙岗网站建 实名营销 亚马逊网络营销现状 如何保障企业信息安全 微信营销美文 信息安全 日志管理软件