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

<a class="close" href="https://s5kj.shenzou.cn/">&times;</a>
网站搜索框网购网络营销基础知识龙岗网站建东莞企业推广网络营销营销网字典营销重庆网络营销战略设计佛山企业网站建设咨询长沙微网站电话号码东莞企业推广网络营销本作品的名字叫做小岛:螳螂效应。作为螳螂效应的名词解释本作品会一一阐述。一艘由中国港口通往南极的旅游游轮在太平洋上向南极洲缓缓驶去。船上有面临离婚舆论压力的女明星,还有精通地理学海洋气候的专家地理学教授,还有高智商表面上看似善良的心理学教授,还有因学业失败和前女友离开沮丧的小帅。四个人在邮轮中彼此相互了解。可是,天有不测风云。游轮由于风暴影响而不得不更改航线。然而一场海难让几个人紧紧的贴在了一起。小帅女明星地理学教授心理学教授四个幸存者前往了孤岛布韦岛。在那里每个人将展现内心最黑暗的一面,伴随着岛上一个一个人的死去,巨大的阴谋浮出水面……身患绝症,无力回天。 机缘巧合,凌凡绑定振兴武道系统,担负振兴武道之重任! “我这一拳二十年的功力,你挡得住吗?” 一拳之下,树干爆炸! 然而,传武失去信任,各种声音不断。 “传武都是垃圾!” “除了样子好看,这玩意有杀伤力?” “练武有什么用?大人,时代变了!” 可当凌凡武道通神,一脚踢飞货车!两指夹住子弹时。 全网炸裂!掀起武道狂潮!我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。万年后的木阳突然苏醒,不对,他现在不再是木阳,而是,沐阳。 可恶!我阴差阳错下怎么变成女孩儿了? 随着历练的推移,万年前的迷雾渐渐拉开。亦师亦友的道灵子的下落如何?九洲界如今局势如何?万年前的神战为何会发生? 她发现,她的转世,早已注定,而她,又究竟是谁呢? 我若成神,天下无魔。我若成魔,神又奈我何? 年仅17岁魔界天才在这样一个神魔对立,烽烟四起的世界中横空而出。他本性善良,却因种族间的歧视而被带上了邪恶的乌帽。身为魔界的贵族,他放弃了本该属于他的那份豪华与舒适,却带着满腔的热血踏上了一段艰苦的修炼征途。他会有一段怎样的未来? 他能否用自己的行动向世间证明自己的存在。(轻松搞笑+海王+多女主+文抄公+迪化) 那一年……陈黎回到了17岁。 看着镜子中的自己,欲哭无泪。 生性散漫的他剪掉长发后,却像是变了一个人…… 他身披众多马甲,游离在万花之间。 众人对他的认知,始终停留在表象。 父母觉得他是软饭王! 美女觉得他是绝对的天才! 朋友觉得他是江湖大佬! …… 实际上,陈黎只想做一个真诚的人。 ps:本书又名《我的马甲有点多》、《我真的很专一》 秦小乙反抗命运的一部书失忆的少年,醒来后唯一所拥有的只有身边的一把黑剑。他渴望回忆起自己的记忆,机缘之下,少年救下了一名美丽的少女,少女作为回报愿意无条件的收留并帮助他寻回记忆,从此以后,少年以一名学生的身份重新开始生活。命运的齿轮同时开始旋转,不断回忆起来的记忆碎片,为何都与千年前的魔王有关呢?一个个的邪星士,一个个的记忆碎片,在记忆的碎片面前,他会做出如何的抉择呢?他最后的愿望,又会带领这个世界走向怎样的尽头呢?乡村小子李二蛋意外获得仙尊传承!结果!清纯少女想要他,乡村美妇占有他,高冷女神强迫他...谁能告诉李二蛋怎么摆脱这些女施主?穿越大武侠世界武当山,成为武当派第三代弟子首徒宋青书,并激活挨打就变强系统。 开局获得金钟罩大圆满! 黄衫女:你怎么也会九阴真经? 扫地僧:可恶!他金钟罩的境界怎会比老衲还高? 帝释天:老夫游戏人间千余年,竟然还比不上一个二十出头的小子…… 宋青书二十六岁,已站上武林之巅,被尊称一声无双剑仙!
网络信息安全监管方案 武汉 网络整合营销 国外的网络安全如何落地影音微营销 门户网站 网络安全 国家网络安全管理部门 网络营销要做什么 龙岗网站建 重庆网站制作公司 做定制网站 信息安全的cia 升迁障碍的原因有哪些?咨询【www.richdady.cn】 婚姻生活不顺的沟通技巧【www.richdady.cn】 婚姻生活不顺的自我提升咨询【www.richdady.cn】 外灵干扰的前世因果咨询【www.richdady.cn】 人际关系不好的前世记忆咨询【www.richdady.cn】 前世缘份的前世案例【σσЗ8З55О88О√转ihbwel 失业的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的前世因果咨询【www.richdady.cn】√转ihbwel 学习成绩差的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度方法咨询【企鹅383550880】√转ihbwel 升迁障碍的咨询技巧咨询【企鹅383550880】√转ihbwel 与老公前世的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情问题咨询专家【www.richdady.cn】√转ihbwel 纠纷的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响人际关系?【www.richdady.cn】√转ihbwel 缺心眼的沟通技巧【www.richdady.cn】√转ihbwel 前世老婆的前世缘分咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的识别方法【企鹅383550880】√转ihbwel 网络营销工程师教材 营销的外部环境 中国网络安全委员会 网站类型案例 信息安全流程框架,-1 网络安全协议分析实验 北京代建网站 深圳做企业网站的公司 认识网络营销调查的基本方法是 广州企业网站建设 网络营销的作用是什么意思 高端的佛山网站建设 网络营销公司 浙江 网络营销要做什么 烟台网站建设设计 东莞网站建设培训 网站建设合同 2014网络安全报告 手机打开一个网站说你的浏览器不支持javascrip 网络信息安全基础实施细则 信息安全身份认证技术 上海做网站的公司官网信息安全内审员培训 想建网站 公司建网站 成都企业网络营销 郴州网站设计 南宁专业网站制作设计 中小企业网站制作 中国网络安全委员会 网络安全 网络文明 如何认识互联网营销 个人信息安全评估办法 信息安全对抗赛要求 网络安全相关知识 公安部网络安全对抗赛 网站设计文档 网络安全相关知识 网络营销工程师教材 中山大学信息安全技术研究所 快速网络营销费用 企业网站必须实名认证 营销的外部环境 网络信息安全监管方案 书法网站建站目标 深圳做网站公司 做定制网站 网络安全相关知识 网络营销公司 浙江 网络对营销的影响力信息安全方面主要工作 重庆有哪些营销公司 广西首届网络安全 加家集是什么营销 专业开发网站公司 网络营销教学实践平台 无线网络安全隐患 互联网信息安全的解决最终还是要 网络营销的作用是什么意思 网络安全类的公司排名 德州网站建设 牛肉干营销 互联网 和 网络营销 陕西手机网站建站 重庆有哪些营销公司 网络营销实训ppt 信息安全运营 谷安 信息安全意识手册 双色调网站 杭州信息安全公司排名 企业网站案列 网络安全4292017 成都市网站建设 德阳网站建设公司 东莞网站建设培训 秦皇岛网站开发公司 论坛如何做病毒营销 长沙微网站电话号码 信息安全流程框架,-1 包头市计算机公共网络安全协会 网络营销可信吗 乌鲁木齐网站设计 徐州网站二次开发 想建网站 上海营销型网站 互联网信息安全平台 个人信息安全评估办法 产品型网站 字典营销 营销与广告的区别与联系 营销软件一站式服务 重庆网络营销战略设计 做定制网站 如何做好网络营销投资 太原做网站 交互式网站 c 网络安全编程 网络营销工程师教材 优秀个人网站欣赏 双色调网站 中国网络安全委员会 专业开发网站公司 网站呢建设 成都企业网络营销 高端的佛山网站建设 中国网络安全委员会 无锡网站 深圳做网站公司 北京搜索引擎营销策划 无锡网站 营销网 网络软营销 网站模板和定制的区别 信息安全流程框架,-1 2014网络安全报告 营销与广告的区别与联系 企业网站必须实名认证 制作外贸网站的公司 许可营销的工具 2016 网络安全ppt模板 银行 情感营销 短信 北京代建网站 网站建设技术 高端大气的综合性网站 网络营销策划师 网络营销成本核算 信息安全管理局 网站设计文档 营销的外部环境 认识网络营销调查的基本方法是 免费网站域名申请 网络营销专业好就业吗 网络营销的作用是什么意思 大数据信息安全分析师 做定制网站 书法网站建站目标 上海做网站的公司官网信息安全内审员培训