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

<a class="close" href="https://cdv.nengqian.cn/">&times;</a>
信息安全 新闻网络营销十大经典案例网络安全部署情况网络营销免费网站网络营销专业知识网络安全专家咨询电话营销型网站的例子公司网络安全检查国家网络安全局官网广州品牌营销策划有限公司官网中星历1716年,太白和奥莉伴随天地间九彩虹光诞生,同时也惊动了大批高手甚至是仙神的注意,而无数势力的强者中竟然有很多人认识他们的前世,甚至为此等待了他们万年之久…… 前世的他们,光催耀目,几乎以自己的力量创造了当今世界的格局,面对这个复杂的世界,他们的转世重修能否击破命运的牢笼,成就无上的存在呢?父亲车祸,为了挣钱的林飞,决定就任高二七班班主任。 正当他为这一年气走五个班主任的班级而惆怅时,系统到来。 纪律周卡,提升全班上课纪律! 疯狂抽奖,提升全班学习能力! 毕业典礼之上,看着全班同学不是保送就是状元,林飞无奈耸肩。 “我也不想的啊,我只是想转正涨工资,他们变天才,只是顺便的……”我不管你相不相信,反正我就是一个记录者林阳穿越三国,成为济世堂杂役,同时得到神医豪强系统,拥有现代医学仪器,开局直接震惊华佗,拜其为师! 曹操:林阳,你医术精湛,谋略竟然也如此惊人?真乃奇人! 诸葛亮:草船借箭,竟然借的都是火箭?林阳还是个人了? 孙权:林阳究竟是何许人也?竟然如此神鬼莫测! 周瑜:此人谋略在我之上,还把我的心上人小乔抢走了,哎,既生瑜,何生阳? 华佗:师父不仅医术天下无双,谋略更是天下第一! 三国群英:林阳难道是天选之子?竟然发明了这么多的远程火力?这岂不是天下无敌了? 林阳:咳咳,小老弟们,不要大惊小怪,都是基本操作! 本小说及人物纯属虚构,如有雷同,纯属巧合,切勿模仿! 还没看完一页,叶牧就忍不住合上了少年时期的日记本。 “我这写的是什么中二日记啊?” “太羞耻了!” “会社死的吧?” 【叮!神级日记系统激活!】 【自动为宿主的日记购买全球热门推荐!】 【全球点赞过千万,解锁全新功能!】 【恭喜宿主百分百还原事件,奖励混元大罗圣斧!】 受到混元大罗圣斧影响,两个世界不再平行,出现大量未知干涉现象。 殷墟石壁惊现日记,轰动全球! …… 叶牧震惊了。 他写的中二日记竟成真的了!天下风云出我辈,一入江湖岁月摧。皇图霸业谈笑中,不胜人生一场醉。 起神剑,斩断这天下纷争,荡平这贼寇乱党,还天下苍生一个太平盛世! 但这权位,不屑拥有之。 愿携手红颜,笑傲江湖!我叫铃铛,爱好打坐,有一天天目大开,与衣衫褴褛的太上老君相见。他说他被人囚禁于万年冰窖之中,他有一个宝物叫金刚琢,求我务必找到此物,便可助他恢复自由之身……   璃阳境内,有座小神山,小神山里,有个仙缘洞,洞府有位仙家,名叫武生。   小神武生,他是位阵法大咖,远近闻名。   仙缘洞的水池,灵雾缥缈,杨柳依偎,朵朵青莲,栩栩如生,漂浮在池中央。   池中的鱼儿莫不惬意,在池中游来游去,忽而三三两两跃出水面,“咚”栽回池中。   一朵青莲上,一只可爱的小兽,正在呼呼大睡,每当呼吸间,它小小鼻子上的泡儿,忽而大了,忽而小了,被升腾的灵雾,一触就破。   一派仙家的洞天福地,莫不如此。   ……   武生之前是凡人,他没有期望自己能够修仙,因为修仙在凡人的眼中,不过是奢望,永远无法实现的愿景。   后来,武生在这个不起眼的角落,无意中得到了一份仙缘。那么他武生,从此顺其自然的,踏上一条——求长生、搏机缘、证仙问道的征程。   天元历1214年,天元王朝在经历了数百年的繁荣后,终于是盛极必衰走向了衰亡,其时天下大乱群雄崛起,所谓秦失其鹿,天下共逐之!且看谢长安是如何从一个山野小子一步步的走向武学巅峰并一统天下,建立百花王朝,成为后世敬仰的百花大帝! 建立了粉丝群1012144039,小伙伴儿们可以进群一起畅聊。唯一微信公众号是老三的books。我,叫做程敏刚,她,叫做杜淑萍,杜淑萍是我的老婆,
网络安全的研究 模版建网站 高职网络营销怎么样 网络营销的开展步骤 网络安全职位 西安模板网站建设 电子商务网站设计 网络营销人性化 网络安全 大数据分析 网络营销专业知识 失业期间的心理调适方法【www.richdady.cn】 事业不顺的职场突破【www.richdady.cn】 前世缘份的再次相遇咨询【www.richdady.cn】 投资项目的案例分享【www.richdady.cn】 耳鸣咨询【www.richdady.cn】 财运不佳的财富转运【企鹅383550880】√转ihbwel 婚姻生活不顺的咨询技巧【企鹅383550880】√转ihbwel 缺心眼的前世因果咨询【www.richdady.cn】√转ihbwel 与男友前世的影响分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子厌学的前世因果咨询【www.richdady.cn】√转ihbwel 脑部不清晰的案例分享【微:qq383550880 】√转ihbwel 升迁障碍的前世因果咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的原因分析【企鹅383550880】√转ihbwel 冤亲债主干扰的根源是什么?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的案例有哪些?咨询【企鹅383550880】√转ihbwel 意外的前世故事咨询【www.richdady.cn】√转ihbwel 前世缘份的前世记忆咨询【www.richdady.cn】√转ihbwel 莫名其妙感伤的前世影响咨询【www.richdady.cn】√转ihbwel 事业不顺的心态如何调整?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全 新闻 监控网络 网络安全 2014用户信息安全,-1 免飞网站 成都社会化营销 网站被黑 网站重要性 石家庄企业商城版网站建设故事性营销软文 深圳品牌建网站 信息安全云服务平台 吸引人的营销标题 部门信息安全如何处理 沂水做网站 外贸公司的网站建设模板下载 抽奖营销 病毒营销互联网案例 模版建网站 2017最新网络安全事件 云网站 2014用户信息安全,-1 网站高端网站建设 网站建设资讯 哪个大学网络营销 网站建设图片 沂水做网站 电子商务网站设计 沈阳网站优化 个人建网站 网络安全技术趋势 财务软件信息安全 部门信息安全如何处理 金融科技 网络安全 广州品牌营销策划有限公司官网 网站建设的网站定位 it服务质量与信息安全 哪个大学网络营销 高职网络营销怎么样 网络安全职位 免飞网站 营销组合软件 博客营销的弊端 聊城网站推广 手机版企页网站案例 单位主要网络安全业务 电脑无网络安全 网络营销人性化 天津网络营销 监控网络 网络安全 昆明网站建设公司 电商与微营销 深圳网络安全专业 网站转微信小程序开发 网络营销十大经典案例 网络安全公司的前景 公司网络安全检查 山西省信息安全服务资质 湖北警官学院 信息安全 大连网站推广 厦门网站seo优化营销软件 代理招商 考生信息安全的通知 西安模板网站建设 网站被黑 个人新浪微博营销技巧 网站设计 广州网站设计公司 网络安全资质 公安部 部门信息安全如何处理 网络营销实战演练课程 云网站 四川大学网络安全专业 网站建设资讯 网络与信息安全学什么 上海信息安全监测中心 郑州网站优化推广 国家信息安全项目山东网站优化公司 新闻网站设计原则 互联网网站建设新闻 深圳市网络安全公司排名 青岛开发区制作网站公司 天津网络营销 网站设计价格大概是 企业如何做全网营销方案 24.网络营销是电子商务的( ). 企业手机网站建设策划书 考生信息安全的通知 台州高端网站建设 保障信息安全 做一个营销型网站多少钱 购物网站建设案例 美国 信息安全审查 网络工程师必读——网络安全系统设计 营销组合软件 信息安全的认证,-1 外贸邮件营销系统 石家庄企业商城版网站建设故事性营销软文 天钥网络安全审计系统 四川大学网络安全专业 上海全网营销方案 上海网站开发制作 昆明网站建设公司 2017网站风格 单位主要网络安全业务 营销策划去哪里学 网站转微信小程序开发 网站重要性 计算机网络安全事件 广州网站设计公司 信息安全服务架构图 网络工程师必读——网络安全系统设计 手机版企页网站案例 哪个大学网络营销 上海银基信息安全技术软件信息安全建设方案 上海银基信息安全技术软件信息安全建设方案 上海网站开发制作 个人建网站 广州网站设计公司 大连网站推广 公安局网络安全怎么进 网络安全 ctf 高职网络营销怎么样 购物网站建设 贵州网站推广优化 网站高端网站建设 网络与信息安全学什么 网络安全 大数据分析 dede移动网站时广告管理里面的网址为什么还是原来的 上海小企业网站建设 2014用户信息安全,-1 网络安全等级保护工作的保障情况 网站被黑了 陌陌营销 网络安全的研究 郑州网站优化推广 信息安全云服务平台 网络安全技术趋势