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

<a class="close" href="https://7cu.xeqo.cn/">&times;</a>
外贸网站建设公司方案合肥品牌营销代理海尔的成功营销策略营销推广方信息安全产品测评认证级别重庆营销策划 优帮云短信营销渠道制造业 信息安全网络营销包括哪些营销如何与网站管理员联系做网站 深圳这是一个混乱的世道,看一对小乞丐怎么逆袭,成为一方霸主!!!野生的混血儿与人造的天真派少年 真实与幻想,打破假象后,你还剩下什么? “那个…我……喜…喜欢…你”头上传来怯怯的声音, 看着面前的黑衣少年,蹲在地上的小依想,好蠢的家伙,呵。脸上顺便露出一个温柔的微笑。 而少年则在看到这个笑后脸腾地彻底红透,呼吸都不自觉重了几分。高中没考上你可知道茫茫人海之中,有些看似平凡的人其实身怀绝技?他们可能是楼下小卖铺的老板,有可能是公司白领,也有可能是快递员······ 凡修炼之人必要渡劫,但这劫难并非天雷地火的磨难,而可能是生活中的每一件小事。 而袁逍的劫,前无古人后无来者,竟然需要天下人来助!李风是个高三就辍学的人,为了奶奶的治疗费选择了送外卖,但奶奶还是走了,而且自己 从小就有心脏病,无意中捡到一个香水小瓶子,竟然把自己的病给治好了,从此靠着香水瓶发家致富特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。“系统,你给老子出来!” “你告诉我这是洪荒世界!准圣多如狗,金仙满地走!” “你说,不苟个千八百年,成就人仙之位前不要太张扬,给我开启新手保护期,让我,多做好事,广结善缘!” “我都快成活雷锋了!结果!特么的你告诉我,这是个武侠世界!?” 修仙300年,林羽出山。 却发现,这世上,已满是羽仙尊的传说……登临圣城之巅,本以为可以可得道升天,然得到的却是亿万年前的惨痛屈辱。 玄长空,一普通人族,妄想逆天改命,攀登轩辕圣山,却不曾想,圣山之上隐藏着另外一个崎岖悲痛的故事,而且还是无法逃离的命运纠缠。 ... 亿万年前一战,轩辕大帝战死,仅存的一股意志守护人族圣城,至此人族沦为他人奴隶。 亿万年来,人族时时刻刻都想翻身,付出无数天骄生命,最终石沉大海。 玄长空,人族一逆天妖孽横空出世,甘愿堕入魔道,一朝醒来杀尽天下敌人。 为人族前进的道路披荆斩棘,重现轩辕大帝的风采,最终为人族闯出一条通天大道。闲散退役兵王庄毕因缘巧合,住进了女神别墅,面对霸道美女总裁,他表示亚历山大。 庄毕:“女人,今日你对我拳打脚踢,来日我必然回报你一双儿女。”夏炙一觉醒来发现自己穿越到了平行世界。 这里的人竟然将游戏定位第九艺术,玩家为了玩到一款好玩的游戏出多少钱买都愿意,游戏设计师成为最热门的行业。 夏炙狂喜,因为上个世界的无数经典游戏,这里的人竟然都没玩过。 于是一名超级天才游戏设计师诞生了。 美女导师:“我不配做陈欢的导师,他的‘马里奥’足够让我学一辈子。” 游戏测评员:“‘塞尔达’是足以改变世界的游戏,陈欢领先了业界一千年。” 攻略大佬:“扶我起来,我要和苇名一心拼刀,别拦我我还能送!” 全球玩家:“夏炙快点出新游戏,多少钱我们都买。” 其他游戏设计师:“年度游戏还选什么,直接给夏炙算了。” 夏炙本人:“别急别急,在做了(新建文件夹)。”
电信手机网络安全设定 网站建设方案设计心得 展示型网站制作服务 2016网络营销关键词 网站设计建设公司 银行业网络安全法 新的网络信息安全法 网络营销教学软件 网站建设素材 南宁市做网站的公司 亲子关系的沟通技巧咨询【www.richdady.cn】 家庭关系的沟通技巧有哪些?咨询【www.richdady.cn】 财运不佳的财富积累【www.richdady.cn】 发育倒退的前世记忆咨询【www.richdady.cn】 心慌胸闷头晕的环境影响咨询【www.richdady.cn】 冤亲债主干扰的超度方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的咨询技巧【微:qq383550880 】√转ihbwel 财运不佳的投资建议威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业的应对方法【σσЗ8З55О88О√转ihbwel 大龄剩女的职场发展【σσЗ8З55О88О√转ihbwel 人际关系不好的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何发现前世缘份咨询【www.richdady.cn】√转ihbwel 投资项目的风险评估【企鹅383550880】√转ihbwel 孩子厌学的咨询技巧【σσЗ8З55О88О√转ihbwel 老公家暴【www.richdady.cn】√转ihbwel 心特别累的前世因果【σσЗ8З55О88О√转ihbwel 财运不佳的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 忧郁症的环境影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的原因分析咨询【微:qq383550880 】√转ihbwel 意外的前世解析咨询【企鹅383550880】√转ihbwel 遂宁做网站 西电 网络安全 2016网络营销关键词 免费网站 网络安全 构建网络空间国家网络与信息安全信息通报中心技术支持单位 国际信息安全 企业网站 三合一 网络信息安全 案例 kerberos 网络营销包括哪些营销如何与网站管理员联系 中企网络营销顾问 资源营销站 参加网络营销的好处 简述网络营销的4c策略 网络安全资讯网 集团公司网站方案 随州网站建设 温州网站设计 论网店营销 网络安全防护系统 上海建站网站简洁案例asp.net网站采用编译后执行首次执行需要进行编译 网络信息安全实用教程 中企网络营销顾问 信息安全项目申请表 网络安全周活动 遂宁做网站 南昌网站制作 病毒性营销特征 如何定位网络营销渠道 做网站 深圳 病毒式营销要点图片 企业网站 三合一 2016网络营销关键词 计算机网络安全指什么 数字营销哪里有 外贸网站推 全屏类网站 湖南企业网站建设 科技网站配色方案 论网店营销 西安网站建设 银行业网络安全法 什么叫文库营销 信息安全项目申请表 网络安全保卫 会议 西电 网络安全 外贸b2c网站建设 网络安全策划 响应式网站 集团公司网站方案 星巴克微信营销ppt模板下载 品牌营销和网络推广 手机网站设计尺寸 网络信息安全作文400 周口网站建设 凡客 营销 免费网站 2014信息安全大事件,-1 营销机构与营销队伍 南宁市做网站的公司 2014信息安全大事件,-1 星巴克微信营销ppt模板下载 信息安全与通信工程 电子商务网络营销实践报告 营销的分类 2016网络营销关键词 铜陵网站建设 网站搬家 信息安全二级等级保护,-1 随州网站建设 重庆营销策划 优帮云 罗湖高端网站设计 橙网站 信息安全产品测评认证级别 2016网络安全案例分析 数字营销哪里有 制造业 信息安全 云计算信息安全等级保护测评要求 内蒙做网站 台州卫浴网站建设 2016年网络安全大事记 ppt 电力工控信息安全专题交流会 人性是最高的营销 网络营销策划的基础 如何写网站文案 好的信息安全论坛 加强网络安全意识 云计算信息安全等级保护测评要求 参加网络营销的好处 网络安全周活动 营销的分类 网络安全重大事件 我国的网络安全的现状分析 对网站主要功能界面进行赏析 网络安全个人 人性是最高的营销 重庆搜索引擎营销工具 移动互联网广告营销 橙网站 长沙做营销型网站公司 安徽省信息安全测评中心地址 信息安全大事记 病毒式营销要点图片 推荐网站网页 长沙做营销型网站公司 河南省信息安全协会 驻马店网站建设 响应式网站 国际信息安全 短信营销渠道 网络安全周活动 昆明做网站 温州网站设计 沈阳网络营销 一个好网站 银行业网络安全法 万州做网站 病毒性营销特征 网络信息安全管理规范,-1 网络营销理论分析机械厂网站建设 苹果支付网络安全 外贸网站建设公司方案 罗湖高端网站设计 内蒙做网站 西安营销型网站 网站的方案 澳大利亚信息安全专业排名 网站css中父级自适应高度没有子级自适应的高度高怎么解决 展示型网站制作服务 济源做网站 遂宁做网站 信息安全行业创业 合肥品牌营销代理 采用模版建网站的缺点 网站设计建设公司 网络信息安全管理规范,-1