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

<a class="close" href="https://w1fi.3061.com.cn/">&times;</a>
微网站首页深圳企业网站建设哪家好信息安全产品销售,-1浙江网络安全宣传周网络安全 考研浅谈网络营销传统网站和手机网站的区别是什么网络营销渠道的成本网络安全 两会各国网络安全投入 可悲的不是失去,而是失去后,无法继续前行。 这是一个冗长的梦,带你走进不一样的玄幻世界!自古乱世多诡异欲望与愿望,仇恨与守护...... 名为“奇迹”的力量往往需要付出代价 这是关于少年北星河,不堪忍受命运的安排,通过“奇迹”逆天改命的故事。 学生杨小东,无意中卷入一次激烈的足球赛后,便真正地热爱上了足球,经过一番刻苦的锻炼,更有一段离奇的经历,杨小东渐渐成长为了新的球王,他带领着自己的球队南征北战,东闯西杀,战绩辉煌,创造了一个又一个炫丽的神话……世界末日,一场危机席卷全球,深渊、黑雾、高塔,是外星人降临地球,还是地底生物要重新统治世界,一切迷雾的源头尽在仙魔屠戮场。已知宇宙诸多文明对地球虎视眈眈,华夏组织超级连队铁浮屠,为阻挡外星力量筑起保卫地球的血色长城夕阳西下,几只海鸥从海上飞过,被金色渲染的沙滩上有两人互相看着,沉默不语。 一人黑衣,一人白衣。时间好像静止了一般。 许久之后,白衣开口打破了之间的寂静:“我觉得,还是你错了”黑衣听愣了一下,好像很轻松的说:“这是自然嘛,你为了你的理想,我为了我的理想,我们都不知道对方干什么,却都说什么都支持对方,到最后才发现对方竟然是自己的对立面,自然是觉得对方错了嘛”说到最后才发现时语气却多了分伤感,凄凉。“那,那你来这里干什么?”“这里是,是梦开始的地方啊” …… 最后只听见白衣说:“明天我不会留情” “我也一样”宋末,蒙、金、宋战乱不断,南宋李庭芝、李继先、张世杰三位从小长大的兄弟,一起读书、练武,心怀大志,有勇有谋,共同投身于保家卫国的行列,李继先先后结识了诸如余玠、杨亮节、李芾、王坚、文天祥和陆秀夫等名臣名将,又结识了诸如慧通、玉虚三仙、桃源四剑、潇湘剑客、剑南六洞仙等江湖豪杰,他们虽然出身不同,性情和志向各异,但最终都聚合到了抗敌保国的队伍中,他们忠心于国,侠义冲天,文武超群,在政治与江湖间穿梭,同奸臣、叛徒、敌军、仇人不断对战,最后随着南宋的一路失败和灭亡而纷纷牺牲,余留之人最后看到元朝新生气象后,感到天下一统是民心所向,便顺应大势,退隐山野。阴间把大千世界鬼混分为五山分别管理,东方桃止山,西方嶓冢山,南方罗浮山,北方罗酆山,中央抱犊山。五山一共十一位鬼帝,隶属于酆都大帝,凌驾于十殿阎罗王之上,拥有共计七十二名护法夜叉。鬼主阅系属东方鬼帝,与蔡郁垒神荼并称东方鬼三帝。凡人美其名曰除鬼护法大将,鬼称鬼帝东先生,座下共计十二名护法夜叉协助主阅,掌管七百八十七方小世界。清理顽固残留在人间的鬼魂,以免重蹈罗酆山覆辙,避免让一方小世界成为无人之境。玄元大帝斗兽失败,列国入侵,判乱四起,群雄逐鹿,看国仇家狠,儿女情长,英雄热血,何去何从.....
东南大学信息安全竞赛 金融营销的网站设计案例 国内网站设计案例 域名和网站 网站的模板卫龙网络营销方案范文 泰安网站开发 供应链 信息安全,-1 网络营销的职位有什么区别 网络安全专利 东莞做网站it s 头脑混沌的案例分享咨询【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 前世老婆的前世案例威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 有官司的法律咨询【www.richdady.cn】√转ihbwel 前世老婆的前世修行【www.richdady.cn】√转ihbwel 学习成绩差的家庭教育威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世解析【微:qq383550880 】√转ihbwel 人际关系不好的原因分析【企鹅383550880】√转ihbwel 升迁障碍的自我提升咨询【微:qq383550880 】√转ihbwel 升迁障碍的改运方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的前世故事咨询【www.richdady.cn】√转ihbwel 提高孩子阅读兴趣的方法【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕【σσЗ8З55О88О√转ihbwel 感情纠纷的情感和解方法有哪些?【www.richdady.cn】√转ihbwel 名词解释网络在线营销 工控网络安全行业 滴滴出行营销案例 内容营销百度百科 网络社区营销的功能 常用网络营销app 上海众人网络信息安全 网络安全面临的威胁 传统网站和手机网站的区别是什么 长沙微信营销 搜索引擎营销案例 cps营销 衡水做网站找谁 合肥做网站 个人网站模板 tcp/ip协议族加密术和网络安全 信息安全证文 工控网络安全行业 滴滴出行营销案例 内容营销百度百科 网络社区营销的功能 常用网络营销app 上海众人网络信息安全 网络安全面临的威胁 传统网站和手机网站的区别是什么 长沙微信营销 搜索引擎营销案例 cps营销 衡水做网站找谁 合肥做网站 全网营销有什么好处 忻州网络营销 网站无备案 传统营销方式的手段 如何测试网络安全性 网站设计工作室网站建设常规自适应 网站备案要多久 一个虚拟主机在原网站根目录下加个子目录用域名转向怎么操作? 北京企业网站建设方 杭州互联网营销培训 信息安全专业报名 网络安全渗透测试 英文版 深圳企业网站建设哪家好 数据库营销 企业网站设计需要多久 青岛高端网站设计 深圳网站营销公司 tcp/ip协议族加密术和网络安全 国家注册信息安全 国家领导人信息安全 微信营销文案 婚纱摄影网站制作 信息安全证文 网站评测的作用 家装微营销 手机网站开发技术 建立网站的价格 信息安全实验室排行 供应链 信息安全,-1 金融营销的网站设计案例 信息安全服务资质认证分几级 鹤山做网站 长春网络营销网站 商城购物网站有哪些模块 互联网网络安全潼南网站建设 北京企业网站建设方 赣州做网站 2017年国家网络安全周活动主题 网站建设外包 搜索引擎营销的主要方式有哪几种 国家推进网络安全什么服务体系建设 东南大学信息安全竞赛 网站的模板卫龙网络营销方案范文 网络信息安全法主体 杭州互联网营销培训 北邮信息安全实验室 内容营销百度百科 郑州网站优化 各国网络安全投入 微营销运营 鹤山做网站 营销一体化 网络营销时时彩 网站无备案 网络社区营销的功能 微网站首页 网站代运营 深圳网络营销哪家好 东营市报名系统网站设计公司 内容营销百度百科 网络营销途径都有哪些 金融 信息安全 报告 常用网络营销app 数据中心 网络安全法 信息安全实验室排行 牡丹江网站建设 网络营销证书在哪可查 国家推进网络安全什么服务体系建设 数据中心 网络安全法 广州信息安全服务资质咨询公司,-1 上海众人网络信息安全 永久免费企业网站申请 国家信息安全部门电话 网络营销渠道的成本 网络营销参考书 青岛服饰营销 青岛微网站建设 互联网网络安全潼南网站建设 网络安全面临的威胁 flash个人网站 数据库营销 网站备案要多久 2014年 网络安全 4p组合 营销策略方案 营销者网站 浙江网络安全宣传周 传统网站和手机网站的区别是什么 网站的模板卫龙网络营销方案范文 如何解决网络安全问题 衡水做网站找谁 淮南网站建设好 网络安全面临的威胁 个人网站欣赏 黄冈网站建设 长沙微信营销 京东的网络营销方式 机械行业营销型网站 cc技术 信息安全 做网站行业 国家信息安全部门电话 京东的网络营销方式 强强联手合作营销案例 搜索引擎营销案例 邢台网站建设服务商 强强联手合作营销案例