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

<a class="close" href="https://dmfc.shenzou.cn/">&times;</a>
方案图网站信息安全 讲话 2014网络安全误区成都企业网站建设公众微信绑定网站帐号idc 信息安全软件市场网络营销创新模式清华信息安全网络安全万网站建设手机网站设计开发服务新泰做网站免费的企业网站彗星掠过 陨石坠落,丧尸横行。 …… 浩劫已至,人性、救赎、正义、挣扎,新的秩序即将建立。 遥望深空,所有的未解之谜即将解开。 你。 熟悉的那片天空,还是原来的那片天空吗? ……没想到,一直以来只有在文艺作品中见识到的末世场景会在我的面前重现,丧尸,虫子,甚至是异界的亡灵,我们没有能够救世的超级英雄,没有黑科技武器,甚至,没有一个能安稳休息一下的落脚点,我们能依靠的只有我们自己的双手,在这个糟烂的末世中冲出一条路。天下六合,四海之内,天下诸国纷争不休。西南小国的时家二公子,奉命前往南楚,期间周游列国,在化解了一次次危机中,结识不少好友,寻到了世人梦寐以求的宝藏。在朝廷各方势力斗争中急流勇退,与伊人相忘于江湖......林逍重生,这一世,他要成为十方至尊。 绝世的丹药随手炼制,罕见的异兽乖乖收服。 守护家人是他心愿,不断变强报仇雪耻是他的目标。 这是一个强者陨落的重生路,若触逆鳞,不管是何方神圣,定让你灰飞烟灭!天地之气生万物,气流不止,物变不止。变则有增减,争胜可增,败则被减。人天性喜增厌减,趋增避减而有争,故人不灭则争不止也。 本书无女主,直男向。 (上班老不放假,所以更新慢,望读者见谅)万仙求道,万道来朝! 三百年前,陈少君被师父带上仙门,因为血脉原因难以练武,但却在炼器上天赋异禀,成为一代器君,与宗门六位师兄合称“北斗七圣”。 一场剧变,师父被害,北斗陨落,陈少君谪落人间,转生成为大商户部侍郎之子。 光阴荏苒,如今的他只是人间蝼蚁般凡人。 然而,这场剧变也同样打开了他身上的限制。 师父:“如果不是血脉的限制,你的成就就连师父也难以想像!” 书生宣讲,鬼神听道! 且看昔日器君如何一步步崛起,临天路,朝仙道,让诸天万界都为之颤抖! —— 欢迎大家关注我的微信公众号,关注请搜索皇甫奇。 QQ群:422905216王昭,一个生活在普通城市的普通人。 一觉醒来穿越到原神世界,这时候的时间段是—魔神战争期间。 淦,别的穿越者刚传送就有外挂加系统,自己怎么什么都没有? 他尝试呼叫系统,这一叫,热闹了整个魔神战争。 “诸天万界无敌系统,以后姐罩你。” 麻了,王昭人已经麻了。 之后,他靠着这个“诸天万界无敌系统”,横扫异界,一步步成为世界之主。 注:本文的主角是有后宫的(大概?),看不下去的小伙伴对不住啦!穿越洪荒百万年,还是玄仙修为   林长青绝望之际,师尊通天赐予九转金丹   没想到,竟然觉醒诸天赠送系统!   赠送九转金丹,返还百亿功德!   赠送通天剑符,返还神象镇狱劲!   赠送黄中李,返还混沌灵根!   赠送盘古精血,返还……   林长青行走洪荒,赠送无数宝物,杀妖,屠魔,救人族!   终于,当量劫降临之时,林长青一人横立量劫之前,挥手扫灭无边劫云!十六年前,他一家三口被人陷害。 父母惨死,他被医仙所救。 十六年后,他奉师父之命下山。 入赘宁家,成为豪门赘婿。 他武道称雄,医术通神。 身为赘婿,却狂放不羁! 为爱你,我甘做赘婿! 为护你,我愿举世为敌!那一年,万里河山狼烟四起。 枪声惊醒山林,硝烟弥漫古观。 终南山玄隐观小道士宋修,秉承师命下山入世保家卫国。 激战中,他竟意外穿越现代。 会医术,懂武术,能占卜... 琴棋书画,吹拉弹唱,都会“亿”点! 靠着一身本事,他成为实至名归的国民神医,国粹传承人,武道宗师。 本书又名:《我真只是个道士啊》,《都市:靠道士身份开始出圈》,《穿越现代之好好活着》。
网络安全产品全球排名 分享经济营销 重庆企业网站建设哪家专业 无线网络安全网关 郑州网站建设案例 计算机信息安全分级 重庆企业网站建设哪家专业 信息安全研究理论 免费的企业网站 医院网站建设 大龄剩女的婚姻选择咨询【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 心特别累的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的阅读环境咨询【σσЗ8З55О88О√转ihbwel 查财运专业服务【σσЗ8З55О88О√转ihbwel 意外的前世因果【企鹅383550880】√转ihbwel 前世缘份对现世的影响【企鹅383550880】√转ihbwel 家庭关系的咨询技巧【σσЗ8З55О88О√转ihbwel 精神不振的环境影响【σσЗ8З55О88О√转ihbwel 精神不振的前世因果【企鹅383550880】√转ihbwel 灵性成长工作坊咨询【企鹅383550880】√转ihbwel 孩子不爱读书的家长引导咨询【微:qq383550880 】√转ihbwel 前世今生的缘分如何解读?咨询【微:qq383550880 】√转ihbwel 家宅磁场干扰的原因【企鹅383550880】√转ihbwel 合肥大型网站制作公司 网站导航营销的优点 深圳网站设计平台 信息安全基础意识测评 建微网站 网络营销创新模式清华信息安全网络安全 网站怎么推广 信息安全相关的公众号 凡客公益营销 企业之后网络营销对比 网站设计 广州 如何改变网站首页栏目 常州低价网站建设公司 信息安全 linux,-1 中国网络安全公司招聘 林芝网站建设 2017年网络安全周北京 网站建设程序开发 中国国家信息安全产品认证证书等级 叫兽学院网络安全随身碟密码 关于企业网站建设的必要性 淘宝网营销策略分析 网络安全下载 武汉大学出版社 常州低价网站建设公司 网站预算 效益型网站 中国移动信息安全产品 小红书的营销目的 郑州网站建设案例 商丘市做网站的公司 浙江 网络 营销 好 创做网站 网络安全技术的选择 内蒙古网站设计 网络安全产品全球排名 川大信息安全系 东莞外贸网站推广 合肥大型网站制作公司 狮山建网站 自制公司网站 个人信息安全指南 网站导航营销的优点 外贸网站营销方案 好文案网站 什么是网络安全宣传周 重庆政府网站建设单位 亚太地区信息安全问题 2017信息安全事例 法律网络安全个人信息 网络安全分类标准 信息安全资质证书等级,-1 信息安全等级保护项目计划书 关于企业网站建设的必要性 seo网站系统 计算机信息安全分级 设计有关的网站 信息安全领域大会,-1 手机网站建设 网站建设需要哪些素材 南宁网站建设教学 瑞星网络安全工程师 网络营销管理 分享经济营销 信息安全领域大会,-1 川大信息安全系 南京网络安全类公司 星巴克营销 新闻媒体网络营销案例 郑州网站设计 网站制作 文案 学网络营销 上饶做网站 淘宝网营销策略分析 长沙企业网站建设团队 如何改变网站首页栏目 手机网站设计开发服务 国家信息安全 检测 公司网络营销定价策略 b端c端营销 凡客公益营销 林芝网站建设 创做网站 经典电子邮件营销案例 公司营销软件哪个好 建设手机网站包括哪些费用吗 江苏 网络安全上市公司 设计有关的网站 深圳网站设计平台 企业之后网络营销对比 好文案网站 手机版网站制作成都 企业 网站建设 网络安全 国家标准 网络安全产品有哪些 什么是网络安全宣传周 郑州网站建设案例 企业之后网络营销对比 网站配色方案 对比色 企业网站定位 手机网站建设 临沂高端网站建设 2017年网络安全周北京 双11营销 自学网络安全看什么书 无线网络安全网关 上海网站制作 cdn与网络安全 网站建设常州 信息安全的产品? 软件信息安全认证 电子商务网络安全 怎么建立个人网站 情感营销怎么聊天 网站页码 手机版网站制作成都 企业 网站建设 京网站制作公司 国家信息安全 检测 如何保证网络安全 网络事件营销ppt 深圳网站设计平台 centos 7 网络安全安装 网站建设程序开发 网络信息安全委员会 万网站建设 营销方式方法有哪些特点 浙江 网络 营销 好 网络安全百强 设计国外网站 广东营销网站建设服务 免费足网站 建微网站 关于信息安全的资料网络安全法的内容 关于信息安全的资料网络安全法的内容 传统营销模式的优缺点 制学网网站 网络安全技术的选择