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

<a class="close" href="https://npk.juerang.cn/">&times;</a>
信息安全的威胁主要来自于,-1营销外包贴吧软文发布饰品网站建设网络注册信息安全工程师培训淘宝营销顾问信息安全咨询 资质,-1国外网站空间校园网络安全审计网络安全事件通报2016网络安全重大事件梦是一定要做的,万一是真的呢!他本是星辰帝国的太子,可谁料发生叛乱,让当时年仅8岁的他,父母双亡,经脉被废,从堂堂太子变为废物。他本以为这辈子都不能修炼了,所以一心求死,可是却遇到了一位老仙人。那老仙人不但让他住在自己的洞府里,还炼出神丹,让本是废物的他能重新修炼,甚至收他做了弟子,还将自己的女儿许配给了他...... 他定要在这片大陆掀起波澜,报仇雪恨......邢毅开车送公司经理亲属回乡下,回来遇到暴雨将他冲进山洞,被同事从工厂深水泵井里救出,意外发现自己重生回到二十五年前。 前世上,他二十五岁时进入锦绣县宏达道桥公司,这里有高中时的同学,公司的骨干精英,未来的掌舵者。然而并没有得到同学的关照,反而遭遇冷落,被瞧不起。 他干的是混泥土搅拌工,钢筋帮扎工,搬运工等等,二十五年都在基层一线,因能力弱,胆子小,没能耐,无法扭转自己的命运以及家庭生活面貌,妻子在邮电局做职员,屡被上司欺凌,儿子到就读年龄择校时门槛高耸,父亲被冤屈下放农村,母亲患病也未能进行最好的治疗……一句话,他一辈子活得类,窝囊,不值。 上苍安排,让他的人生再来一次,从此他的工作,事业,爱情,父母、家庭,孩子……且看他怎样展开,怎样掌控渐次而来的机会,怎样应对一并降临的竞争和阻碍,完成新的使命,从而实现人生逆袭。一个出身贫寒的人 ,进入警局有多大的用处杨天意外觉醒全能系统,却不知这个系统是未来世界一个修仙高手的灵魂星,杨天靠着它逆天改命,一步步走上世界之巅。在杨天死亡后就跟着灵魂星去往一个未知的世界一位家境贫寒的少年,经历了常人难以想象的苦难,磨砻砥砺,奋发向上。好不容易华丽转身,完成了人生意义上的大逆袭,一时平步青云,风光无限! 这期间,少年也先后得到了好几位绮年玉貌少女的青睐,演绎出许许多多荡气回肠,缠绵悱恻的爱情故事。其中的情与理,是与非,仇恨与挚爱,痛苦与欢乐,人性与心魔,交互编织成一道道直逼心灵拷问的风景,让人热血沸腾又扼腕长叹!萧宸弥补之前犯下的错上山求教,师傅给予任务下山后抛去怜悯,同情,救出林青雨与其一同报仇雪恨,手握双刀,神挡杀神,佛挡杀佛。努力了十年,终于经济独立了,本以为可以彻底甩手享受生活,迟来的系统却逼着他去当个门主。 既然都当门主了,那更加不用那么拘束了,谁让这个宗门这么强呢,你说对吧? 凌天意穿越洪荒,成为没有任何跟脚的无字之书,但却觉醒儒圣系统。 纵使圣人不仁,以万物为刍狗! 他曾赠瑶池一诗:“他年我若为青帝,报与桃花一处开。” 于是,天下桃花尽归昆仑山。 五行山下,他曾写下:“天若压我,一棍碎天,地若拘我,一棍崩地,我等生来自由身,谁敢高高在上。” 于是,世上唯有心比天高齐天大圣,而无唯唯诺诺斗战胜佛。 他曾以一曲《十面埋伏》灭杀十万妖族,也曾使用《天地大同》以黑白棋子困住帝俊与东皇太一。 他曾唱一首《烟花易冷》让女娲落泪,也曾画下《洛神赋图》让洛神惊艳。 18岁的高三学生宫谷屾崎因在课上打瞌睡被异世界的女神洛认作废人,传送到了异世界,并与异世界的各派人物相识结交,最后参与争神之战中
网络注册信息安全工程师培训 清华信息安全考研 信息安全的国家标准 高唐企业建网站服务商 河南网站建设公 传统营销信息传播方式有哪些 惠州网络营销 广东省网络安全宣传高峰论坛 品牌病毒式营销案例 东莞高端品牌网站建设 自闭症的前世因果【www.richdady.cn】 外灵干扰的前世因果咨询【www.richdady.cn】 冤亲债主干扰对生活有何影响?【www.richdady.cn】 家庭关系的心理调适【www.richdady.cn】 前世老公的前世故事咨询【www.richdady.cn】 亲子关系的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的幸福指南有哪些?【企鹅383550880】√转ihbwel 外灵干扰对日常生活的影响【微:qq383550880 】√转ihbwel 维护良好家庭关系的秘诀有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的缘分再续咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与公婆前世威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感咨询如何进行?【微:qq383550880 】√转ihbwel 发育倒退的案例分享咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的心理调适【σσЗ8З55О88О√转ihbwel 升迁障碍的原因分析【企鹅383550880】√转ihbwel 无形干扰对工作效率的影响【www.richdady.cn】√转ihbwel 财运不佳的财富转运方法有哪些?【σσЗ8З55О88О√转ihbwel 心特别累的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主的干扰与化解【微:qq383550880 】√转ihbwel 电子商务的信息技术网络安全 鼠标轨迹 网络安全 信息安全措施分为 三合一网站 互联网营销工具有哪些 清华信息安全考研 2014年网络安全报告 营销资源网 北大营销课 信息安全 计算机考级 信息安全的国家标准 网络注册信息安全工程师培训 哈尔滨网络宣传与网站建设 禅城区做网站策划 网店营销所带来的意义 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少网站建设计划书 从系统安全的角度可以把网络安全的研究内容分成两大体系 和包营销活动策划书网络安全仿真靶场 济南外贸网站建设 金融机构网络安全保护 信息安全风险评级 网络安全性等级 哈尔滨网络宣传与网站建设 自定义建设网站 白云做网站 深圳网站开发 企业网络营销的缺点 网络营销的基础与实践报告 网络安全 思科 中国 绿盟cncertcc网络安全应急服务支撑单位资质常用的网络安全技术包括 网络安全形势读书报告 网络营销型企业网站案例 安全局管理网络安全吗 2013网络安全威胁趋势 第四届中国网络安全大会 网络安全性等级 b2b技术型社区营销 广东网络安全协会 百度信息流营销顾问 网站建设 趋势 惠州网络营销 口碑营销口碑传播 信息安全世界学校排名 大学生 网络信息安全 网络与信息安全研究所 什么是公司信息安全,-1 2017信息安全泄漏事件 提高转化率营销手段 漯河网站建设 网络安全错误错误代码 微信的网络营销推广 网络安全失泄密 网络营销的基础与实践报告 企业营销网站建立 企业网络营销问题研究 石家庄网站制作找谁 网络营销外包推广服务 品牌病毒式营销案例 电商信息安全方案 信息安全行业的企业 传统营销信息传播方式有哪些 清华信息安全考研 广州天河 网站建设 ids 网络安全防护手段 营销型网站模板 信息安全 计算机考级 大型免费网站制作 漯河网站建设 网店营销所带来的意义 音乐网站的色彩搭配 互联网营销广告语 刮奖网站 网络营销广告 重庆网络营销价格 北邮 信息安全 阶段作业 成都社会化营销 ids 网络安全防护手段 信息安全排名前50 营销工具网 安全局管理网络安全吗 关于网络安全的一段 网站代维护 电子商务网站seo 企业网络信息安全公司排名 恩施做网站 关于网络安全的一段 营销软件是真的吗 河南网站建设公 中国信息安全期刊 学网络营销学那一块好 2017首都网络安全周 互联网营销广告语 网络信息安全基础实施细则 信息安全评估流程 有利于优化的网站模板 网络安全 职位 一科西安网络营销 企业网络营销数据分析 烟台软件优化网站建设 一键建网站 饰品网站建设 青岛家装网络营销推广 营销资源网 企业网络营销的缺点 信息安全行业的企业 营销型网站建设页面 网络安全 职位 网络营销与策划(实践) 主要信息安全产品 网络安全 迪普 信息安全网站 展示用网站 三合一网站 网络安全信息与动态周报 郑州网站优化推广 2015最新网络营销课程 学网络营销学那一块好 百度信息流营销顾问 网络安全框架怎么写 互联网营销的流程 政府网络安全中心 行销与营销 展示用网站 广东省网络安全宣传高峰论坛 鼠标轨迹 网络安全 常见的信息安全的产品有哪些 免费企业网站 wifi加网络安全认证 哈尔滨网络宣传与网站建设 广州天河 网站建设 石家庄网站制作找谁 南通网站建设知识 网络信息安全服务包括哪些内容,-1 成都社会化营销 信息安全管理研究包括