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

<a class="close" href="https://cngb6bp.ekhx.cn/">&times;</a>
信息安全资质有效期网络安全月报无锡建设网站制作网络营销启发全球重大信息安全事件动易pe2006网站网页可以访问但后台进不去也没有提示全球重大信息安全事件深化网络安全思考讨论微信营销 重庆培训班o2o网站系统呼市网站设计公司 为了逃婚,他随便找了个美女合租,不料她竟是自己未见过面的未婚妻。 为了赚钱,他信手炼制了几枚丹药,不料竟做成了天下第一的医药公司。 为了修行,他顺手收了几个女徒弟,不料她们竟都有着惊世骇俗的身份。 为了救人,他甘愿自废一生之修为,不料所救之人竟是艳绝天下的女帝。 为了复仇,他勤修苦练至大功告成,不料最大的魔头之主竟是……我叫吕中天,是刑侦支队的队长 一次在追捕杀人犯的时候开枪失手杀了犯人的妻子 同时我也被撤了职位变成了一个普通人 在那以后我陷入了无尽的噩梦之中 我原本以后我会平平凡凡地度过这一生 可是没想到这一天的出现在一次改变了我的人生。少年偶遇流浪上神,倾囊相助,获上神青睐,步入修仙之列。拜良师,交益友,结红颜,多方相助威名显。战强敌,斩悍匪,于战乱之中晋升,于战斗之中成长。率领百万雄师征战四方,建国立业,一统修仙界,位列修仙界之主。刻苦修炼,博采众长,终跻身上神之列。护修仙界和平,战神界绝世高手,平九界之乱,成就不世之功。历劫难,成功名,九劫真神威震九界。 2034年,位于华夏北方的俄国突然联合死敌M国攻打华夏,后发展为第三次世界大战。一切都来源于一个巨大的利益旋涡,一场牵扯了整个蓝星文明的阴谋逐渐浮出水面......大炎 一个传承了万年之久的帝国,正在走向末路,其庞大的身躯在也支撑不起这个逐渐腐朽的国家,其余各大帝国看到这个庞大的身躯以不在散发威势,准备靠近这个身躯分而食之的时候,却在此时各国传出龙凤两阁出世,两阁派出龙行使和凤行使行走天下,随即天下在一次的风云再起,一场风暴在所难免。 剑士大陆发生巨大变动,斩妖除魔的无名者团队结束了日复一日的安逸生活,再度踏上了拯救各种族民众的旅途,他们会遇到什么?什么?我一努力就成了万界至尊,我的剑是九天玄玉剑?我的空间吊坠是九天明月坠?我的鞋子是九天星月鞋?我的衣服…… 就连我内裤都是九天精金甲? 万界主宰齐呼,前辈手下留情,我等臣服!!!! 远古巨兽与人类并存的荒古世界,亿万种族,仙门林立,满天诸法,争斗不息。 浩荡似深渊永无止境,杀戮如星辰亘古恒久。 天才少年,遭天妒忌,飞来横祸,根基损毁,失去一向引以为傲的修为和天赋。 却渐渐发现,原来自己的遭受的一切,都是有人刻意为之,家族毁灭的背后隐藏着一只看不见的幕后黑手。事情的真相没有想象中简单。他发现了某些模棱两可的证据,都指向了自己的猜测。 随着事情发展,一件件事情浮出水面,那些模棱两可的证据化为确凿的证据,他渐渐意识到事情的可怕。 他能否找到事情的真相,找到隐藏在幕后的黑手? 且看一位绝世少年,如何于绝境之中浴火重生,破桎梏,登仙路,探天机,大道争雄,武动乾坤,不死不灭!一念生而扫八荒,一剑出而斩乾坤!穿越后的钟文被一个小萝莉捡回了只有女弟子的飘花宫; 这个世界最顶尖的功法、灵技、知识统统来自上古; 于是,研究看不懂的上古文字,成了时代的潮流、身份地位的象征; 偶然的一次机会,翻开一本由上古神文写成的书; 他惊讶地发现...... 不爱写个人简介魔妖恶怪、能人异士、超凡科技……随着黑日黑月的出现,这些隐藏在暗中的事物纷纷出现。这里,充满了危机与风险;这里,充满了宝藏和奇遇…… 但我祝天佑注定不是这个画风! 奇珍异宝?我的!灵丹妙药?我的!美人江山?也是我的! 横行天下,靠的是风骚的操作,靠的,也是天神的血脉!
德阳网站建设 摩拜单车营销策划书 网络信息安全发展史 2016网络安全座谈 app和微网站的区别 网站建设推广 中国信息安全网络协会 信息安全类资质 信息安全管理的原则 动易pe2006网站网页可以访问但后台进不去也没有提示 事业不顺的解决方法【www.richdady.cn】 与女友前世的前世修行咨询【www.richdady.cn】 外灵的驱除方法咨询【www.richdady.cn】 婴灵的超度与慈悲心咨询【www.richdady.cn】 如何识别冤亲债主干扰【www.richdady.cn】 官司的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的前世记忆【企鹅383550880】√转ihbwel 事业不顺的真实案例有哪些?咨询【σσЗ8З55О88О√转ihbwel 邪灵的驱除仪式【微:qq383550880 】√转ihbwel 感情纠纷的解决技巧咨询【www.richdady.cn】√转ihbwel 财运不佳的咨询技巧咨询【企鹅383550880】√转ihbwel 如何维护良好的家庭关系?咨询【微:qq383550880 】√转ihbwel 精神不振的解决方法【企鹅383550880】√转ihbwel 为什么过世的前世解析【σσЗ8З55О88О√转ihbwel 纠纷的调解技巧【微:qq383550880 】√转ihbwel 纠纷的法律咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的教育建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的具体步骤咨询【www.richdady.cn】√转ihbwel 意外事故对家庭的影响咨询【www.richdady.cn】√转ihbwel 自闭症的症状与诊断【www.richdady.cn】√转ihbwel 北京海淀区网站开发 怎样建网站 南宁中小企业网站制作 2017网络安全大赛 app和微网站的区别 信息安全资质有效期网络安全月报 微信的网络营销推广案例 为了保证用户电脑的信息安全在重装系统前应该 江门网站建设 深圳全网营销总裁班 上海外贸网站建设 计算机网络安全心得体会 信息安全对抗赛 网络安全通知 手机企业网站设计 网络营销的实践应用 电信网络与信息安全 山大信息安全好不好 广州网络营销外包 php怎么建立网站 国内网络安全大事件 南京信息安全 网络安全顶级会议 网络安全监管系统 微信营销 重庆培训班 网络安全宣传员 上海科技 信息安全有限公司,-1 电信网络与信息安全 广州达内网络营销 整合营销传播目的 中山精品网站建设信息 中国信息安全网络协会 手机网站界面设计 动易pe2006网站网页可以访问但后台进不去也没有提示 山大信息安全好不好 郴州网站制作 手机网络安全内容 信息安全测评中心 nike网络营销案例 搜索引擎营销顾问 珠海网站制作网络公司 深圳网站开发公 辽宁网站制作 信息安全资质有效期网络安全月报 昆明手机网站建设 易营销站 雄安网络营销外包 绿色风格的网站 宝山北京网站建设 网络安全最关键最薄弱 2016网络安全大事记 政府网站制作建设 国家网络安全管理中心 广州达内网络营销 营销信息教程 对网络营销的意义认识 深化网络安全思考讨论 网络安全监管系统 四川网络安全 监控网络安全化 网站建设都 包括哪些 手机版网站建设开发 中央小组网络安全管理 国内网络安全大事件 php怎么建立网站 安全可靠应用 信息安全 网站建 对网络营销的意义认识 深圳全网营销总裁班 中国信息安全网络协会 信息安全等级保护建设资质证书 标准 信息安全 iso 27001 itil cobit 网站编程 营销信息教程 网络营销运作 标准 信息安全 iso 27001 itil cobit 2017网络安全大赛 手机版网站建设开发 中央小组网络安全管理 辽宁网站制作 上海外贸网站建设 黄冈网站建设 宁夏网站设计在哪里 网络安全法影响的行业 php怎么建立网站 对网络营销的意义认识 网络安全敏感的国家有哪些 北京海淀区网站开发 企业内部网络安全 案例 网络信息安全实践报告 网络安全顶级会议 鹤山做网站 网络信息安全发展史 网络安全实验室wp 网站建设制作 南京公司 摩拜单车营销策划书 动易pe2006网站网页可以访问但后台进不去也没有提示 呼市网站设计公司 信息安全新闻 绿色风格的网站 网站建 宝山北京网站建设 网络安全监管系统 手机网络安全内容 信息安全等级保护 部门 信息安全等级保护 部门 鹤山做网站 郑州营销网站 绿色风格的网站 山大信息安全好不好 上海外贸网站建设 网络安全最关键最薄弱 手机企业网站设计 网站编程 信息安全意识动员讲话 手机网站界面设计 广州网站设计 php怎么建立网站 视频网站建设方案 动易pe2006网站网页可以访问但后台进不去也没有提示 易营销站 中山精品网站建设信息 微网站开发平台案例 营销信息教程 国内网络安全大事件 网络安全法 网信办 邢台建网站 网络营销策略技巧 网站组网图 石家庄网站制作哪家好 四川网络安全 为了保证用户电脑的信息安全在重装系统前应该 渭南建网站 营销信息教程 2017网络安全大赛