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

<a class="close" href="https://xjp.saqin.cn/">&times;</a>
浙江省信息安全等级保护测评机构网站设计说明书企业网络信息安全培训班移动互联网营销特点华为手机 国家信息安全,-1信息安全策略实施方案国际网络安全法成都网站设计制作工作室吉安网站怎样自己创造网站中国网络安全形势世界本无对错,人间也无善恶,人也罢,兽也罢,都是为了活着,道不同,不相为谋。注:本书节奏较慢,二十章才是个小高潮,阅读前请先给作者一张原谅票,不管看不看,小比作者先谢谢各位了一个现代人到了古代会做什么。 裴尘对自己说: 如果这一切都是梦,梦醒时自然烟消云散。 如果这一切不是梦,那我要做的就是,好好活着,也让我身边的人,好好活着。 大周王朝,内忧外患,民不聊生,在这样的环境下,自己不愿随波逐流,想要改变。 事情要么不做,要么就做到极致。 纺织、制弩、黑火药、香皂、制盐、炼钢…… 一步一步的布局,一点一点的强大。 也有对喜欢人儿的心动、感动、冲动,以及对传说中武功的向往。 当低魔时代遭遇天灾人祸,当混沌神选开始觊觎这个世界,当旧日支配者降临世间,当泰伦虫族迷路至此,当遭受欲望的驱使互相征伐内斗,人类究竟可以坚持多久? 在末世的大框架下,人性的黑暗面暴露无遗,但勇气的赞歌也可以响彻云霄。 一双眼睛,看不清世态炎凉。 一壶浊酒,饮不尽爱恨情仇。 一张笨嘴,道不完沧海桑田。 一曲高歌,唱不清岁月蹉跎。 一段故事,只不过黄粱一梦。 本书所有主人公只是随着事件的推动而依自己的性格进行。他们只是这段历史的见证者,经历者 ,仅此而已。 万物轮回始于本末,功过是非,皆留各位看官评说。 本作不回会去影射现实生活,如有巧合实属雷同。 毕竟历史总是惊人的相似,我们只是历史的见证者。不到30岁,就登上了首富之位的林小虎。 正意气风发,却被告知查出了癌症! 召集顶尖的肿瘤专家,苦心研究了两年时间,却毫无转机。 他不甘心这样死去。 幸好,此刻,他觉醒了神级推演系统。 系统以计算力为基础,而提供计算力的是灵魂,灵魂越强,提供的计算力就越强! 只要计算力足够,系统能推演世间万物。 但仅凭他一人之力,断然无法提供足够的计算力。 于是,他有了一个大胆的想法。 开始推演元宇宙,连接所有的人类,让所有的人类都为他所用。 从零开始,在无魔位面推演超凡之路。 【集亿万人之力,推演超凡永生的下一步!】蓝星位置暴露,万族窥视,毫无征兆的进入了星际时代。 魔窟降临,巨兽入侵,神灵坐镇其他国家,唯大夏无神庇佑! 在这个热武崩塌的绝望纪元,大夏全民参战,青壮皆赴死。 唯独夏薪,及冠之年,身强力壮,却选择和一群老弱病残一起,留在后方锻剑打铁…… 逃兵,懦夫,大夏之耻,全网怒骂,众叛亲离! …… 夜幕降临,一道遮天蔽日的虚影映照整个大夏。 “吾名传道者,穿越时空,对话先贤,传尔大道,以御强敌!” 对话燧人氏,见证第一缕文明之火诞生,顿悟薪火大道! 对话神农氏,见证神农尝百草,顿悟炼丹大道! 对话大禹,见证禹刊九州,凝聚气运九鼎,镇守国境…… …… 某一日,夏薪无事,身躯盘坐大夏上空,一人一剑。 诸神见状,纷纷退避。 “前方大夏,万族噩梦!!” &amp;quot;北冥有鱼,其名为鲲。鲲之大,不知几千里也。化而为鸟,其名为鹏。鹏之背,不知几千里也......&amp;quot; “:有一天我一定要像鲲鹏一样翱翔于天地之间,畅游于四海之内,载物助人”辰羽激动地说道。 可直到意外到来,鲲鹏之语告诉他修仙的真谛...... 天外天,这个叶玄梦寐以求到达的地方,而叶玄并不知道的是,在这背后还有一个更加庞大的世界,一个无法理解的世界!水沝淼?……叶轩重生到高考一个月前 为了不让自己这个渣男伤害她的叶轩决定和她保持距离。 趁着这时候慕容雪没喜欢自己 叶轩准备透露点高考题目让她稳上青华 而自己去临安到时候天南地北,确没想到高考后看到她的录取通知书傻了眼五个小伙伴的游戏世界,推理、破案、破解谜团。
酷网站欣赏 中国网络安全形势 网站建设项目 山西网络安全公司 公安局网络安全解决方案 深圳品牌推广营销策划 国外信息安全工具 珠海网站设计 信息安全高峰论坛 银行网络安全评估报告 解梦的方法与技巧【www.richdady.cn】 什么原因意外的前世解析咨询【www.richdady.cn】 无形干扰的环境影响【www.richdady.cn】 解梦咨询【www.richdady.cn】 前世缘份如何影响事业发展?咨询【www.richdady.cn】 财运不佳的改善方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度流程【微:qq383550880 】√转ihbwel 家庭关系的改运方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的化解方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的教育策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的前世今生【企鹅383550880】√转ihbwel 婴灵的真实案例有哪些?【σσЗ8З55О88О√转ihbwel 前世缘份的前世解析咨询【企鹅383550880】√转ihbwel 前世缘份的前世修行咨询【微:qq383550880 】√转ihbwel 大龄剩女的前世记忆咨询【σσЗ8З55О88О√转ihbwel 祖灵与家运的关系【企鹅383550880】√转ihbwel 脑部不清晰可能是哪些疾病的表现【企鹅383550880】√转ihbwel 前世缘份的解读方法【σσЗ8З55О88О√转ihbwel 胶州做网站 国家网络安全研究院 网站设计说明书企业网络信息安全培训班 网络营销平台分析 网站建设大致价格2017 网络安全人员录用 济南网站优化 青岛设计网站的公司哪家好个人网站欣赏 h5经典营销案例 网络安全设备 网什么意思 信息安全培训ppt下载 长沙网站设计开发 常州制作网站价格 无锡谁会建商务网站 东营市报名系统网站设计公司 建立微网站 选手机网站 信息安全管理系统 范围 seo营销技巧培训班 网络安全 经典书籍 合肥网站设计高端公司 川大信息安全专业 信息安全的建议和意见 营销定制 信息安全培训ppt下载 信息安全与通信行业协会 信息安全测评中心 绿盟,-1 信息安全管理系统 范围 上海客服营销外包公司 网站建设项目 国际网络安全问题 网络营销信息传播效果 创建网站 网站搭建价格 搜索引擎优化和搜索引擎营销 国家信息安全事件,-1 广州响应式网站咨询 网络和信息安全领导小组 信息管理与信息系统 信息安全 网站制作优化济南 哈工程信息安全实验室 网络营销传播渠道研究 信息安全管理实验报告 网络安全 软件设计 怎样自己创造网站 邢台网站建设服务商 深圳网站和app建设 成都市华为存储网络安全有限公司 教育行业信息安全风险 信息安全策略实施方案 深圳手机网站建设多少钱 装修企业网站网络营销 网络安全初学者应该看什么 移动互联网营销特点 建设通网站 最流行的网站设计风格 信息安全培训ppt下载 选手机网站 装修企业网站网络营销 网络安全 经典书籍 国家网络安全研究院 深圳做网站的 服务营销网 2016企业信息安全事件 广州网络营销 网络营销能力秀 网络安全协议 pdf 学网站前端 2017年网络安全周 建立微网站 胶州做网站 维护网络安全我会做到 泉州石狮网络营销推广 网站建设导航栏设计 杭州全网整合营销 h5经典营销案例 论坛营销的技巧 口碑营销 失败 案例 哪些因素营销网站权重 idc网络安全市场 危害网络安全次数 保定 网站建设 中国网络安全形势 国内信息安全领域 很有风格的网站有哪些 酷网站欣赏 信息安全 教育行业信息安全风险 焦作建网站 找一个网络营销的案例并分析其采用了哪些营销策略和网络营销方法 信息安全化 饮料产品营销策划方案 网络营销平台分析 网站搭建价格 网站搭建价格 危害网络安全次数 高端全网平台整合营销 焦作建网站 信息管理与信息系统 信息安全 信息安全测评中心 绿盟,-1 2016年信息安全大事件 网站建设导航栏设计 信息安全管理实验报告 创建网站 无锡谁会建商务网站 设计师网站 信息安全连续性 珠海电商网站制作 济南网站优化 深圳网站建设迅美 近几年网络安全事件 信息安全认证中心 网站开发技术 网络安全控制器 信息安全读研方向,-1 常州制作网站价格 浙江省信息安全等级保护测评机构 网络安全大数据分析 昆明做网站公司 长沙网站设计开发 信息安全是什么类 太原网站改版 服务营销网 小迪网络安全渗透培训 珠海电商网站制作 网络安全平台教育平台 网络安全平台教育平台 网站开发技术 东营市报名系统网站设计公司 信息安全是什么类 搜索引擎优化和搜索引擎营销 珠海网站设计 网络安全硬件平台提供商 网络安全设备 网什么意思 云南建网站