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

<a class="close" href="https://njtu.c8.org.cn/">&times;</a>
横岗做网站重庆网站公司厦门网站建设的公司网络营销传播 案例分析小米网络营销定价策略网络安全监测平台思科网络安全解决方案信息安全的产品认证开源网络安全软件信息安全等级保护评估玩归玩,闹归闹,回到汉末三国还得跟我皇叔混! 昔日屌丝秦耀,自穿越汉末以来,身无所长,心无所居,惶惶度日十载,历经黄巾之乱,成刘备帐下一无名小卒。 大战前夕,上司张飞醉酒发狂,险先误杀秦耀。秦耀大怒:“阉人张飞,安敢放肆!” 【叮,你的外挂已上线!】 得最强打工系统,做最帅打工仔! 助刘备,平蛮夷,灭世家,除军阀,揽群芳于铜雀,招贤臣于麾下,安天下于掌握,扶明主于帝位! 纵横天地间,谁能与之相扛? 秦耀:“在下秦耀,愿助主公成就千秋大业!” 刘备:“我得汉明,大事可期!” 全国各地都有叫龙凤镇的小地方,本书故事就是从主人公小时候生活的一个名为龙凤镇的地方开始,从小时候听说的不明飞行圆盘,到神秘莫测的玉鼎山,主人公在一个乡村小镇开始了一段无法解释的神奇之旅。。。出门在外,谨记必带一本《古真经》因为你不知,真(白发女鬼——新疆语)会在哪里,也许会在你的身边。“善恶之报,如影随形,三世因果,循环不失” ——《涅盘经·遗教品一》  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 当黑暗侵袭,有人跪下,有人放弃。 而我们,会鲜血流尽,战斗到底。 而我,就是这诸天万界的主!穿着裙子踢人的少女,在画册里藏刀的少年,还有那三位总是聚在一起却没有丝毫默契的……没词形容他们。 不知道为什么,最近的我总是会在不经意的时候回忆起那些人,他们曾是人群中的异类,是我们公认的“绝对不能接触的人”。 现在回忆起那时,我想不与他们接触应该是我们做的做的最正确的选择,毕竟他们都是一群怪物,一群有着人的外表但行为却及其诡异的怪物。世界遭到入侵,最强武道大帝力战而亡,重生在九千年后的世界,成了酒馆的店小二,并觉醒了全能系统。 通过系统,张易能够看穿世间功法、丹方和对手的缺陷。 为了抵抗即将而来的乱世,张易再次踏上修炼之路。 在他破格的实力下,对他心怀敬畏的人、闻名而至的人、求爱的人络绎不绝。 然而,就在他步步建造势力之时,那过去让世界陷入恐怖的危险,又开始在暗地里行动了…… 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!”苏霁尘被系统给坑了,在娘胎里面一待就是十年。 【叮,签到成功,获得至尊剑骨】 【叮,签到成功,获得混沌道体】 【叮,签到成功,获得不灭金身诀】 【叮,签到成功,获得斩天拔剑术】 那一日,紫气横盖三万里,至尊降生。 混沌道体,手持祖剑,身上不灭金身,至尊剑骨让万族臣服。 十年之期满,苏霁尘降生。 苏霁尘:“太强了不给出生?我反手就将老娘堆成仙!”
做网络营销需要会什么不同 内网信息安全 西安网站建设成功建设 外贸营销服务 西安网站建设成功建设 做网络营销需要会什么不同 网络安全的研究 近五年信息安全事件,-1 重庆专业网站设计服务 营销推广的方式 前世今生的因果关系【www.richdady.cn】 灵魂化解【www.richdady.cn】 耳鸣咨询【www.richdady.cn】 前世今生的故事解析【www.richdady.cn】 婴灵的真实案例有哪些?【www.richdady.cn】 头脑混沌的前世因果【微:qq383550880 】√转ihbwel 迟缓儿的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子厌学的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 干扰的常见类型咨询【微:qq383550880 】√转ihbwel 家庭关系的问题分析咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋困惑如何解决?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世影响咨询【www.richdady.cn】√转ihbwel 前世缘份对现世的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心理咨询与灵性指导咨询【σσЗ8З55О88О√转ihbwel 感情问题咨询专家咨询【企鹅383550880】√转ihbwel 前世缘份如何影响事业发展?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的原因分析【企鹅383550880】√转ihbwel 亲子关系的自我提升【企鹅383550880】√转ihbwel 心特别累的情感释放咨询【微:qq383550880 】√转ihbwel 开源网络安全软件 西安市信息安全测评中心 网站代维护 厦门网站建设的公司 我司如何自己建设动态网站 营销型网站设计房地产 信息安全检查通讯 网络信息安全审查 石家庄网站制作 免费网站空间申请 信息安全的重要性2017 江苏移动网络安全 高亮 网络安全中心举报 免飞网站 重庆专业网站设计服务 网络安全问题原因 计算机网络安全事件 网络安全审计系统选型 网络安全 两会 互联网 与网络安全 白云做网站 汕头网站优化 公司网络安全检查 无锡好的网站公司 医疗网站建设案例 广州网站设计公司 信息安全本土咨询公司,-1 网站设计 绿盟cncertcc网络安全应急服务支撑单位资质 湖南网络安全峰会 网站如何备案 网络信息安全学院,-1网站如何被收录 2016中国网络安全技术对抗赛 济南网站忧化 唯品会的营销新手入门 信息安全主要研究领域 企业网站app 小米网络营销定价策略 营销团购 上海大 小企业网站制作 横岗做网站 信息安全标准 信息安全等级保护备案端软件 信息安全四级防护要求 网站 开发 价格 如何建立营销网络 邢台哪儿能做网站 网站设计北京新 网站挂载 白云做网站 网站被攻击 北京数据营销培训机构 2016中国网络安全技术对抗赛 唐山网站建设 建设网站网址 网络安全监测平台 石家庄网站制作 我司如何自己建设动态网站 营销痛点 营销团购 手机网站制作细节 网安大队互联网信息安全检查 展示用网站 思科网络安全解决方案 信息安全国内数据申报 微信网站开发 网络安全问题原因 网站如何备案 国内信息安全法律法规 北京数据营销培训机构 网络信息安全 规范,-1 电子商务营销方案 商丘做网站 信息安全竞赛入门 维护信息安全的一般措施 2016中国网络安全技术对抗赛 网站制作厦门公司 28岁报达内网络营销 社区网络安全 云网络营销 医药网站建设 国家网络安全总局 唯品会的营销新手入门 属于网络安全设备的有 重庆网站公司 网站虚拟主机空间 小学学校网站设计模板 中国山东网站建设 双十一内容营销网站推广页 网络安全 两会 信息安全逆向入门教程 网络信息安全 规范,-1 html5网站建设 信息安全度量指标 国外网站空间 明确保障网络安全的基本要求 微信网站开发 2013年推荐更新的windows安全补丁 中国信息安全测评中心 北京数据营销培训机构 白云做网站 网络安全的研究 计算机网络安全事件 网站权重低 网络安全中心举报 项目信息安全管理 网络营销优点缺点 明确保障网络安全的基本要求 我司如何自己建设动态网站 计算机网络安全产品认证 开源网络安全软件 要做网站 网络安全等保测评 邢台网站制作公司哪家专业 有利于优化的网站模板 网站挂载 西安网站建设成功建设 网络安全 两会 信息安全本土咨询公司,-1 上海大 小企业网站制作 信息安全漏洞态势报告 信息安全的重要性2017 苏州做网站 网络安全专项检查 网站权重低 互联网 与网络安全 信息安全逆向入门教程 济南网站忧化 信息安全的产品认证 企业营销网站建立 网站设计北京新 计算机网络安全事件 邢台网站制作公司哪家专业 事件营销的成功要素 开发软件网站建设 网络安全领域的领头羊