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

<a class="close" href="https://zykt.timqun.cn/">&times;</a>
centos 7 网络安全安装信息安全深圳网站色调为绿色网站学什么北京信息安全培训北京信息安全培训南宁会员网站制作京东的营销策略分析报告最新网站建设语言新闻媒体网络营销案例元宇宙从此诞生,宇宙中最强的BOSS,可以挥挥手就能把星系和黑洞变成渣渣,到底是神创造了宇宙,还是宇宙诞生了神。而看似不合理的一切,却合理的可怕。主人公被表哥的实验带入特殊的人生轨道;这算是一部搞笑科幻立体小说,同时从多时空叙述故事,读者可以多维度阅读。 玄界有一个没有人知道的秘密,只要找到七颗神树,便可达到传说的境界。 云陌州一个小家族的年轻一辈林秦突然被叫去后山拜师。 这个少年一路上会遇到多么精彩的世界。  陆然继承了爷爷的遗产杂货铺,发现可以跨越两界,地球和玄幻世界。   玄幻世界灵气稀薄,物资匮乏,但修炼体系完善,地球灵气浓郁的可怕,却没多少人修炼,修炼体系更是一塌糊涂。   随便带过去一株中药去玄幻世界,都是人人疯抢的天材地宝。   玄幻世界不值一提的功法,法宝,拿到地球,都是顶级的。 依靠两界的物资差距,陆然迅速修炼,并发家致富。太初大陆,强者为尊。 草根出身的天才少年被情人背叛,惨遭杀害,却意外开启了仙帝传承。 从此,丹方、秘法应有尽有,天骄、强者无须畏惧! 练最高深的仙家道法; 去最危险的遗迹寻宝; 泡最优秀的绝色美人! 一路高歌猛进,所向无敌,感悟混沌法则,问鼎仙魔两界!未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!本是个混吃纨绔,装的 爷爷是盖世剑神,真的 父亲乃镇国将军,真的 哪我纨绔一点没问题吧?别逗《驯龙》这款游戏在全球掀起一阵狂潮。 自由度超高,给玩家带来了全新体验, 但没人知道开发者是谁, 自从游戏上架,全球失踪人口比例增加。 在这层阴霾之下,是更光明的未来,还是……降临人间的地狱。谛听众生,万象诸灵,天录达意,混沌之极。濒临死境的现代人类,意外穿越到了犹如古代一般的异界——翼世大陆。 “既然身负天引万象之力,我,就此替天行道。” 十二之境,再起波澜...毁灭还是再生?路离修闯荡脉元大陆,只为一人一承诺寻一处净土重建家园,可身边的人们一个接一个离去,无尽荒漠上仅留下了他一个人的身影。最终,被界兽包围,已成死局,他选择与周围所以界兽同归于尽。神秘的“太子殿下”和“灰发男子”似乎不愿他死去,以身献祭换路离修重生回500年前……一段离奇的记忆,一次扑朔迷离的经历,谁是凶手?谁是被害者?
用c做网站微网站无锡 企业营销中心 公司不需要做网站了 信息安全服务资质 申请书 成都好网站 网络安全 被动攻击 网站功能表安康网站建设 第九届信息安全竞赛 国家信息安全局电话? 川大信息安全系 耳鸣的前世因果咨询【www.richdady.cn】 内心恐惧胆怯的前世影响【www.richdady.cn】 纠纷的原因分析咨询【www.richdady.cn】 公司破产【www.richdady.cn】 老公家暴的原因分析【www.richdady.cn】 感情纠纷的原因分析【σσЗ8З55О88О√转ihbwel 3. 情感与心理咨询咨询【σσЗ8З55О88О√转ihbwel 如何识别外灵干扰的症状【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺的心理调适咨询【企鹅383550880】√转ihbwel 去世的父亲的前世修行咨询【微:qq383550880 】√转ihbwel 婚姻生活不顺的原因分析咨询【微:qq383550880 】√转ihbwel 儿子不读书的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症咨询【σσЗ8З55О88О√转ihbwel 性压抑的咨询技巧咨询【www.richdady.cn】√转ihbwel 前世今生的轮回真相咨询【www.richdady.cn】√转ihbwel 前世今生的轮回有哪些科学依据?咨询【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的原因分析【www.richdady.cn】√转ihbwel 脑部不清晰的心理调适咨询【www.richdady.cn】√转ihbwel 前世缘份的续写有哪些方法?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 国家信息安全局电话? 国家企业信息安全系统 搜索引擎营销竞价排名 网络安全 被动攻击 信息安全技术应用研究 公司不需要做网站了 网络安全应急响应中心 营销调研的基本方法 2016信息安全大会 维护国家网络安全英语版 法律网络安全个人信息 网络安全 ppt 2017 唯品会的营销策划方案 信息安全 CC 认证怎样设计网站 南宁会员网站制作 共享网络安全 国家信息安全局电话? 国家企业信息安全系统 搜索引擎营销竞价排名 网络安全 被动攻击 信息安全技术应用研究 公司不需要做网站了 网络安全应急响应中心 营销调研的基本方法 2016信息安全大会 维护国家网络安全英语版 法律网络安全个人信息 网络安全 ppt 2017 唯品会的营销策划方案 信息安全 CC 认证怎样设计网站 网站制作想法 阿里云 网络安全 中山微信网站 医院做网站 微网站怎么制作 网站系统建站 代理商营销 南宁会员网站制作 网络安全应急响应中心 2017信息安全会议 成都 国家网络安全宣传周活动主题 商城推广人际营销 网站建设前准备 佛山企业网站建设平台 公司营销软件哪个好 信息安全等级评测资质 信息安全深圳 网站制作想法 研发和信息安全,-1 网络安全圈 杭州网站设计公司有哪些 信息安全方针与安全策略 名词解释网络市场营销网络安全实名认证 云平台 信息安全 学网络营销 营销调研的方法 如何预防网络安全威胁? 青岛高端网站开发公司 信息安全方针与安全策略 静安微信手机网站制作 南宁会员网站制作 国家企业信息安全系统 工控信息安全技术 计算机信息安全分级 互联网 微信营销 网络安全敏感 罗马尼亚 成都好网站 企业营销中心 网络营销推广培训班 搜索引擎营销竞价排名 公司网络营销定价策略 网络安全工具 信息安全服务资质 申请书 网站设计规划 百度教育山东营销 ctf网络安全比赛 静安微信手机网站制作 阿凡达营销 2017信息安全会议 成都 互联网 微信营销 网络安全法的主管部门 信息安全服务资质 申请书 杭电信息安全 企业信息安全管理软件 网络营销是什么系 网站建设市场需求分析 网站学什么 网络安全和web安全 信息安全 测评 南京网络安全类公司 青岛高端网站开发公司 微博营销效果体现 系统营销 信息安全 rss 网络营销的发展趋势 网站导航营销的优点 如何实现网络安全 网站培训班 网站静态页 名词解释网络市场营销网络安全实名认证 模板板网站 网络安全应急响应中心 2014年信息安全大事件 中国网络安全大会 安徽 最新网站建设语言 川大信息安全系 支付宝的网络营销案例分析 成都网站创建 微博营销效果体现 营销调研的基本方法 网络营销课程济南 如何实现网络安全 网站的排版 最新网站建设语言 网站色调为绿色 网络安全入门培训 信息安全等级建设资质证书 网络安全 内容安全 供应链 信息安全的定义,-1 关于网络安全的证书 大连网络安全服务平台怎么走 中国国家信息安全产品认证证书等级 南京网络安全类公司 网络安全 ppt 2017 维护国家网络安全英语版 网络营销是什么系 网络安全产品名称 河南大学生信息安全 做网站创意 医院做网站 网站功能表安康网站建设 郑州网络营销落地 展示广告搜索广告以及sns广告三者在营销目标上的不同 公司网络营销定价策略 微网站怎么制作