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

<a class="close" href="https://ivo.zhejiangjili.cn/">&times;</a>
广州网站优化泉州网站制作常州网站优化企业网站系统安恒信息安全企业网站系统网络安全网页百度云资源 网络安全外贸网站营销方案网络安全审查 浪潮网站页面设计谁能左拥天下,右抱爱情,笑看风云数千载?太阳神?佛祖?朱雀?光神?青龙?水神?玄武?白虎?谁主宰风云数千载!拥有【满级肉身】的苏叶,穿越异界,成为显魔宗疯魔院的杂役弟子! 被女魔头吊着打,获得天魔神掌。 被老魔头拿头撞,获得种魔大法。 被小魔头当沙包,获得霸王神斩。 …… 在疯魔院当杂役这些年。 有郁郁寡欢的师妹,来疯魔院供奉魔头,经苏叶指点,修成九世女帝! 有身世卑微的凡人,来疯魔院供奉魔头,经苏叶调教,成为天下共尊的魔皇! 有朝廷弃徒的皇子,来疯魔院供奉魔头,经苏叶点拨,成为横扫大陆的一代帝王! * 六十年后,魔道天榜揭示,排序魔道强者,苏叶独占鳌头! 榜单备注——神魔共主! …… 在部落与外来势力集团利益冲突中, 解决问题的最有效手段就是, 挥舞手中的上帝之鞭,那是最通行的语言。 请跟随狙击战神, 进入神秘非洲,统领部落,反抗霸权,重树正义, 铸就封神的传说! 去体验热血澎湃,野性喷张的另一种生命状态。 汪铭出生在一个并不富裕的家庭却还算奔小康的家庭,在他出去帮父亲买烟的时候却出了车祸,却是不幸中的万幸,因为冥冥之中让他遇见了外星人杰克,命运就此改变 出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】 异世赌徒遇到当世疯子,风云变幻,看得他俩如何作死,在这人命如草芥的世界,如何为人类谋福祉呢?一个平凡的摸鱼打工人,一次宿醉后莫名转生异界。 获得了先天灵根,开启了一段朋克的修仙生涯。三国迷周宇,穿越到了身处东汉末年另一个名为周宇的身上。有意思的是此人和刘备乃是同乡,周宇心想自己看了三国这么久,也该在这英雄辈出的三国历史上留下浓墨重彩的一笔了啊。当看到自己的宝贝妹妹遭受到鬼怪的侵袭的时候 黄天明知道,他的超能力再也藏不住了! “妖孽!放开我妹妹!有什么事冲我来啊!” 鬼怪:“小子,既然你找死,那我们就成全你!” 当鬼怪转换目标朝着他直冲而来之时。 黄天明大喝一声从兜里掏出了一条女式胖次,表情肃穆的喊道, “感受绅士的力量吧!” 然后,头带内裤的他就这样化身为超人将这些鬼怪揍得哭爹喊娘。 这是一个穿上女装就能变强的摄影师和他的主播妹妹的都市猎奇故事镇物,也叫镇邪之物。在民间,镇物用于镇墓、镇宅等。 镇物用得好可以救人,而被心术不正的人利用,也能杀人于无形。
It信息安全心得 重庆商城网站制作报价 网站子域名 视频营销软件都有什么软件 企业网站的意义 武汉网站设计 广州网站优化 绿盟网络安全审计 2017信息安全对抗大赛 国家网络安全中心 心慌胸闷头晕的心理调适【www.richdady.cn】 心理咨询与灵性指导【www.richdady.cn】 如何应对突然失业的情况咨询【www.richdady.cn】 心慌胸闷头晕的解决方法咨询【www.richdady.cn】 升迁障碍的原因分析【www.richdady.cn】 发育倒退的环境影响【σσЗ8З55О88О√转ihbwel 官司的调解技巧咨询【微:qq383550880 】√转ihbwel 孩子学习不好的前世因果【www.richdady.cn】√转ihbwel 精神不振的解决方法【企鹅383550880】√转ihbwel 发育倒退的案例分享【微:qq383550880 】√转ihbwel 心慌胸闷头晕的环境影响【微:qq383550880 】√转ihbwel 解梦的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 忧郁症的治疗方法【微:qq383550880 】√转ihbwel 失业的案例分享【微:qq383550880 】√转ihbwel 失业的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的自我提升【企鹅383550880】√转ihbwel 脑部不清晰的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场晋升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网站客户评价 营销环境分析的内容 广州市信息网络安全协会 建行个人电子营销平台 网络安全数据管理局 分享经济营销 北京微博营销服务商 内部营销方法 石家庄网络安全公司排名 瑞星2014年中国信息安全报告 怎么给网站添加站点统计 如何自己建网站 三只松鼠营销的缺点 信息安全等级化保护规范 网站建设制作 南京公司哪家好 武汉网络营销 响应式网站 有哪些弊端 广东网络安全法研讨会 上海平台网站建设公司排名 中国信息安全问题日益突出的标志是什么 网站子域名 信息安全暑期教师培训 营销学视频 dw建网站 2015年工业控制网络安全态势报告 网站制作费用 新乡网站设计 广州市信息网络安全协会 淮安网站设计 q营销软件 河北大学信息安全专业 秦淮网络营销系统 国家网络安全中心 建设网站具备的知识 广东网络安全法研讨会 搜索引擎营销手法 网站公告滚动显示怎么编写在jsp页面中使上下连接循环滚动 南通网站怎么推广 信息安全等级保护方案院校,-1 信息安全需求包括什么 网络营销推广工具和方法 广州网站优化 网络安全风险评估情况 国家网络安全园区 营销策划平台 永久免费建站网站 衡阳网站优化 企业网络安全概述 营销环境分析的内容 中国网络安全 论文 网站内容 网站与维护 网站建设与推广是什么 淮安网站设计 景区网络营销选题意义 瑞星2014年中国信息安全报告 都江堰网站建设 dw建网站 网站建设营销的技巧 网络安全法对银行影响 单页面网站网站首页被k 武汉网站设计 张掖网站建设 行业平台网站建设 服务是软营销 键入网络安全密匙怎样解除 营销学视频 建设网站具备的知识 网络事件营销ppt 张掖网站建设 网络营销推广工具和方法 知名的网络整合营销 响应式网站 有哪些弊端 潍坊网站建设 马 中国网络安全 论文 全球信息安全网络信息安全的小说 网站建站系统程序 南昌建网站单位 怎么给网站添加站点统计 福建网络安全周 恶意刷网站 信息安全新媒体 app营销的劣势 温州网站制作公司 最新网络安全大会 网络安全售后服务 哈密网站建设 服务是软营销 常州网站优化 网站内容 安恒信息安全 信息安全资质包括哪些 武汉网站设计 全球华人网络安全大赛 网络安全在公司干什么 注册网络信息安全师 重庆企业网站建设哪家专业 内部营销方法 标志着网络营销的产生 网站展示型和营销型有什么区别信息安全服务资质测评 河北大学信息安全专业 网络安全在公司干什么 如何给网站添加音乐 厦门手机网站建设公司 行业平台网站建设 网络安全数据管理局 国家信息安全甘肃招聘 网站建设与推广是什么 信息安全服务资质(安全开发类),-1 网络安全 读书报告 国家网络安全中心 杭州网络科技网站 推广型网站 营销策划平台 重庆商城网站制作报价 三只松鼠营销的缺点 传统网络安全防护有哪些产品 中国大学生网络安全 福州公司网站建设 重庆企业网站建设哪家专业 广东网络安全法研讨会 秦淮网络营销系统 sms营销 传统营销模式的优缺点 全球华人网络安全大赛 q营销软件 福建网络安全周 国外网站设计 网络安全会议2017地址 外贸自动营销软件 网站公告滚动显示怎么编写在jsp页面中使上下连接循环滚动 网络安全服务费 信息安全暑期教师培训 龙岗网站设计效果 模板网站的好处