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

<a class="close" href="https://os7.yaonang.cn/">&times;</a>
网站设计 广西网络营销平台建设方案网站设计的论坛上市公司网站设计cisp培训ppt(中国信息安全产品测评认证中心提供)网络营销的十大问题及对策公司网站图片传不上去网络安全对抗数据赛网站的网页网络营销能力秀词条网络安全反黑视频教程天地有五行,五行可证道......误入核战后的异世界,遭遇生化魔物。 资源匮乏,科技倒退,身中剧毒,生命被当做了货币,就连武器也变成了原始的冷兵器。 血夜之下的斗者,以“活着”为生存信条,誓要撕碎这夜,刺破这天,凌驾于命运之上! 【雪碧回归之作,再次开启第三人称数据流,重温经典!】 世间,是否只是黑与白 任何不被认可的,难道就都是“暗” 若世间不去探求真理,那便让真理,来诠释这乱世混沌之初世界妖魔四行、为非作歹。少天—一个从小体弱多病的少年,为了生存而踏上修行之路。寻丹药治病,集五魂丹合金身,寻神器升修为。走向了拯救异界大陆之途。因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    一点剑意千川渺,两袖白云万仞摇。我是太白,看我狗履山河。君曾见,一代威名赫赫的人王只不过是个善于种菜搭理农家小院的归隐居士。 君可见过一代剑仙也只不过是个在街市码头赤膊耍刀弄剑的杂耍艺人。 君又可曾见一界主宰厚脸相求借宿农舍, 只为了偷人家树上的果儿解解馋。 都说龙潜深渊,蜕皮重生势必不凡,又说凤翔九天,浴火涅槃贵不可言。 可实际上却是龙困浅滩遭虾戏,凤羽飘零,受鸟欺。他们也都是身陷这世间大泥潭苦苦争渡,以求找机会涅槃重生,重掌前日辉煌,再创今朝不朽传说。千万不要翻开这本书。 从你翻开它起,你就被书中的灵缠上了。 它会赐予你想象不到的强大力量,但也要你付出对等的代价——一生坎坷,身不由己,事与愿违。 不要妄图与神作对,否则结局将是无比悲惨的; 也不要相信有可以超越一切的爱情。 …… ——所以,你看到了什么?由华夏国科技小组首次研发的虚拟真人游戏《神域彼岸》一度火上国际,无数玩家纷纷开启异世界冒险,这款游戏展现的是真人第一视角,将自己的大脑意识传输到虚拟的空间中,来到异界开启战争、打怪、生存,争斗等各种玩法,一度登上国际热搜。 而男主高中生刚刚毕业,在接触到这款游戏时,从刚开始的成长到遇见领路人,在到带领省级争夺域主,之后,更是由于之前丰富的战斗经验,竟然成为了国际参赛员,将代表华夏国与其他国家开启一场虚拟竞技,带领着自己的队伍开启一场成王败寇的道路。 这也是一个唯美的爱情故事,女主双腿残疾本来是永远不会站起来的,但是在游戏里遇到了男主,二人通过一系列冒险和参加比赛,给了她信心,让她有了面对的勇气,到了最后完成了奔赴。秦凤鸣,本是一名山村普通少年,误食无名朱果,踏入修真路,以炼器起家,凭借制符天赋,只身闯荡荆棘密布的修仙界,本一切都顺利非常,但却是有一难料之事发生在了他身上…… 本书自开更之日起,从未断更,请放心阅读。经典玄幻,就在《百炼飞升录》
信息安全等级定义 禹州网站建设网站主持人 学生观看网络安全信息 网络安全标记和标签 北京信息安全服务资质咨询公司,-1 信息安全等级保护的原则,-1 信息安全咨询服务 国外 信息安全政策 许可营销工具 2017公安部全国网络安全大检查 家庭关系的自我提升【www.richdady.cn】 家庭关系中的矛盾如何解决?【www.richdady.cn】 自闭症的环境影响咨询【www.richdady.cn】 有官司的原因分析【www.richdady.cn】 婴灵的前世今生【www.richdady.cn】 莫名其妙感伤的案例分享【企鹅383550880】√转ihbwel 婴灵的安抚与超度咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的治疗方法咨询【企鹅383550880】√转ihbwel 如何了解自己的前世今生【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的原因有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感调解【σσЗ8З55О88О√转ihbwel 大龄剩女的改运方法咨询【www.richdady.cn】√转ihbwel 婴灵对家庭有哪些影响?【σσЗ8З55О88О√转ihbwel 什么原因意外的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职业发展如何规划?【企鹅383550880】√转ihbwel 工作升迁的障碍与突破咨询【σσЗ8З55О88О√转ihbwel 耳鸣的前世记忆【微:qq383550880 】√转ihbwel 性压抑的咨询技巧【微:qq383550880 】√转ihbwel 家宅磁场对居住者的影响咨询【企鹅383550880】√转ihbwel 自闭症的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 营销页面策划 网络营销的十大问题及对策 网站建设合同 网络营销网站 网站的网页 国家信息安全评测证书 学校网站的作用 关于写策划的一个网站 现实生活中有哪些信息安全问题 最好网络营销公司 信息安全控制基础原则 营销软件一站式服务 性营销 网络安全系统公司珠海建网站专业公司 网站首页制作 网络营销线上培训机构 信息安全风险评估规范 阜阳网站设计 传统市场营销包括哪些内容 热点营销 网站网速慢 263网站建设怎么样 公司信息安全活动方案,-1 cisp培训ppt(中国信息安全产品测评认证中心提供) 信息安全顾问专业能力 网络安全攻防大赛 开放平台信息安全 性营销 营销的网站 网站关键词排名提高 2017公安部全国网络安全大检查 学校网站的作用 长沙做网站的 网络信息安全教学实验,-1 陌陌做营销 网站的设计、改版、更新 上市公司网站设计 淮安网站建设 sem整合营销代理 网站建设七点 为什么研究网络营销 国家信息安全评测证书 网络营销职能关系 网络安全标记和标签 影楼网络营销 大连做网站的公司有哪些 互联网信息安全要求,-1 b2b外贸网站 网络安全的博士 成都市网站建设 网络营销软文100字 vpn技术在网络安全中的应用 营销页面策划 许可营销工具 制作网站需要注意的细节 信息安全性测试方法 网络安全法 元年 免费网络营销软件 免费网站域名注册 信息安全服务高级工程师 网络营销的十大问题及对策 手机微网站 信息安全服务高级工程师 营销页面策划 网络安全的监督管理 sem整合营销代理 网站设计 广西 营销软件一站式服务 网站建设合同 性营销 杨波信息安全 公安部信息安全监察 最好网络营销公司 太原理工信息安全 信息安全入门书籍推荐 网站的申请 网络安全宣传活动 认证代码 信息安全 网站首页制作 网络安全法 元年 潜江网站建设 网络安全的威胁 参考书 创建免费网站 网络营销技术基础语言 什么是网络病毒营销 公司信息安全活动方案,-1 上海建立公司网站 网络安全评估:从漏... 最重要的网络营销工具 内蒙古网站设计 信息安全审计师 企业网络安全措施 广东地方网络安全法规 如何设计网站域名 网络安全规范 企业网站需要多少钱 织梦cms 网站所有的链接target属性 怎么统一修改 什么是网络病毒营销 南京微信营销软件 网络营销师考试 营销进企业 图书微博营销案例分析 网络信息安全部成员 手机微网站 开展网络安全认证检测风险评估 企业网站需要多少钱 网络安全的博士 网站的设计、改版、更新 b2b外贸网站 淮安网站建设 网站的设计、改版、更新 性营销 线上线下结合营销策略 营销有哪些职能 网络安全法 元年 国内网络安全 信息安全审计师 网络安全标记和标签 太原理工信息安全 企业级网站欣赏 建设手机网站费用 信息安全等级保护的原则,-1 网络安全的监督管理 制作网站需要注意的细节 南京微信营销软件 vpn技术在网络安全中的应用 枣庄网站制作 网络安全反黑视频教程 白城网站建设 影楼网络营销 最好网络营销公司 什么是整合营销理念 认证代码 信息安全 免费网络营销软件 网络信息安全教学实验,-1