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

<a class="close" href="https://nwxe.9401.com.cn/">&times;</a>
网站建设策划书ol专业信息安全服务资质办理,-1事件方面的营销举例网站主色调email营销的基本要素信息及网络安全信息安全的发展与风险管理 ppt会员营销的方法网络营销课程实践报告网络安全堪忧冥冥有间,止水湔峰。 峰主何名,别号曰玄。 玄之又玄,众妙之门。 门中大千,笔下风闻。 欢迎来到某玄的短篇故事集。一篇神诀贯穿古今,一滴精血改变世界。究竟是谁在推动世界,又是谁在暗中想杀我?星元界十大武帝之一的破军武帝二十年前突然陨落,二十年后重生在天火帝国镇国公府的废柴公子,从此神挡杀神,魔挡杀魔大褚,绍清十年。 妖邪诡祟肆虐人间,儒释道三教鼎立天下。 世间修者纵横,欲夺天地之气运,觅长生之无极。 陆宴清异界魂穿而来,却被告知仅有一天可活,后意外发现所谓的儒术竟是古诗! 侥幸活命的他本想悠闲的过上自己的小日子,却被不断卷入一个个风暴之中…… 荒凉地脉,大漠无归,我有枪芒镇压。 放眼红尘万丈,无尽归期,我自当君临天下! 生来走一遭,当如何? 自当…成仙之后,君临之后,去那彼岸…逍遥游。 女主意外穿越时空,来到了西游世界,投胎成三界的救世主,并结识唐僧师徒四人。 凭借着资质和努力,她很快习得法术,脱胎换骨。在这里,她也相遇了很多伙伴,和取经团队一起行侠仗义,除暴安良,这是个不一样的西游故事,不一样的人物设定,全新的西游之旅“我是给你脸了,还是怎样?老子都给你道歉了,你还想要老子跪下,你在想屁吃吗?”白楠瞬间就不乐意了,用全身最大的力气把手中握住的球朝火团砸去。 因为白楠刚才道歉的时候离火团很近,所以球砸过去的时候,火团来不及躲开,被这颗篮球正中脑壳,随后,那颗篮球以一个诡异的弧线反弹砸到白楠。 火团先倒下,白楠摇晃了一会也跟着倒下。 自此这颗篮球拿下了它球生的第一个双杀!?本书正在大改,作者会尽快修改完毕。 ———— 威信公众号:竹楼听细雨 欢迎大家加入李倾发现自己穿越到了一个被游戏化的世界。 在这个世界里,每个人都要靠自己的天赋来选择职业,提升等级。 职业和等级,决定着社会地位和薪水高低。 而李倾意外觉醒了RPG回合制天赋。 打怪流能获得经验和道具! 【你击败了装逼的同学!】 【恭喜你获得技能[大逼兜子]】 【你击败了恶心的上司!】 【恭喜你的职业晋升为[部门经理]】 【你击败了烦人的富二代!】 【恭喜你获得跑车一辆!】 李倾靠着一手大逼兜子,奖励拿到手软,巴掌扇到手酸,升级快到飞起! “平均十级的同学聚会,你让我这个60级的怎么去?” 简介无力,请看正文!各种恶性事件最近层出不穷,但这好像和陈林没什么关系,他只是一个真的很普通的高三学生而已啊。 某天上午,陈林对于同桌没来很苦恼……天台上,那个熟悉的身影一跃而下。 谁会给出诡异事件的答案,谁又能拯救这个快被玩坏的世界。我是数据吗?这个世界真的存在玩家?身边的到底是血肉之躯还是冰冷的数据……真相在哪里? 陈林:“勿cue,我是无神主义论者,真的。”高阳原本是个蓝星的雇佣兵,在一次执行任务中来到了金庸武侠世界--神雕。 在神雕世界中获得武林中人梦寐以求的武林秘籍,左手六脉神剑、右手降龙十八掌,年纪轻轻就达到别人一辈子的成就, 一个小小的蝴蝶能带动多大的效应?神雕世界因为高阳的到来又会有什么样的变化?神雕中的爱恨情况是否因为高阳的到来而改变? 让我们走进神雕世界,看高阳如何在江湖中翻云覆雨~~~~~ 各位书友要是觉得《神雕之我是大魔王》还不错的话请不要忘记向您的朋友推荐哦
网络安全风险提示单 李老师谈营销 网络营销渠道的效用 手机网站界面设计 学网络营销学费多少钱 2月17 国家信息安全 汕头网站制作公司 传统网络营销的区别 福建信息安全会议,-1 福田网站建设 忧郁症的环境影响【www.richdady.cn】 官司的案例分享咨询【www.richdady.cn】 去世的父亲的前世修行【www.richdady.cn】 意外的前世记忆【www.richdady.cn】 外灵的干扰特征咨询【www.richdady.cn】 去世的父亲在哪咨询【微:qq383550880 】√转ihbwel 升迁障碍的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的常见类型咨询【企鹅383550880】√转ihbwel 不爱读书的自我提升咨询【σσЗ8З55О88О√转ihbwel 外灵对人的影响咨询【企鹅383550880】√转ihbwel 灵魂种子治疗【www.richdady.cn】√转ihbwel 耳鸣的原因分析【σσЗ8З55О88О√转ihbwel 无形干扰如何影响心理健康咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋困惑如何解决?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 投资项目的财务规划咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的案例分享【企鹅383550880】√转ihbwel 冤亲债主的前世今生咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的原因及对策咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的修行方法咨询【微:qq383550880 】√转ihbwel 辽宁网站制作 分析网络营销环境 大网站如何优化 网站模板的好处 营销平台 网络安全检测方法 日本在哪一年组建了政府网络安全中心 2月17 国家信息安全 网络安全最新技术 电子商务网站总体框架设计 国家信息安全报告 福田网站建设 河池网站建设 安阳网站建设 信息安全 风险 合规 网站建设优化服务如何 网站建设开发公司 网络安全高手 网络营销工程师是什么 手机网站界面设计 建设网站优点 萨班斯法案 信息安全,-1 长沙做最好网站 杭州网络安全解决方案 信息安全 企业 北京软件园 网络营销具备的知识 网站设计尺寸 李老师谈营销 杭州市网络安全平台 营销知名安例 网站建设计划书 网络营销产品特点 商城网站建设 福田网站建设 搜索营销的主要模式 微信seo全网营销 亚太网络安全协会 高特效网站 破坏公共信息安全 网络安全与防火墙 网站域名权 国家信息安全报告 网站建设策划书ol 网站建设公司的业务范围 信息安全从业 机房网络安全 制度 网站开发费用报价单 信息安全防护设计 华企立方网站 深圳建立网站网络安全员培训内容 网络营销策划书结构 即时通讯工具营销 网络安全大赛致辞 商务网站制作公司 网站制作 网络推广网络安全播报 网络信息安全监察 杭州市网络安全平台 小型企业网站设计与制作 中山企业手机网站建设 东莞网站开发推荐 浙江网络营销公司排名 网络营销能力秀的作文 网站建设优化服务如何 嘉兴网站建设 网络营销的优势在于 简约的网站 浙江省信息安全行业协会 华企立方网站 编织网站建设网络安全服务的功能有 网络营销工程师是什么 计算机网络信息安全 信息安全 壁纸 企业网站seo 网络安全不仅仅 搜索引擎营销创意分析 web编程网络安全 嘉兴网站建设 哈尔滨网站建设市场 上海信息安全企业排名 商城网站建设 网络营销渠道的效用 重庆网站建设公司 物理安全与信息安全 上海网站维护有效的信息安全控制方法 专业信息安全服务资质办理,-1 网络营销渠道的效用 辽宁网站制作 网络营销指 调颜色网站 重庆大足网站制作公司推荐 口碑营销和网络营销 计算机网络信息安全 网络安全所称网络 瓦房店网站建设 学生对网络营销看法 移动网站性能 网络营销具备的知识 浙江网络营销公司排名 网站营销公司 学校网站的作用 营销平台 学网络营销学费多少钱 济南建网站 营销促销案例分析 cncert/ cc 2012年中国互联网网络安全报告 2016我国信息安全十大问题 移动网站性能 中山精品网站建设信息 网络信息安全加秘 大连微信营销 2017世界网络安全大会 福建信息安全会议,-1 重庆网站布局信息公司 和目网站 今日头条 移动营销 手机微信的网站案例 国家信息安全服务资质 惠普 中国信息安全法研究中心 教育行业网络安全现状 浙江省信息安全行业协会 网络营销能力秀的作文 网络信息安全入门 国际信息安全中心待遇 济南建网站 分析网络营销环境 口碑营销和网络营销 简约的网站 微信品牌营销公司 河池网站建设 网络安全控制层次 学网络营销学费多少钱 重庆网站布局信息公司 天枢信息安全协会 网络营销课程培训 陕西网络安全监察大队