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

<a class="close" href="https://mz7u.niexun.cn/">&times;</a>
苹果7网络营销策划书国家网络安全认证和平网站建设国家网络安全认证电子商务网站开发南通网站建设知识如何用网络营销的方法有哪些方法有哪些方法有哪些内容营销型网站模板2016国家网络安全博览会关于网络安全公告本文主人公文春水,是个高考落榜的农村青年。本文主要写了文春水坎坷的人生,和他缠绵悱恻的罗曼史。他多才多艺,文静儒雅,一表人才。他为人正直善良,但命运坎坷,爱情多磨难……人族无帝尊,妖帝出锁界,人族一代尊主紫舍帝尊消失于无相海深处,百年之后,妖帝率领万妖打开锁妖界,入侵人族,攻守之势逆转,各地宗门大肆招收门徒应对妖族的侵扰,山村少年张擎亲眼看见村庄被屠,走投无路的他被庆云宗长老救下,开启修仙之途,终成新的帝尊。穿越神灵大陆后,林不凡被迫下嫁给一头母老虎,还是一头动不动以死相逼的冷傲暴力母老虎。 面对即将到来的家暴日子,这让林不凡感到很绝望。 幸好,神级选择系统成功激活。 穿越这事没得选,但要下嫁暴力母老虎,林不凡决定做一个以理服人的有为之人。 “叮!感知到宿主诚挚叫大爷,神级选择系统激活。” “选择:强行亲她,奖励至尊道体、太古神诀。” 婚礼现场。 “选择:怒怼万族来宾,奖励百年修为、破妄之眼、太上炼丹术、涅槃真丹。” 林不凡答应……还是拒绝呢? 答应是作死,拒绝貌似不能够。 于是……   李暮穿梭了异界,穿梭到一修仙天地,变成一个采矿的奴隶。跟他来的,有一灵塔。但是整体天地也变更了。......一位非流派宗派的修仙者,一不同的修仙天地。漫漫长夜之下,危机四伏,在你看不到的地方,恶鬼互相吞噬,妖魔血战于天地,人族强者提刀斩神,冥冥中,这世间如同修罗场一般,纷争不断,血光四溅。      在龙族的另一个平行世界,事情有着很大的变化........陪哥哥姐姐去试炼的王子华被淘汰。不甘心的他只能在这茫茫大陆寻找机缘,却意外的寻到了一个老婆。 看着眼前的绝色少女,王子话华双腿一软,瘫在地上”琼华,你别太过分啊!“ 少女缓缓逼近,裙摆飘动间她俯身靠在王子华身侧,语气轻佻,”怎么?这么快就受不了?&amp;quot; 王子华:。。。。。。 自从碰到琼华,王子华的修行观就被带歪了。 先人说,修习时丹药吃多了对身体不好! 你们先人在胡说,以你的身体吃它跟吃饭一样! 然后王子华看着鼓的跟球一样的身体,一下子慌了,嚎啕大喊,“救救我!我快炸了” “琼华你骗我,你不说没事吗!” “哦,是没事啊!但谁让你吃那么多?吃饭还有吃撑的时候呢!” “可我吃饭没吃撑过啊” “那你好可怜哦!”凡尘之中存在着不凡之事,光怪陆离早已对地球求知若渴,天选之人们该如何应对……末世来临,a市突然爆发了一种丧尸病毒,传染性极强一旦感染将在最短时间内变成毫无人性和理智只会吃人的丧尸,世界各国为了控制住病毒,避免病毒扩散到世界各地,从而成立了世界人类保护协会,简称GTE组织,GTE组织封锁了整个a市,但出于人道主义还是定时向a市投放人道主义援助物资,主角将如何在这个物竞天择的险恶环境下存活下去呢。他曾为了修行背叛师门,却还是陨落在心魔之下。复生在海贼世界的他,决定放下执念,潇洒的活一次。
网络信息安全 攻击手段 自适应网站优点缺点 知名的网站建设 网络安全剧本 网络营销促销的的定义 校园网络安全审计 微信网站制作免费 音乐网站的色彩搭配 东莞高端品牌网站建设 深圳市珠宝网站建设 去世的母亲的前世记忆【www.richdady.cn】 精神不振的自我提升咨询【www.richdady.cn】 特殊学校的咨询技巧咨询【www.richdady.cn】 灵魂化解与心理疗愈【www.richdady.cn】 与公婆前世的因果关系【www.richdady.cn】 冤亲债主的干扰影响咨询【σσЗ8З55О88О√转ihbwel 无形干扰的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 阴间生活的前世案例【σσЗ8З55О88О√转ihbwel 意外事故的主要原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 忧郁症【www.richdady.cn】√转ihbwel 财运不佳的原因分析【www.richdady.cn】√转ihbwel 前世今生相关【微:qq383550880 】√转ihbwel 与老公前世的咨询技巧【σσЗ8З55О88О√转ihbwel 存不住钱的解决方法咨询【企鹅383550880】√转ihbwel 孩子压力大的心理调适【企鹅383550880】√转ihbwel 孩子压力大【微:qq383550880 】√转ihbwel 亲子关系的心理调适咨询【微:qq383550880 】√转ihbwel 有官司的案例分享咨询【www.richdady.cn】√转ihbwel 事业不顺的咨询技巧咨询【www.richdady.cn】√转ihbwel 孩子厌学的家庭教育咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内容营销优点 公司网络安全加固方案 网络与信息安全课程报告 网络安全形势读书报告 信息安全技术信息系统安全工程管理要求,-1事件营销缺点 马云营销企业 信息安全等级四级 电子商务网站开发 网站开发与建设 网站建设深圳 苹果7网络营销策划书 佛山做外贸网站的公司 网站单子 网络营销型企业网站案例 陕西信息安全管理体系 自适应网站优点缺点 国家网络安全中心 招聘 摄影网站制作 长春网站推广 摄影网站制作 唯品会营销在哪里找 海口做网站 信息安全保障工作就是要对信息的三个特性进行最大限度的保护 营销第一网 信息安全类竞赛 网络推广网络营销软件公司 世界网络安全峰会 重庆网站平台建设 网络安全须注意什么意思 企业信息安全培训内容 网络安全 个人信息 营销作用 信息安全类竞赛 网站创建流程教程 2014国家网络安全周 国家信息安全甘肃招聘 为信息安全 网络安全防御系统 深圳市珠宝网站建设 网络安全态势感知 网络安全三级标准测评 网络营销模式ppt 广州做手机网站咨询富阳市网站 陕西信息安全管理体系 网络安全性等级 信息安全和电子政务 苹果7网络营销策划书 大型免费网站制作 重庆网站平台建设 网站插入地图 西电的信息安全专业排名 重庆知名营销公司 信息安全和电子政务 网络安全师资格证 网络安全现状调研报告 信息安全等级四级 国科大信息安全教材 网站创建流程教程 摄影网站制作 文件信息安全,-1 校园网络安全审计 注册信息安全专业人员 网站构建器 网站建设套餐报价 网站制作公司 网站单子 网站开发和 海外营销推广平台 安全威胁信息安全,-1 网络与信息安全通报机制 网络安全师资格证 营销faq 公司网站建立教程 摄影网站制作 网络信息安全工程师培训 网站开发和 电子产品商务网站模板 网络信息安全博览会 注册,-1 网络安全剧本 营销作用 网站建设成都公司 网站建设及优化 赣icp 网站开发与建设 医院推广营销计划 内容营销优点 音乐网站的色彩搭配 独立网站建设 建立网站的过程 建立网站的过程 海口做网站 网络口碑营销成功案例 网络安全事件通报 如何做英文网站 营销推广具有的特点是 网络安全实验室 设备有哪些内容 网上营销环境 高州做网站 太原网站建设培训学校 信息安全保障工作就是要对信息的三个特性进行最大限度的保护 济宁网站制作 微信营销活动公司简介 公司网络安全加固方案 音乐网站的色彩搭配 西安免费做网站公司 做网站的机构 马云营销企业 营销第一网 acm和信息安全能一起搞吗 品牌创意网站建设 2010年网络营销常用词 web网络安全架构 长沙做网站公司 高唐企业建网站服务商 如何注意网络安全 网站单子 丰台手机网站设计公司 2010年网络营销常用词 如何用网络营销的方法有哪些方法有哪些方法有哪些内容 东莞那里有营销课堂 网络安全剧本 网络公司制作网站 高州做网站 海外营销推广平台 和平网站建设 网络安全设计级别 网络安全实验室 信息安全技术信息系统安全工程管理要求,-1事件营销缺点 免费设立网站 网站建设套餐报价 国家信息安全甘肃招聘 关于网络安全公告 电商网站规划 东莞那里有营销课堂 泛在信息安全网站加网页 网络安全须注意什么意思