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

<a class="close" href="https://tokp.nengpi.cn/">&times;</a>
信息安全服务资质外贸网站模板重庆营销公司排名长沙建网站昆明网站开发公司浅谈成功修改网站关键词的方法 虽然我们在做网站之前都会再三部队网站制作3. 计算机网络安全是网站主域名网站建设成都林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!当亲情友情的破灭,将觉醒第二人格什么能力...刚刚在这座城市找到新工作的王二浪租下了一个房子,房东脾气臭的很,可让王二浪惊讶的是隔壁就住着一位美女大学老师,要知道美女对人的吸引力是有多大,更何况是美女老师!可惜美女老师有点高冷,从来不理会王二浪,直到有一天,王二浪做了一件英雄救美的事情,被美女老师误会......诸神末路,外域天魔入侵,世界毁灭,诸神大战,看叶无尘重生后如何再次君临天下。一个出生在名门的腹黑小子,一座关乎大陆人妖魔生死存亡的大阵,一群热血儿女的恩怨情仇。以一个阵法天才的成长为主线贯穿整部小说,讲述了男主是如何从一个一心想要逍遥快活过小日子的人在历经各种恩怨情仇之后成长为大陆脊梁,最终在人妖魔三族大战的关键时刻挽救整个大陆的故事。小说前期主要以人物成长为主,后期随着大陆大战的展开,开始进入大兵团作战、大型战争场面的描写。穿越到文娱行业刚刚起步的平行世界,方淮南激活了影帝系统,可以获得前世任意一位影帝级人物的表演经验! 他一个人就开创了华娱影坛十年的辉煌时刻! 他是《无间风云》里城府深沉的黑帮老大琛哥; 也是《枪燃》里忠义痞气交织的打手阿来; …… 正当所有人都以为方淮南只会演反派角色的时候, 他跑到横店去出演了《猫妖传》里五分钟的配角, 将盛唐气势下,那位如醉似癫的李白演出了神韵! 这时,所有人才知道方淮南的戏路宽阔到何等地步! …… 面对采访,融合了上百位影帝经验的方淮南很谦虚的表示: “我,不过是站在了巨人的肩膀上罢了。”到底是僵尸厉害呢?还是吸血鬼厉害呢?如果真的有僵尸和吸血鬼,两者又会有什么样的碰撞呢。大学开学前几天,鹿鸣和几个好兄弟一块儿聚了聚。 一向不喝酒的他被几个好兄弟给灌醉后,进走错了厕所,进了女厕所。 当他醉醺醺推开一扇厕所门时,居然看到一个漂亮的女人。 于是乎,他不但被误会成了流氓和变态,还被那女人给狠狠揍了一拳。 …… 两人的缘分就此开始了夏牧穿越后秒变孤儿,紧接着全村被屠,侥幸逃脱。 身处陌生王朝的农民孤儿,前途未卜,可谓地狱开局。 好在他身怀“托梦成就系统”,只要完成成就便能召唤华夏千年的人才为己所用。 霸王,关二爷,岳鹏举,武媚娘……还不快到碗里来! 当他成为一州霸主,准备横扫天下时,他震惊的发现,原来“天选之子”不止他一人……千年之前,魔君龙尘因白绍灸的叛变,再加上圣魔之乱,他腹背受敌,重伤逃至极地,暗下寻找他的爱人--绝雪,殊不知,她已身中曼陀罗花毒,忘记了他。龙尘踏着暗亚方舟,寻遍七山五岳,可依旧还是一点下落都没有,心灰意冷的龙尘毅然决定魂魄离体,因为只有这样,他才能实现长生,也只有这样,才能找到绝雪…… 其实,魔都兵变时,龙尘曾向他的挚友圣寒发过求救,圣寒接到信后,立刻带着一万精兵从星灵岛出发,援助龙尘,但他们还是晚了一步,当他们赶过去时,龙尘早已不知下落。此后,圣寒始终觉得是自己害了龙尘,所以,他毅然决定触碰灵龙魂第二天赋属性--时间,但,他失败了,神魂陨落,身体化作星光,不复存在,但即使是如此,圣寒还是凭借着强大的精神力,稳住了一丝神识…… 千年之后,龙尘与绝雪的孩子顺着极地的河流,辗转尘世十余载,身体因为受到极寒之冰的影响,依旧是孩童模样,后来,被圣承霄和苏希瞳二人收养,从此开启了属于他的人生……
重庆信息安全协 网站维护中网络信息安全的重要性 重庆营销网站建设公司排名 信息安全系统等级二级 网络营销技术基础语言 国网信息安全培训心得 大连做网站的公司有哪些 陌陌做营销 建国内外网站有什么区别 信息安全控制基础原则 前世今生的故事如何改变命运?【www.richdady.cn】 忧郁症的前世记忆【www.richdady.cn】 升迁障碍的风水布局咨询【www.richdady.cn】 解梦的自我提升咨询【www.richdady.cn】 亲子关系的教育策略咨询【www.richdady.cn】 感情纠纷的情感咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的前世修行咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的教育理念【σσЗ8З55О88О√转ihbwel 大龄剩女的幸福指南咨询【企鹅383550880】√转ihbwel 无形干扰的环境影响【σσЗ8З55О88О√转ihbwel 婴灵对家庭关系有哪些影响?【σσЗ8З55О88О√转ihbwel 大龄剩女【σσЗ8З55О88О√转ihbwel 发育倒退的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?咨询【微:qq383550880 】√转ihbwel 构建和谐亲子关系的方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度方法有哪些?咨询【企鹅383550880】√转ihbwel 感情问题咨询专家咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚姻选择【企鹅383550880】√转ihbwel 财运不佳的风水调整方法有哪些?咨询【www.richdady.cn】√转ihbwel 网站制作公司电话 信息安全等相关专业 网络营销调查归纳 网络营销( 互联网整合营销 营销型网站平台 网络信息安全泄露,-1 内蒙古网站设计 棱镜门 信息安全 ppt 网络营销..sem.gs研究平台 信息安全控制基础原则 网站页面优化 网络安全法多少条 众筹网站建设信息安全案例教程:技术与应用 网站营销师 网络安全证书管理工具 湖南衡阳网站建设 互联网 网站建设 广东地方网络安全法规 网站建设名牌 个人信息安全防护概述 信息安全监管要求 互联网 网站建设 出现信息安全漏洞原因 网站设计的优点和缺点 信息安全监管要求 浅谈成功修改网站关键词的方法 虽然我们在做网站之前都会再三 新微博营销学校网站的作用 网站主域名 网络安全攻防大赛 国家信息安全标准体系 263网站建设怎么样 360网络安全大赛 网站建设成都 传统营销的公司 江苏网站建设 病毒性营销推广方案 信息安全的比赛 微信营销成功 网络安全 教育部 投资 湛江做网站 电商网站制作 信息安全政策包含 营销型网站平台 福田做网站 上海市公安局公共信息网络安全监察处 自己建网站 网站 模板 2014年网络安全形势 计算机信息安全标准 建国内外网站有什么区别 北京响应式的网站信息安全审计平台 工控 网络安全 招聘 网络信息安全安全号 霸州建网站 网络营销以网络用户为中心 网络营销..sem.gs研究平台 重庆信息安全协 青岛城阳网站建设 医院网站建设方案 深圳微信营销公司 h网站模板 网站建设的后台登录 信息安全防范技术水平 信息安全4hou 大连做网站的公司有哪些 网络安全法多少条 网络营销( 网站建设仪器配置表 上海企业网站优化 众筹网站开发 网络安全年会 ids与防火墙联动的网络安全模型设计 潍坊+网站建设 最重要的网络营销工具 广播电视信息安全测评中心 企网络安全措施 什么是整合营销理念 企业招聘信息安全 想弄个网站 网络营销( 外国外卖营销 如何保证企业网络安全 高级信息安全顾问工作职责,-1 全网整合营销推广公司 2014年网络安全形势 翻墙后自己信息安全吗 服装外贸网站建设 h网站模板 全网整合营销推广公司 政府网络安全中心 建立网站的步骤 建国外网站 政府网络安全中心 网站营销师 整合营销闭环 信息安全证书 2015网络安全周 网络营销以网络用户为中心 杭州做网站 网站制作公司电话 有关网络安全的内容 石家庄企业商城版网站建设 重庆营销公司排名 网络营销网站 珠海网站建设多少钱 互联网 网站建设 营销有哪些职能 信息安全防范技术水平 网站更新后为什么不显示 广东地方网络安全法规 开展网络安全认证检测风险评估 杭州做网站 东营网站推广 网站建设名牌 2017信息安全 昆明网站开发公司 网站推广专家 呼和浩特做网站的公司有哪些设计网站酷 济源建网站 网络安全审计系统选型 昆明网站开发公司 互联网信息安全要求,-1 ids与防火墙联动的网络安全模型设计 求做网站 互联网信息安全要求,-1 部队网站制作 互联网 网站建设 中国的网络信息安全 网站营销师 服装外贸网站建设 信息安全专业。黑客 青岛城阳网站建设 信息安全监管要求 建国外网站