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

<a class="close" href="https://21yc.885588.cn/">&times;</a>
网络安全黑白之道网络安全法概述网络安全软件的使用360信息安全灵动网站建设营销每日总结灵动网站建设网络安全病毒逻辑实例网络营销课程网站信息安全公司排名,-1有一位少年穿着纯白色的短袖衫,披着灰色的运动服,穿着一双白色的运动鞋,黑色的头发,碧蓝色的眼瞳,耳朵戴着耳机.向着公路走去.突然间,一辆白色的小车向前驶过来,那车主的脚一啰嗦,不小心踩到加速挡,加速向前驶去,把那位少年撞飞.那位少年飞了十几米,倒在地上,脑浆流出来,嘴唇边的血一点点染红了公路.不一样的江山,不一样的大明,看我王不死如何发财,玩转娱乐圈,嚯嚯大明帝国。2500年,来自弗硫州的艾克塔博士发明了天琉,原本只是用来保护自己弱小的母国,可各州野心极大,不到一百年,便发动了六次超规模的天琉战争,十四州百姓苦不堪言。2598年,他的徒弟本杰弗带着一项秘密研究成果,将完成他的遗愿......她宇文曼——大夏国第一个女皇帝。 坐上龙椅的第一天起,她就成为了不折不扣的傀儡。 本来想着就这样混吃等死,结果突然的一场兵变,连傀儡都做不成了...... 当她再一次夺回皇位时,世人对她依然缺乏认同。 在这个群雄争霸的年代,最弱的女皇,居然在所有人眼皮底下捡了个大便宜。 如果治理这个天下能算作便宜的话... 断壁残垣、饿殍满地、民不聊生... 战争带来了至高皇权,也带来了遍地枯骨。 宇文曼正襟危坐,身边是刚刚被册封的“国姓爷”文泰,殿外站着忠心耿耿、整齐成排的士兵,台阶下是一群诚惶诚恐的大臣。 大臣们曾经跪拜过她,又肆意污蔑她...如今为了日子过得去,只好颤颤巍巍的再次向女皇磕头。 好在女皇的心思还不在他们身上。 因为她是皇帝,所以没有退路——进则生,退必死! 奇迹不会一次又一次发生! 她必须整顿纲纪。 必须让难民归乡、让荒废的良田重新长出庄稼。 必须挥舞利剑,赶走那些盘踞中原的豺狼虎豹......一朝穿越成为不学无术、荒淫无度的纨绔太子。 为了重塑自己的形象,得经得住诱惑、耐得住寂寞。 面对手下宦官的谄媚,朝中大臣的冷眼,一众弟弟的虎视眈眈,朱永笑了。 有母后临终前给的九十九道免死金牌,根本不慌好吧。 我就当着你的面捅了你,你能咋地?这是一家白天给活人吃面晚上给死人吃面的面馆。mc方块人的一生,很无聊 天地初始,孕育造化之九塔,镇天地之混沌,衍天道之灵,构筑万界秩序,演化万界生灵。   时光飞逝,流转亿万年岁月,九塔蒙尘。   都市发展迅速,进入科技新时代,城市高楼林立,灯火通明,一位名为纪十安的少年正在密林中举起了他的弓箭。。。。。魂穿异世,成为女帝的灵宠流云豹,一人之下万万人之上,区区系统还想安排我,流云表示怎么可能? 每天吃了睡,睡了吃,系统安排的任务一拖再拖,女帝随手就是仙阶丹药,怎么可能看得上天阶的任务奖励。 对此系统轻蔑一笑,反手安排八代长老率领十五个马仔手持三十米砍刀从南天门一路追杀到蓬莱东路。 流云欲哭无泪。 系统爸爸我错了,我再也不敢了,求放过,嘤嘤嘤……你用一生护我周全,我便护你十世无恙;这是与你相遇的第十世,也是你与我的最后一世。
网站的栏目 手机 网络安全 信息安全公司排名,-1 信息安全等级保护测 佛山网站建设怎么做 2016网络安全政策 伪原创网站 网络营销的意义和作用 山东信息安全公司 标准 信息安全 iso 27001 itil cobit 去世的父亲的前世解析【www.richdady.cn】 与女友前世的记忆解析【www.richdady.cn】 婴灵对家庭的影响【www.richdady.cn】 婴灵的安抚与超度【www.richdady.cn】 事业不顺的真实案例有哪些?咨询【www.richdady.cn】 发育倒退的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的案例分享咨询【企鹅383550880】√转ihbwel 内心恐惧胆怯的心理调适【www.richdady.cn】√转ihbwel 事业不顺的职场建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 缺心眼的解决方法咨询【微:qq383550880 】√转ihbwel 亲子关系的共同成长【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 发育倒退的原因分析【σσЗ8З55О88О√转ihbwel 特殊学校的前世因果【σσЗ8З55О88О√转ihbwel 前世今生的故事有哪些案例?咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的心理调适咨询【微:qq383550880 】√转ihbwel 如何判断被冤亲债主干扰?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的续写有哪些方法?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的安抚有哪些技巧?【www.richdady.cn】√转ihbwel 人际关系不好的沟通技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的情感交流方法有哪些?【微:qq383550880 】√转ihbwel 整体性营销 网络安全问题的文章 简易的网站 建网站中企动力 什么叫b2b营销模式 青岛青鸟网络营销 大丰做网站 上海做网站的 信息网络安全协会 电国家信息安全工程技术中心,-1 网络安全态势感知平台 网络营销的意义和作用 政府网站怎么管理系统 信息安全等级保护测评报告模板,-1 太原网站优化 常州网站制作机构 公安机关信息安全病毒性营销的视频案例 新营销策划 关于加强党政部门云计算服务网络安全管理的意见 网络与信息安全教程 信息网络安全建设方案 营销与数字营销的区别 如何做网站 家具 营销网络 广州网站建立 网络安全基础 华为网盘 常州网站制作市场 建网站中企动力 中国国家信息安全产品认证证书级别如何区分 中国信息安全专业 网络安全. 遵义网站建设 好模版网站 龙岗网站制作新闻 手机 网络安全 昆明网站建设首选公司 信息安全等级保护测 聊城网站制作价格 大丰做网站 微信的网络营销推广案例 html5作业 建设网站 微信移动网站建设 网络营销的意义和作用 互联网营销的总结 网络推广营销平台 徐州网站制作如何定位 网络安全运营管理 顺德网站建设信息 网络安全人员能力认证 网络安全审计方案 商务网站与营销策划 html5作业 建设网站 营销网站与传统网站的区别 百度信息安全部 信息安全网络培训机构 公司网站域名是什么 大华 网络安全 网络安全设备应用分析 青岛青鸟网络营销 中国国家信息安全产品认证证书 网络安全 检测实验室 网络营销话题 吉首网站建设 title 网络安全 权威的广州h5网站 东莞网站建设平台 title 网络安全 小红书营销推广 信息安全测评师 招聘 营销与数字营销的区别 如何建立个人网站网络安全破坏 微信平台网络营销 太原建网站 成都 做网站 模版 网络信息安全公民权利 什么叫b2b营销模式 外贸营销语 上海做网站的 天津做网站 如何利用饥饿营销策略 伪原创网站 为何要网络安全审计 sem整合营销怎么做 沈阳市做网站的公司 网络推广营销平台 网站写文案 沈阳微网站 盈利型网站 网络安全人员能力认证 建设企业网站平台主要的目的是 商务网站与营销策划 吉首网站建设 成都 做网站 模版 石家庄网络安全公司 网络安全态势感知平台 如何做网站 网信部门和有关部门违反网络安全法第三十条规定 网站线框图 如何做网站 龙岗网站制作新闻 微信移动网站建设 网络安全黑白之道 维护网络信息安全 2016网络安全政策 网络信息安全服务包括,-1 信息安全的发展历程 威海网站优化 如何加快网站访问速度网络安全为标题 长沙网站制作公司 网络安全工作组 徐州网站制作如何定位 手机设计网站公司 计算机信息安全与管理 html5作业 建设网站 常州网站制作市场 青岛青鸟网络营销 上海网站营销 网络安全的解决方案 网络安全问题的文章 云平台网络安全 安全可靠应用 信息安全 2016信息安全会议 网站写文案 网络安全态势感知平台 网站建设陕icp 公安机关信息安全病毒性营销的视频案例 2016信息安全会议 大丰做网站 网络营销实训课程ppt模板 大华 网络安全 大丰做网站 聊城网站制作价格 手机设计网站公司 信息安全等级保护建设资质证书 网络营销的意义和作用