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

<a class="close" href="https://a7x.yizhouwan.cn/">&times;</a>
网站学什么电信行业信息安全茂名网站建设天津信息安全公司信息安全技术手段包括那些?网络营销策略论文衡水移动端网站建设信息安全国内数据申报服装网站 欣赏全国信息安全协会诸般时空,永恒唯一,可称大罗! 随着某方多元宇宙的大罗陨落... 这一天,血雨降世,众生恸哭,天地腐朽... 废墟中,一个脸跟煤球似的少年刚从梦中醒来便和一位老者四目相对。 少年环视了一下四周,哀叹了一口气,少年心想:这次是垃圾场啊~我也真够衰的… 随后少年看向老者,试探道:“嗨?” 老者:“……嗨?” …… 老者两眼发光,对少年道:“孩子啊,我看你资质不错,不如跟我学点手艺?”李易,穿越到大齐王朝,从富商之子,凭借从地球上学来的知识,一步步成为大齐第一异性王爷。周围美女如云,手中权势滔天,家中富可敌国,身边高手如云,部下文臣武将,从此走向人生巅峰,逍遥又自在!无数人类降临荒原大陆,成为领主! 每人获得一种初始随机兵种与一座英雄祭坛! 攻城略地,抵御怪潮,称霸无尽荒原! 方宇随机到了最无用的人族兵种......大夏人族。 “哈哈哈哈!我的兵种是黑暗骷髅,英雄是唤灵法师,我城里的怪比外面还多!” “还是没我的强,我的兵种是比蒙巨兽,强到没边!” 看着信息,方宇无奈摇头笑笑。 是啊,你们都挺厉害的。 不过嘛...... “大夏城从一方小城发展到了足以抗衡帝国的存在,那位叫做李世民的英灵功不可没啊!” “糟了!大家快撤!嬴政来了,这家伙一天到晚就想着统一荒原,再不走,箭雨就到脸上了!” “老子的思想遍布了整个大陆,大夏又出了位神阶圣人!这是继墨子、孔子之后的第三位圣人了啊!这还怎么玩啊?” “什么老子?靠!那是太上老君!快跑!” 那一日,万族震恐!原来最强种族还得是人族! 大夏人族!!!这里有冠军侯霍去病,神威绝世马踏诸天! 这里有杀神白起,惶惶杀机天地畏惧! 这里有霸王项羽,力拔山兮气盖世! 这里有谋圣鬼谷子,双眼看尽世间百态! 亡国太子姜毅,筹谋十年。 将召唤而出的华夏人杰尽皆安排在敌方阵营。 十年后,在姜毅的命令下,一朝风起,华夏人杰各显神通… 姜逸也在华夏人杰的簇拥下,一步一步走向至高… 羊城火车站下来了一个刚刚从部队回来的士兵,一个拥有无尽战力却前途黑暗的强者,拥有上古血脉的王者平行世界恐怖游戏降临,全人类笼罩在阴霾之中,苏毅穿越平行大陆,召唤九大鬼王,狂推各类副本。 笔仙:苏毅真的狗,跟几只鬼王把我通灵出来,笔被他折断,换成了电笔。 贞子:我正从电视往外爬呢,苏毅的鬼王就把我电给拔了,卡在电视当间不说,愣生生扯着头发将我拽了出来。 湘西铜甲尸:苏毅非说我身上的是古董,把我铜甲扒了,要上交国家! 苏毅通关了副本榜所有高难度副本,自此副本里的鬼物抱团取暖。 “坚持下来,活下去!” 滚滚六道两茫茫 不知何处是家乡 身分血尽魂未灭 魔神归来无良绝 天地未分之初称为鸿蒙虚无(或混沌),鸿蒙之气便是唯一。不知多久孕育三灵,其一为女娲、其一为鸿钧、其一为问生。再不知多久孕育出一山名曰不周,又不知多久鸿蒙之中天地初成、上圆下方、飘忽不定。三灵以不周为基托天地于其上,以四维之力蕴养不周。此后三灵便居于初成天地之中。 许久以后天地之中孕育一灵曰盘古,盘古托天踏地天地初分。至此后天地孕育万灵,女娲以土造人为人族之始祖,后古神大战引四维不稳不周受损上天崩裂,女娲又补天救天地间生灵。 又许久人族出现纷争战乱不断,使四维不稳加重不周无养天地晃动,鸿钧教化人族、女娲安抚万灵,问生以本命神元修复四维使不周永固天地永存。尽管当今之世,英雄是跌出不穷,而后才发现,他算不得真英雄。重回九十年代,再小的人物,也将不会平凡,这本就是个小人物的大时代!裂口女,我是你的粉丝啊。贞子,说好了从电视里爬出来的呢。笔仙,别走啊回答我的问题啊。你们听我说我真不是神经病啊。。。。。。 爆笑灵异小说。慕鱼与各种鬼怪的离谱操作。
信息安全反馈热线 网络安全与个人 公安部 信息安全认证 网络安全协议包括 . 微博与微博营销的概念 网站外接 网站高端网站建设 网络营销策略体系 线上营销概念 上海制作网站的公司 孩子学习不好的解决方法【www.richdady.cn】 公司破产的前世因果咨询【www.richdady.cn】 婴灵的超度方法【www.richdady.cn】 工作升迁的障碍与突破【www.richdady.cn】 暗恋的咨询技巧咨询【www.richdady.cn】 前世今生的轮回真的存在吗?【企鹅383550880】√转ihbwel 为什么过世的前世解析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的前世缘分咨询【www.richdady.cn】√转ihbwel 耳鸣的前世因果【www.richdady.cn】√转ihbwel 家宅磁场的检测工具咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 改善脑部不清晰的方法咨询【微:qq383550880 】√转ihbwel 大龄剩女的幸福指南有哪些?【σσЗ8З55О88О√转ihbwel 儿子抑郁症的咨询技巧咨询【企鹅383550880】√转ihbwel 儿子抑郁症的心理调适咨询【微:qq383550880 】√转ihbwel 前世老公的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 亲子关系的心理建设方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 事业不顺的职场困境咨询【σσЗ8З55О88О√转ihbwel 4. 财运与事业发展【www.richdady.cn】√转ihbwel 昆明网站营销 网站轮换图 专业的西安免费做网站 服装网站 欣赏 信息安全技术大赛试题 南城微网站建设 关于网络安全的影视剧 免费建站网站 电器营销策划 建一个免费网站 免费pc 微网站模板 河南做网站 哪个大学网络营销 中国网络安全网站 南宁网络安全大赛 免费搭网站 手机版企页网站案例 c语言 和网络安全 dede移动网站时广告管理里面的网址为什么还是原来的 企业网站模版 网络安全与个人 计算机网络安全事件 计算机信息安全设计包括 网站高端网站建设 茂名网站建设 微博与微博营销的概念 营销策划 公司网络安全检查 线上营销概念 网络安全的主要技术 租车营销方案怎么写 网站设计工 西安市信息安全测评中心 iso27001 信息安全目的 网络游戏中营销植入 网站设计 深圳营销推广报价 网站改版seo 广州微信营销 淄博网站设计 昆明网站营销 电商营销公司做什么 网络安全岗位面试问题 分析网络营销环境分析 网络安全问题原因 酒店网站制作策划 企业网站app 网站外接 airbnb市场营销 网站模板 建大网站国家信息安全需要顶层设计 事件营销成功的案例 idc 信息安全市场 模版建网站 网络安全压力测试 深圳营销推广报价 网络安全学院课程设置 信息安全登记 信息安全管理内容 全国网络信息安全大会 2014 厦门酒店网站建设 信息安全 检测机构,-1 运城索引擎整合营销 关于网络安全的影视剧 事件营销成功的案例 网站设计工 国家信息安全服务资质认证 珠海品牌网站制作 免费建站网站 信息安全控制矩阵 武汉网站建设公司 网络安全与控制技术 酒店网站制作策划 网站学什么 网络安全产品系列名称 建一个免费网站 顺德网站建设要多少钱 威胁网络安全的主要因素 中山精品网站建设策划 网络安全战场 免费pc 微网站模板 网站的对比 广州网站优化公司 南通旅游网站建设 营销策划的含义 网络营销顾问的职责 全国信息安全协会 免费建站网站 信息安全反馈热线 网络游戏中营销植入 辛集做网站 营销的意义 当前php环境关闭了文件上传功能网站将无法上传图片和文件 网站内容添加 绵阳科技网站建设 免费网站制作软件 南通旅游网站建设 网络安全cia 想开一家网络营销公司 短信营销机 深圳网络安全木马培训 病毒营销互联网案例 公司不需要做网站了 营销的组成要素 威胁网络安全的主要因素 深圳网络安全木马培训 网络信息安全 网络间谍 c语言 和网络安全 勒索软件当前网络安全 成都 企业网站建设公司安询信息安全 精湛的佛山网站设计 网络安全的主要技术 营销的问题 网络安全等级保护工作的保障情况 网络安全与控制技术 做网站网络公司 如何建自己的个人网站 建大网站国家信息安全需要顶层设计 分析网络营销环境分析 网络安全与个人 网站关键词 ui的含义网站建设 信息安全 管理 手册德国网站建设 长沙商城网站制作 网络安全战场 国家信息安全工程类一级认证 免飞网站 计算机信息安全设计包括 做网站网络公司 云南省网站建设 信息安全技术在ftp中的应用,-1 河南做网站 网络营销策略论文 公安部 信息安全认证 中孚网络安全隔离卡