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

<a class="close" href="https://bi6.nengqian.cn/">&times;</a>
微信营销软件代理网战网络安全 蜜罐乐清网站制作推广淮安网站建设自微网站模仿网站建设常用的信息安全技术张店制作网站网络营销调研的优缺点合肥品牌营销代理中国信息安全协会会长36岁的江左,把生活过得一团糟,正当他在懊悔时,突然回到了20年前,他重生了!由此他开启了他的开挂人生!古神大陆自诞生以来便流传着一个传说,命运之门会在一个时代结束时降临,得见命运之门者,可以登临神境,进入命运之门者,可获永生。 …… 杨凡天生道骨,却被家主算计和爱人偷袭,落了个修为全失,道骨被夺的下场,正当奄奄一息时,遇到了曾经见过命运之门的鬼圣阴无虚,并夺了对方的一身机缘…… 境界划分:炼体、苦海、神宫、仙台、破虚、同体、大圣、大帝、半神、神……一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……林洛本是灵曜国虎将林烈之子,而林家被林烈兄弟赵柯设计陷害,被昏君一纸诏令株连九族。林落逃过一劫,但也被流放到有着‘禁断之地’之称的阎罗小世界中。哪曾想这里是上古神族战场,在这里林落受辱被弃入神魔井中,却获得神族功法《大炎罗》残本,掌握了阎罗小世界进入天璃大陆的关键通道,从此化名洛幽在两个世界里不断成长。 三年之后,林落携着阎罗小世界万千生灵归来,杀小人,灭昏君,诛妖邪,战七国,改天命,逆长生,一统两界......“蓝星保卫战一级将士贺华,恭送龙将军!” “伏羲舰队全体舰员…恭送龙将军!” 九九年蓝星保卫战一役在跨越时代的钟声和烟花中,伴随着第一批零零后的婴儿哭声蓝星赢来了新的纪元! …… 二十年后,一个男人从南极的最深处走出,他承载着九九年的绝大部分的过往给所有的蓝星人类带回一个巨大的秘密! “什么?” “九九年的外星保卫战他们战胜的只是先锋部队,一**炮灰…!” “时隔二十年,真正的入侵即将正式展开!” 人类危机存亡之际,原本“死去”二十年的伏羲舰队舰长龙五从南极最深处带着人类最后的希望走出! “我名龙五,龙的传人,武安天下!” “大厦将倾在即,愿挽天倾者随我一起…发起反攻!”他是世界杀手榜单《死神榜》排名第一的杀神,也是世界上最顶级的间谍,但却因为一次任务惨遭组织出卖。可是上天给他开了个大玩笑让他重生回了六年前。这一世,他要让那个组织付出代价,也要让今生没有遗憾!在海盐家雾城的两人,刘羽和柳青潇一直在调查小时候的灾难的实情,一次执行任务的途中,柳青潇失忆,智商也只是小孩的程度,却在找回记忆的途中发掘出了真相玉栾城城主之子受人爱戴,虽天赋拙劣,但心怀天下,本可以衣食无忧安稳度过一生,只因……一切都变了Faker:单杀叶一修?你在开玩笑吧?什么人能单杀一座防御塔?我单杀他的唯一机会就是在输掉比赛后跟他握手的时候。 Theshy:修哥,我们五五开好不好?我们安稳发育好不好?求求你别再单杀我了。 污渍:他才是世界第一VN! 山泥若:修神,永远滴神! 听着众人对自己的评价,叶一修偷偷看了眼自己的白银段位,额头狂冒冷汗。 不懂就问,如果一个世界冠军被人发现其实是个白银的菜逼,会不会被人给打死?在线等,挺急的!!一代逍遥剑仙,因行事风格而同时被天界,佛界两位主宰设下绝杀陷阱。千年之后,恰逢机遇来到阿拉德大陆,且看他如何重登巅峰!将陷害他的人一一偿还!
网店营销推广 信息安全管理平台soc 上海定制网站建设公司哪家好 网络营销编辑是什么 西安做网站公司 展示用网站 上海的外贸网站建设公司排名 上海的外贸网站建设公司优质的常州网站建设 app手机网站制作 中国网络信息安全大会 心慌胸闷头晕的咨询技巧【www.richdady.cn】 发育倒退的前世记忆咨询【www.richdady.cn】 公司破产的原因分析【www.richdady.cn】 工作升迁的障碍与突破咨询【www.richdady.cn】 暗恋的咨询技巧【www.richdady.cn】 冤亲债主的干扰案例咨询【企鹅383550880】√转ihbwel 与男友前世的识别方法【微:qq383550880 】√转ihbwel 阴间生活的前世解析【企鹅383550880】√转ihbwel 亲子关系的教育策略有哪些?咨询【微:qq383550880 】√转ihbwel 失业的原因分析咨询【www.richdady.cn】√转ihbwel 维护良好家庭关系的秘诀咨询【www.richdady.cn】√转ihbwel 缺心眼的自我提升咨询【微:qq383550880 】√转ihbwel 人际关系不好的表现及原因【σσЗ8З55О88О√转ihbwel 官司的前世因果【σσЗ8З55О88О√转ihbwel 感情纠纷的情感沟通方法有哪些?【σσЗ8З55О88О√转ihbwel 感情纠纷的情感调解技巧有哪些?【企鹅383550880】√转ihbwel 财运不佳的财富积累咨询【企鹅383550880】√转ihbwel 家庭关系的幸福指南【微:qq383550880 】√转ihbwel 事业不顺的职业规划如何制定?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵、邪灵、祖灵咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公安部 信息安全实验室 武汉设计网站公司 南京网站制作哪家专业 国家网络安全等级保护 淮安网站建设 公安部网络安全保卫局 西安做网站公司 衡水网站制作 网络信息安全实用教程 e mail营销名词解释 微营销杂志 自微网站 张店制作网站 营销 qq 国外网站空间 java保护信息安全 (1)计算机信息安全,-1 各大搜索引擎整合营销 曲阜信息网络安全协会 搜索引擎营销五个步骤是什么意思 厦门响应式网站制作 信息安全等级测评价格 欧盟网络安全法律法规 衡水网站制作 网站建站系统程序 e mail营销名词解释 微营销杂志 贵阳响应式网站开发 营销型网站典型 电力工控信息安全专题交流会 加强网络安全意识 网站备案 办理幕布拍照 乐清网站制作推广 2016网络安全案例分析 张店制作网站 网络安全 术语表 网络安全攻防研究室 怎么样 网络信息安全实用教程 模仿网站建设常用的信息安全技术 计算机网络安全指什么 信息安全模板 网站迁移 展示用网站 建行互联网站 网站代维护 制作网站备案幕布 关系营销与互联网 饥饿营销流程 打造公司的网站 深圳市 信息安全协会 微博营销图 重庆营销策划 优帮云 关于加强信息安全管理体系认证安全管理的通知,-1 2016网络安全法进展 品牌营销策 免费网站空间申请 网络安全 术语表 美丽说的营销方式 南京网站制作哪家专业 东莞市手机网站 网站结构 信息安全管理平台soc 制作网站需要注意的细节 国家网络安全等级保护 制作网站备案幕布 东莞专业网站制作设计 信息安全委员会 中国信息安全协会会长 信息安全防护技术有限公司 贵阳网站优化公司 互联网时代背景下的网络信息安全 深圳建网站 品牌营销和网络推广 网站结构 网络安全技术博客 标准信息安全保障系统 网络安全法主题 建网站的公司 外贸网站设计 搜索引擎营销五个步骤是什么意思 信息安全工具测试 品牌营销策 绵阳做手机网站建设 厦门百度网站建设 网站h标签 网络信息安全作文400 萍乡网站建设 2016网络安全案例分析 中国网络安全50强 加强网络安全意识 建设网站具备的知识 温州手机网站推广 广州天河 网站建设 网络营销的理论知识 移动营销特点 营销 qq 建网站的公司 阿里巴巴的网络安全 网站建站系统程序 海尔品牌的营销策略 广州天河 网站建设 免费建网站样板手机版 移动营销特点 网络营销职位分析 建网站的公司 网站备案 办理幕布拍照 e mail营销名词解释 网络安全 术语表 大学生信息安全考证 微营销杂志 信息安全专业相关工作的通知 计算机网络安全指什么 嘉兴网站制作 外贸网站设计 微营销杂志 建行互联网站 绵阳做手机网站营销型网站建设公司推荐 上海定制网站建设公司哪家好 建行互联网站 饥饿营销流程 网络营销的理论知识 深圳市 信息安全协会 2015江苏信息安全竞赛单位排名 品牌营销和网络推广 东莞专业网站制作设计 2016网络安全法进展 2017网络安全挑战赛 网站代维护 网络信息安全实用教程 美丽说的营销方式 ids 网络安全防护手段 怎么制作微网站 网络科技营销策略 信息安全管理平台soc 东莞市手机网站