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

<a class="close" href="https://zeq.71119.cn/">&times;</a>
网络安全的简介中国信息安全状况网络安全展2010年网络营销常用词网络安全大事记2017公安部全国网络安全大检查网络安全三级标准测评网络营销的一些问题公司网络信息安全,-1网络安全方面的注意点苏长生穿越平行世界,居然多了个便宜老爹? 便宜老爹欠缴税款数亿,锒铛入狱,苏长生不得不走上赚钱还款的苦逼道路。 他是娱乐排行榜所有爆火作品的金牌创作者,没有团队,没有助手,不接广告,不接代言,深居简出,神秘莫测。 但却在金牌创作者年度大奖前夜被粉丝曝光,他住着500一个月的廉租房,穿着拼夕夕的廉价打折服装,没房没车,甚至从未吃过一顿像样的美食。 身世曝光,粉丝集体落泪,怒而喊话:圈内明星豪车豪宅花天酒地,腐败不堪,顶流却吃糠咽菜惨绝人寰! 怎能让一股清流在乌烟瘴气的娱乐圈中顽强挣扎! 粉丝集体跪了:求您接点广告吧,求您接点代言吧……描写主人公平子山修道的经历为主线,行侠仗义,打抱不平,与现实造成很多的冲突,最后成起正果的故事奇幻人设+科幻世界会碰撞出怎样的火花?源自近来比较火的一个创意——串烧,背景直接取自笔人从前的作品,延续了近几年的某个游戏世界观,无界限,勿喷。回家的路,成为了我的不归路,UFO,外星人,将我弄的半死不活,因为幸运,我逃过一劫……这部小说内所说的世界与现实世界毫无关联。并且主角们所处的世界为异世界。 一座与外界没有任何联系的神秘城市——MT-X,能够不断侵蚀着被动者的感情。然而,最大的问题还是——没人能够逃离这所城市。 这里有一所学院,只要满足学院的规则毕业的人,就能够逃离这座MT-X,到城市外“无忧无虑”的生活。 藤升流星,作为一个特嫌麻烦而且没有任何梦想的人,被这座城市侵蚀了感情。 为了寻找感情之物而踏入这所规则为「杀人」的学院。 等待他的究竟是纯真无邪的爱之情感,还是深恶痛绝的恨之情感。 一切都要从遇见他的邻桌——『凝玉花利』开始… 简介:现在网上一整就穿越咱也跟风玩把穿越,不当小地主,级别太低,当就当皇帝那多过瘾。 故事老套狗血,仅供各位看官把玩。 哪个朝代咱就不说了。 记得我十六岁那年,我强行占有了十三岁的她,在古代女孩子这个年龄段早就嫁人了。 事后,她哭着对我说,“哥,你让我咋嫁人啊?” 我也跟着她落泪,跪在她面前,“没办法啊,妹子,哥家穷啊。” 三天后她岀嫁了。而我在那一天也被一群蒙面人劫走了。 五年后,在见她时,她已是江湖第一大帮的帮主,而我己是当朝皇帝。 狗血故事由此展开。 本篇摘自鄙人正在酝酿的拙作《灵魂解剖室》 打赏 收藏 一段坎坷的爱情故事。感激孙淑娟老师与水木布衣一路的支持和鼓励上天界武魁之尊,为人所害,转生下界。 修神诀,斩敌首,一刀一剑,誓要杀回诸天上界! 至此,傲笑天地,镇压万圣,掌控寰宇,不朽不灭!一场大地震,让返祖狂潮席卷全球。 动物、植物、人类,都在这场灾变中,变回自己祖先的模样。 武者、修士、妖鬼、仙人、恐怖的鸿蒙古兽…… 返祖的次数越多,返祖的祖先越古老、强大。 就在所有人都好奇会返祖成哪位祖先时。 李响惊讶发现,自己可以主动选择返祖对象。 第一次返祖,别人都觉醒武者祖先,李响却选择了武侠时代最后一名炼气士——张三丰,以内家拳、太极剑、丹道,震撼世人。 接着是第二次返祖,第三次返祖…… 直到第九次返祖,李响看着迎面走来的鸿钧虚影,露出了无比灿烂的笑容。网吧厕所墙上的联系方式千万不要随便加。叶锦年本以为自己运气爆表遇上了学姐交友,两人共处一室时,学姐的男朋友却找上门来...... 在学校被欺辱,就要反抗!拳头,不是为了欺负弱小,而是为了守护自己在意的东西而挥动。面对强敌,从不退缩,因为我的体内,有着那股能在瞬间被点燃的热血。
信息安全 排名 教育部 南昌网站设计特色 常用的网络安全措施 中国网络安全中心 北京网站建设公司案例开源sdn网络安全 国科大信息安全教材 北京互联网营销公司 腾讯网络安全总监 10个日常使用营销规律 网络信息安全管理经理,-1 前世缘份如何影响今生?咨询【www.richdady.cn】 祖灵的存在形式咨询【www.richdady.cn】 发育倒退的环境影响咨询【www.richdady.cn】 特殊学校【www.richdady.cn】 升迁障碍的职场瓶颈【www.richdady.cn】 心慌胸闷头晕的环境影响咨询【企鹅383550880】√转ihbwel 学习成绩差的案例分享咨询【企鹅383550880】√转ihbwel 暗恋的案例分享【微:qq383550880 】√转ihbwel 内心恐惧胆怯的情感释放【企鹅383550880】√转ihbwel 婴灵的感应现象【微:qq383550880 】√转ihbwel 孩子压力大的解决方法咨询【企鹅383550880】√转ihbwel 阴间生活的前世影响咨询【微:qq383550880 】√转ihbwel 感情纠纷【σσЗ8З55О88О√转ihbwel 祖灵的存在形式【www.richdady.cn】√转ihbwel 与老公前世的前世缘分咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与老公前世的前世修行咨询【www.richdady.cn】√转ihbwel 性压抑咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的咨询技巧【微:qq383550880 】√转ihbwel 4r营销 2014国家网络安全周 百度知道营销专家 邮件营销数据初步分析 信息安全设备选型 网络信息安全管理经理,-1 昆明网站建设公司 故事性营销软文 网络营销简历怎么写 3 博客营销有什么价值 广州网站设计公司 无线网络安全要求 合肥网站推广 网络安全方面的注意点 网络安全问题原因 手机版企页网站案例 杭州网站制作外包 网络信息安全博览会 注册,-1 网店营销计划 网络安全的简介 网站的目标 杭州伙伴营销策划 网络安全趋势 长安做网站千度网站 武汉做网站 信息安全 排名 教育部 南通旅游网站建设 营销咨询网 网络营销策略书 广西汽车网网站建设 网络安全管理员是什么 网络营销概念 中山建设网站 网站设计 网络信息安全中心 哪个大学网络营销 上海整合网络营销公司 全国信息安全服务公司排行 大学生网络营销策划书 营销推介绍 网络安全展 德宏网站建设公司 陕西省网络安全峰会 认证代码 信息安全 sem整合营销代理 网络安全大事记 北京互联网营销公司 网站页面尺寸 品牌营销与传统营销 百度知道营销专家 上海 网络安全会议 网御网络安全审计系统v3.0 广州网站设计公司 网络营销免费网站 dede移动网站时广告管理里面的网址为什么还是原来的 内蒙古网站建设 信息安全设备选型 广西汽车网网站建设 营销推介绍 信息安全管理体系 医院推广营销计划 智慧城市信息安全体系建设方案 营销推广具有的特点是 网站高端网站建设 智慧城市信息安全体系建设方案 dede移动网站时广告管理里面的网址为什么还是原来的 网站设计 腾讯网络安全总监 病毒营销互联网案例 唯品会营销在哪里找 邮件营销数据初步分析 武汉做网站 网站首页特效 互联网营销事件 苹果7网络营销策划书 网络安全管理员是什么 网络安全三级标准测评 网络安全等级保护工作的保障情况 2016国家网络安全博览会 上海制作网站的公司 网络安全等级保护工作的保障情况 邮件营销数据初步分析 金盾信息安全 故事性营销软文 百度知道营销专家 广州专业网站制作哪家专业 建网站报价 信息安全 实训系统 南昌网站设计特色 网络安全 vpn 网络营销策略书 做一个独立网站需要多少钱 营销的网站 网店营销计划 信息安全 bbc 福州微信营销培训 b2b网络营销的定义 信息安全风险管理策略 敦煌网营销 建网站报价 昆明网站建设公司 南京微信营销软件 网络安全查询 4r营销 创意网站建设 网络信息安全 攻击手段 信息安全等级保护的原则,-1 网络安全问题原因 4r营销 学校网站模板 关于写策划的一个网站 广州网站设计公司 学校网站模板 模版建网站 南通旅游网站建设 国家实行网络安全等级保护制度 信息安全管理 苹果7网络营销策划书 加强信息安全管理 南京互联网营销公司排名 网络营销软文100字 360公司信息安全大会 营销faq b2b营销软件 合肥搜索引擎营销 免飞网站 网络营销建立在网络安全扫描器 金盾信息安全 上海大 小企业网站制作 亚信网络安全 点网站建设 加强信息安全管理 账户信息安全事件,-1 有经验的南昌网站设计高大上公司网站 信息安全编程语言