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

<a class="close" href="https://skzd.rovu.cn/">&times;</a>
网站营销培训网站设计 广西山西做网站聚美营销策略 英文版成都市网站建设海外营销软件滴滴营销活动什么是病毒性营销方法网络营销有什么性质重庆整合网络营销代理你知道世界末日吗?这片土地上曾经出现过一次巨大的浩劫,我只记得天空之上,无数火球从天空坠落,很多生灵消亡在那场浩劫之中。那后来呢?后来,当时世界最强大的人拯救了世界,他用尽能量震碎了无数火球,只见火球陨落地面砸出无数巨坑,只剩下一个最大的火球,按火球撞击地面的威力看,那个最大的火球可以击穿整个大陆,那个人释放全部能量冲击向那个火球。最后呢?他拯救了世界,但他也就此消失了。他死了吗?谁知道呢。那他是谁?他,他就是当年起兵叱咤整个世界击败混沌的不败王者,啊,你应该也知道了,他就是辰。 赵全,应用化学及治金双料硕士,毕业后学无所用,无房无车无女友,穿越后遂为赵瑔,江西铅山赵家庄里正之子,时逢南宋末年,宋廷上下偏安一隅苟且偷安,赵瑔以所学创业,引领宋人时尚风标,一步跨入富豪行列,计划趁大宋终结前乘船下南洋占个地方做“南阳村长”赵家庄之福引来盗匪垂涎,赵瑔不得不自建民团以自保,前世宅男从无逐鹿天下的雄霸之心,以“草根”为荣,但世事难料,为获取心仪女孩青睐,赵瑔剽窃伟人诗词以“才子”之名不胫而走,高薪聘请工匠得“奢遮小官人”褒誉。锲而不舍想泡美艳无双的白莲教天母,率民团连破白莲教数城。白富美愿以身相许,赵瑔大手笔招揽安置流民,大举开拓宝岛台湾。葛皂山灵宝天尊到场“以客座首席长老”礼待,朝廷封赐忠武节度使”,当赵瑔一步步被罩上光芒四射的主角光环时该何去何从?率领武装到牙齿的龙神军暴们下南洋占地当村长?指挥天下无二的强大帆舰称霸四海殖民东西半球?还是挥师北上笑看火枪对决弓马?人死一去何时归? 股神林辰重生,为了看清人心,他放出破产假消息,结果让他心寒,不过却收获真正的友情,亲情和爱情……一朝穿越,成为朱元璋十七子。 赐封宁王,朱权有点皮。 朱元璋:朱家老十七,纨绔属第一! 直到洪武六十大寿…… 这一天,有人单骑斩叛将,纳哈出归降。 这一天,有人发粮赈灾民,百姓终活命。 这一天,天降祥瑞传国玺,大明得国正。 这一天,朱元璋册封朱权,无敌宁王! 这个暑假,14岁的初中生李文染和他的同学及其表兄乘坐快艇出海旅行。但船只却在途中撞在了礁石上,即将沉没。无奈,三人被迫弃船逃生。历尽艰难终于登上一座海岛后他们才发现,原来这里,早已被一群凶猛的“猎手”所统治。一座危城,一条老街,一个念想,一个人,一群人,守一城。 陈枫重生异世,在最弱小的时候得到了一群最善良的人的帮助,为了一个念想守住一个城。守西北,入中京,踏塞北,这一世,希望可以活成自己想要的模样。命令与征服,陪伴了指挥官们无数个岁月。其中的红色警戒系列对我的影响是所有RTS系列中最深的。那种充满幻想的战争使我被震撼。我从5岁开始就在读毫无故事的纯军事书籍,军事和RTS已经成为我灵魂上的烙印。后来,我开始阅读军事类书籍,这又不得不谈《国家意志》,那种硬核感、史诗感,无书能敌。不过即使热爱军事如我也感到过于硬核的战争不够浪漫,不够有趣,于是我想到了命征。如果没什么除了印巴战争那样足够宏大的战争可以大写特写了为什么不把眼光放向虚拟战争呢?所以我要创作一本足够宏大,足够震撼,同时兼具浪漫热血紧张刺激的小说。让我们走进第三次世界大战,走进英雄们的人生,走进另一个存在已久却尚未被文学充分挖掘潜力的世界。昏暗狭小的空间内,“参赛者们”被电子设备的提示音惊醒。 二十位来自天南海北被绑来的男女们,在“主办方”精心准备的舞台上上演一出“生死游戏”演出。 每个人必须完成各自的“任务”才能从这座孤岛逃生。 如果在计时器倒数结束之前没有完成的话…… 名为恐惧的毒药弥漫在空气中,慢慢腐蚀着每个人的心灵。 理性与正义早已被舍弃,为了存活,反叛才是唯一方式。 爱恨情仇,生死离别。 是拿起武器活到最后,或是为了他人甘愿牺牲自己? “检测到使用者‘A11’已复苏,本机正常重启” “尊敬的参赛者11号,欢迎光临‘诺威迪亚’,很高兴您能参加本次游戏。” 绝世天帝重生为家族赘婿,受尽他人白眼,却觉醒宝物镇天神符。 修武道,踏万界,镇天地万物,成众生之主。 “这世间天才千千万,唯我林枫一人能镇压!”
网络营销公司的排行榜 租车网站建设 台州网站建设 信息安全违规等级 自已建网站 镇江网站公司 网络信息安全部门 网络营销有什么性质 美团营销特色 成功网络整合营销案例 孩子压力大的心理调适【www.richdady.cn】 财运不佳的真实案例有哪些?咨询【www.richdady.cn】 如何预防过早离世咨询【www.richdady.cn】 婴灵对家庭关系有哪些影响?【www.richdady.cn】 特殊学校的前世影响【www.richdady.cn】 忧郁症的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的改命方法咨询【σσЗ8З55О88О√转ihbwel 潜能开发与自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与老公前世的前世缘分咨询【微:qq383550880 】√转ihbwel 儿子不读书的教育建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 性压抑的自我提升【www.richdady.cn】√转ihbwel 内心恐惧胆怯的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子厌学的辅导方法咨询【σσЗ8З55О88О√转ihbwel 前世老公的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的原因分析【企鹅383550880】√转ihbwel 处理感情纠纷的方法咨询【企鹅383550880】√转ihbwel 前世今生的修行方法咨询【σσЗ8З55О88О√转ihbwel 缺心眼的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的应对策略咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 武大 信息安全 企业网站必须实名认证 华为网络安全发展前景 荔湾区网站设计 百万网络营销 个人网站企业网站 上海手机网站建设电话 营销专业网站 淘宝大学营销免费课程 杭州网站制 昆明网络营销实战培训 网络营销公司的排行榜 信息安全部门 太原推广型网站开发 高端网站建设定制 昆明做网站哪家好 网络营销能力秀互粉 广电总局 网络安全网络营销工具的概念 公安厅 网络安全培训 内部列表email营销关键 信息安全的专业有哪些 朋友圈营销的好处 南昌网站建设 德阳网站建设公司 政府网站 欣赏 武大 信息安全 网络安全硕士 信息安全业务种类 租车网站建设 2015年北京信息安全培训课程 网络安全作业平台 哪里的佛山网站建设 昆明网络营销实战培训 网站设计公司北京 网络信息安全部门 哪里的佛山网站建设 获信息安全服务资质二级 信息安全网络安全工作的组织 成功网络整合营销案例 广电总局 网络安全网络营销工具的概念 网站设计 广西 网站设计 广西 东莞网站定制 别人通过搜索关键词打开我的网站之后搜索的关键词都是我的 烟台哪个公司做网站好 网络安全 道哥 脚本对于网络安全 北京网络安全公司排名 中国网络安全等级保护 南昌哪里有网站建设 信息安全违规等级 获信息安全服务资质二级 棕色网站 广电总局 网络安全网络营销工具的概念 局域网中网络安全设计的原则 成功的食品营销案例 厦门网络推广建网站 信息安全业务种类 华为网络安全发展前景 网络营销有什么性质 武大 信息安全 北京网络安全公司排名 政府网站 欣赏 网络营销促销案例分析 请举几个web2.0风格的网站例子(中/英文)分别说明其网站构架 文案营销点 重庆 网站 建设 国内信息安全网站,-1 设计好的网站 成功网络整合营销案例 潜江网站建设 手机打开一个网站说你的浏览器不支持javascrip 语言营销 颠覆式营销 信息安全渗透测试规范 淘宝大学营销免费课程 软营销举例 2012年网络安全事件网络营销的课程 中国网络安全等级保护 网络安全 道哥 网站定制 天津 邮件群发 邮件营销 海宁网站设计 信息安全管理的基本任务 请举几个web2.0风格的网站例子(中/英文)分别说明其网站构架 网络营销的定义概括zac 获信息安全服务资质二级 网络安全扫描与实现 设计好的网站 设计好的网站 信息安全目录,-1 营销号推广报价 语言营销 荔湾区网站设计 烟台哪个公司做网站好 网络信息安全企业,-1 软营销举例 网络营销岗位是什么 昭通网站建设 聚美营销策略 英文版 上海高端网站设计 哪里的佛山网站建设 网站营销培训 网站定制 天津 2015年11月出台网络安全法企业信息安全管理方案 自已建网站 视差网站 重庆王网站制作 佛山网站建设怎么做 网络信息安全企业,-1 网站定制 天津 2012年网络安全事件网络营销的课程 网络营销课程收获 上海手机网站建设电话 网络营销解决方案 简述网络安全的目标 2010年网络营销事件 成功网络整合营销案例 潜江网站建设 德阳网站建设公司 语言营销 语言营销 百万网络营销 淘宝大学营销免费课程 昆明营销 2012年网络安全事件网络营销的课程 国家网络安全与信息化 海宁网站设计 上海高端网站设计 重庆网站制作公司 网上营销项目 2010年网络营销事件 2016年429网络安全 国家用网络安全 网络安全系统公司