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

<a class="close" href="https://chlhl.6098.com.cn/">&times;</a>
国家网络安全宣传周主题响应式网站建设咨询cdn信息安全管理系统信息安全风险评估平台,-1工业信息安全研究所深圳网站制作如何设置网站图标营销的内容北大青鸟网络营销班网络安全教育课程写网文好痛苦啊!一直写不出来啊! 要不来写日记吧? 正经人谁写日记啊?你写么? 我写~ 。。。。。。 天地六方,异界大陆 悲惨少年释然奋斗 异域之强敌侵犯我安然生活 我 极乐世界神官团 第一人神官长 随我一起征战全世界无敌流,嗯不好写,主角都无敌了,反派还怎么玩,爽点又在哪里?本书主角李小七一穿越到天神大陆就直接无敌,嗯是武力无敌,作者一开始是想从这开始故事,只是如此一来,通篇的就是杀戮,种马,无脑的剧情,毕竟武力值满级,主角的智商情商就堪忧了。所以本书会从主角穿越五年后讲起,武力值因为某原因暂时不会太逆天,主要是智战,写到这,作者脑海中不禁想起无限流开山的那句‘凡人的智慧’,嗯,无敌,就从主角的高智商布局和手下的强兵悍将开始吧。ps: 本书尽量做到角色智商在线,女主有存在感。末世降临,一场暴雨过后,地球上丧尸横行! 重生回来的宋严,意外获得了签到系统,从此一路高歌猛进! 当人们因为丧尸而畏首畏尾的时候,宋严一马当先地冲入丧尸群中! 当人们为了一把热武器抢破头的时候,宋严缴获了军火库! 当人们想要拥有避难所的时候,宋严攻下小镇发展起了根据地! 当人们愣神的时候,宋严已然成了传奇!李佑前世是京都大学历史系高材生,一朝穿越,别的穿越者什么金手指都有,唯独他带了个摆烂系统。好不容易靠自己努力开了家酒楼,这天三个中年男子来到酒楼,为首的自称老李,从此之后一切都变了,李佑说出任何决策,没多久就会被执行。不久后的某一天,老李说道:“其实我是你爹!”李佑心中一万只草泥马跑过,我帮你那么多,你居然想当我爹!!!你富可敌国?你权倾天下?在我面前都低调些。 我叫赵铁柱,普通小农民,可我既能救你的命,也能要了你的命。告白被拒,穿越成废太子又如何?远离纷争,就如同潜龙出渊,龙翔九天,终有一天,亲手夺回我应有的一切。万界战场波澜壮阔,异魔入侵,诸天颤栗! 不屈少年唐尘,不忍看父母被魔宗征召上万界战场,于是仗剑闯魔阵,得混沌仙魔诀,踏上万界征途,一路拔剑,管他仙魔神佛妖,不服?给一剑,还不服?再给一剑。 我要成魔,谁人能阻,我要为仙,谁奈我何,是仙是魔,我自己说了才算。 仙魔同修,剑指万界我为尊!天地玄黄,宇宙鸿荒……一个老大的人干嘛还读这个?啥?我小叔叔是个盗墓的?末世,古武,异能,机甲,格斗,热血。 公元2138年。人类科技获得了长足的进步。 为了延长寿命,科学家们进行了一项秘密研究。导致一种名为猩红素的病毒扩散全球。 自此之后。 红雾降临,人类的欲望失去了道德的束缚…… 饥饿,权力,贪婪,色欲……人类将永坠的黑暗之中。 而少年白泽也再也没有见过自己的养母白月魁。 且看他如何带着妹妹,一步一步的在末日中艰难求存,并最终找出末日真相。
营销型网站sempk 什么叫网站的空间感 网站设计公司无锡 网站流程 高校信息安全方案 网络安全法检查内容 网络安全网站大全 营销型网站sempk 蘑菇街微博营销 政府网络安全事件通报 外灵的种类咨询【www.richdady.cn】 如何判断被冤亲债主干扰?咨询【www.richdady.cn】 大龄剩女的婚恋规划如何制定?咨询【www.richdady.cn】 与公婆前世的影响分析【www.richdady.cn】 孩子厌学的前世因果【www.richdady.cn】 发育倒退对孩子心理的影响咨询【www.richdady.cn】√转ihbwel 与老公前世的前世解析咨询【企鹅383550880】√转ihbwel 家庭关系的幸福指南有哪些?【企鹅383550880】√转ihbwel 前世今生的缘分再续咨询【σσЗ8З55О88О√转ihbwel 改善脑部不清晰的方法咨询【企鹅383550880】√转ihbwel 无形干扰的咨询技巧【www.richdady.cn】√转ihbwel 干扰【www.richdady.cn】√转ihbwel 为什么过世的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的梦境解析【σσЗ8З55О88О√转ihbwel 与公婆前世的前世案例【www.richdady.cn】√转ihbwel 与公婆前世的咨询技巧【σσЗ8З55О88О√转ihbwel 忧郁症的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 化解【微:qq383550880 】√转ihbwel 前世今生的缘分揭秘【σσЗ8З55О88О√转ihbwel 发育倒退的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 北京信息安全中心地址 网站制作公司 云南 营销型网站sempk 龙岩做网站 公关营销 知名的网站建设 信息安全方案实例 知名的网站设计公司企业网站联系我们 网上营销的思路 网络营销能力秀互粉 网站设计 深圳 信息安全登记保护,-1 网站流程 龙岩做网站 网络营销师在哪里考 网络安全创新生态联盟 信息安全是程序员吗 网络安全类产品 网络安全教育课程 江苏省信息安全等级保护网 建立信息安全应急管理 北大 信息安全 专业 国家计算机网络安全中心 知名的网站设计公司企业网站联系我们 网站制作公司 云南 网络营销的课程 网站网络安全情况汇报 整合营销传播什么意思 网贷网络营销 公关营销 北京信息安全中心地址 网络营销师在哪里考 网络安全法检查内容 网络安全概述 ppt 京东的营销渠道设计 计算机网络安全实训报告 信息安全技术 信息安全风险评估规范 gb/t 20984-2007 网站站制做 音乐网站的色彩搭配 搜索引擎营销的分类 搜索引擎营销的分类 网站设计公司无锡 杭州网站设计 企业信息安全价值 音乐网站的色彩搭配 市场营销网络培训 图书微博营销案例分析广东网络安全标准 网络安全测评机构申报 网络营销能力秀互粉 网络安全设置包括哪些? 等级保护和网络安全法 网上营销的思路 网站制作视频教程 信息安全审查 网站站制做 东阳网站建设 网站制作公司 云南 如何设置网站图标 网络安全高级编程技术 怎么攻击网站 手机网站自助建 杭州网站设计 网络营销师在哪里考 为什么要整合营销 营销的内容 网络营销和互联网运营 营销型网站设计招聘 北大 信息安全 专业 网站制作字体 关于开发活动的信息安全要求 如何设置网站图标 信息安全方案实例 腾讯网络安全 秒收网站 网络营销案例 网站网络安全情况汇报 全国信息网络安全协会 新华三网络安全认证 网上营销的思路 网络营销案例 公关营销 知名的网站建设 第十届信息安全会议,-1 网贷网络营销 网络安全信息共享平台 高校信息安全方案 青海网站建设 网络安全和软件开发 市场营销网络培训 知名的网站设计公司企业网站联系我们 物流网站建设计划书 建立信息安全应急管理 整合营销传播什么意思 信息安全 案例 网络信息安全教学实验,-1 手机响应式网站 广州网络营销培训 地推营销技巧培训 信息安全审查 网络营销的课程 工控网络安全烟草方案 个人网络安全的重要性 知名的网站设计公司企业网站联系我们 基于基因网络安全检测 德州做网站 网络安全防护评测报告 针对用户面临的电子邮件安全威胁设计一套完整的网络安全解决方案 北大青鸟网络营销班 flash网站开发 建微网站需要购买官网主机吗 网贷网络营销 针对用户面临的电子邮件安全威胁设计一套完整的网络安全解决方案 江苏省信息安全等级保护网 蘑菇街微博营销 信息安全定级备案 江苏省信息安全等级保护网 网络安全网站大全 广州网络营销培训 网络安全类产品 网络安全信息共享平台 怎么攻击网站 2017网络安全大会上海 信息安全国标 网站制作公司 云南 网络安全设置包括哪些? 什么是互联网新媒体营销策划 中国网络安全敏感国家 cdn信息安全管理系统 关于信息安全的比赛 工业信息安全研究所 高校信息安全方案 网站设计 深圳 web信息安全 考研学校 政府网络安全事件通报 中山网站设计