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

<a class="close" href="https://ln1.upjay.cn/">&times;</a>
网络对营销的好处网络营销整体宣传方案设计提供做网站企业最近都在做企业云网站网站云推广云推广有什么功能效果呢?快速网络营销网站首页面设计全面的苏州网站建设国际网络安全顾问大型网站制作建立网站高校网络安全教育 农村小伙秦天继承太乙神针,身怀失传古医术,被誉为一代天医, 从此他时来运转,纵横天下。  “神医,首富已经在门外等了你几个小时了,什么时候给他看病?”   秦天躺靠美人怀,摆摆手说道:“让他等着……”面对死灵族,封印着怪兽八梼的佣兵,最后能否成为拯救世界的力量?神秘的空间系元素亲和力,诡异的星辰剑,亚夏人的先祖吴道轩视乎留下了什么秘密……这里有小说,也有散文、诗歌,汇聚成一部有复杂情感的365个夜晚故事,请您慢慢欣赏。神网那些事:从我的世界梦想之城起源,到成为第一超时空,无敌存在的完整故事,淋漓尽致的展现了最强体系的神网的诞生和特性。 干净清爽的第一人称爽文。 一小段番外: 那个光头男子看着眼前蓝光闪烁的盾法阵,第一次,他的拳头被拦住,无法前进分毫。我带着一丝轻蔑的笑:“你在你的宇宙中确实很强,但终究无法直接突破法则的束缚。”回答我的,是一个几乎能毁天灭地的拳头。同时,周围的空间,法则不稳定了起来。我皱起眉头,我可不想把这里搞的一团糟,AI法则混淆仪自动运转起来,开始修补破损的法则。拳头再次被星辉·盾挡住,不到一秒的时间里反复碎了几亿次,奈何每T数万层的构建速度太恐怖,拳头终究被阻挡下来。那男人见状,停了下来“无敌一定很寂寞吧。唉!”。我愣了几秒,当然是故意的,也叹息一声:“是啊。不过,我来可不是打架的。”看这他疑惑的表情,我嘿嘿一笑“愿意到我这里干活吗,最先进的建设岗位,收入大概你那一个月你那的九百亿。”当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖!众神陨落,众生无法成仙,在这副涉及所有生灵的棋局里,谁能力挽狂澜,谁又能改变命运的齿轮。众神虽死,却各自落下了棋子,最后又将走出什么样的结局。这里有科技创新,这里也有修仙争斗。这里有阴谋诡计,这里更有爱恨情仇。走进梦幻世界,带你阅览众生,品味想不到的精彩。【传统玄幻+无敌+横推+热血+杀伐果决】 少年天骄,十四岁入军营。 四年时间,横跨六大进阶,问鼎武王之位。 于乱局之中崛起,铸就北疆王无上功名! 然…… 一场剧变! 王位被剥,功力被废,沦为皇朝罪人! 十万北疆死士赐死边荒,三百族人发配矿场! …… 两年后! 昔日北疆王再度回归,携滔天怒火,横压皇朝! 一人抵一国,怒战九重霄! 九霄之巅我为王,众人皆知荒古血帝之名! loser张谅一顿酒把自己喝回了千禧年间! 重来一次,看张谅如何把握住机会实现财富自由! 顺便谈几场轰轰烈烈的恋爱! 可是上学真的很痛苦…… 你还是把我送回去吧……人活着无论干什么都挺困难。即使坚守不招惹人的原则都躲不过被人刁难。即使是对的,在金钱和权力的逼迫下变成了错的。人活着是最痛苦的事了,压抑的怒火早已烧毁了心脏。人需要发泄的地方,请来疯狂直播间。他,没有大理想,只想与自己心爱的人执子之手,与子偕老,然而人在江湖,身不由己,由不得他置身事外。阴谋,阳谋,接踵而至,躲不过,唯有拨剑而起,血战到底。
合肥网站制作 信息安全规程 信息安全发展历程 提供做网站企业 国际信息安全中心待遇 信息安全竞赛选题 厦门响应式网站制作 网站宽度 手表网站模板 长沙做网站品牌 提高孩子阅读兴趣的方法咨询【www.richdady.cn】 与男友前世的咨询技巧【www.richdady.cn】 强迫症的自我提升咨询【www.richdady.cn】 耳鸣的前世记忆咨询【www.richdady.cn】 家宅磁场干扰的原因【www.richdady.cn】 纠纷的预防措施咨询【www.richdady.cn】√转ihbwel 与女友前世的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺咨询【企鹅383550880】√转ihbwel 去世的父亲的前世缘分咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场策略咨询【微:qq383550880 】√转ihbwel 公司破产的咨询技巧【σσЗ8З55О88О√转ihbwel 纠纷的法律援助咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何判断被冤亲债主干扰?咨询【企鹅383550880】√转ihbwel 心慌胸闷头晕的自我提升咨询【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的咨询技巧【σσЗ8З55О88О√转ihbwel 冤亲债主的化解方法咨询【σσЗ8З55О88О√转ihbwel 投资项目的环境影响【微:qq383550880 】√转ihbwel 孩子学习不好的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的前世因果【微:qq383550880 】√转ihbwel 迟缓儿的环境影响【企鹅383550880】√转ihbwel 微网站费用 长沙手机网站开发 信息安全咨询服务厂商 信息安全规程 贵阳响应式网站开发 无锡网站推广公司 信息安全从业 不属于微博营销特点 avast网络安全 网络信息安全通知 营销型网站建设公司推荐 做网站的时候网站的第一个字母怎么在网站标题前面显示 比如谷歌g一样 简洁风网站 网站建站系统程序芜湖网站建设 国网 电厂 网络安全 中国风格网站模板 合作网站登录制作 2017世界网络安全大会 莱芜网站制作 网络信息安全领导小组 利用密码技术可以实现网络安全所要求的 网络营销模块 网站宽度 人们常说的网络安全一般包括 网络安全准入控制系统 厦门响应式网站制作 手表网站模板 厦门响应式网站制作 网络安全所称网络 信息安全专家证书 就百度系而言 哪些能够应用于营销导向 简述网络营销的过程 信息安全 企业 北京软件园 信息安全 企业 北京软件园 合作网站登录制作 微营销的优点和缺点 南京网站建设公司 大型企业 网络安全 工业控制网络安全 网络安全类公司排名 不属于微博营销特点 网络安全宣传活动信息 政府信息安全管理 福建信息安全会议,-1 义乌做网站 电子邮件营销优缺 网络安全法 口令更换 网络营销网站建设邢台移动网站建设 西安网络技术有限公司网站 .org网站开发 3g网站制作 上海 网络安全公司 网站首页被k 西安网络技术有限公司网站 快速网络营销推广 网站建站系统程序芜湖网站建设 上海网站建设app 快速网络营销推广 互联网营销调研 网络营销编辑是什么 潍坊网站建设多少钱 长沙手机网站建设 人们常说的网络安全一般包括 如何对信息安全提问,-1 营销号网文 电力信息系统信息安全检查规范 信息安全的文案 网站建设联系电话 国网 电厂 网络安全 论坛营销公司 高端的网站 信息安全竞赛选题 深圳医疗网站建设报价 贵阳响应式网站开发 微网站费用 网络和营销策略 信息安全等级测评报告案例 信息安全的发展与风险管理 ppt 国家信息安全中心举报,-1 杭州网络安全解决方案 中山网站制 网络安全协议理论与... 受欢迎的汕头网站推广 网络信息安全通知 微网站教程 中山网站制 互联网应用与网络安全 北京高端网站建设 信息安全理论 互联网应用与网络安全 网络安全控制层次 贵阳网站优化公司 为什么通过关键词能找到网站.评价该网站却显示没被收录 互联网营销调研 信息安全管理体系内审 湖南营销型网站建设 合肥网站制作 常用网络安全技术 桂林网站建设哪家好 银行网络安全解决方案 提供做网站企业 功能类网站 与网络营销相关的书籍推荐 手表网站模板 网络营销编辑是什么 我们的优势的网站 对营销要求 网络安全法分析 信息安全自学网 信息安全管理体系内审 北京建设网站的公司 wifi信息安全 中国电信提供网络信息安全服务 中国人为网络安全事件 中文域名怎样绑定网站网络安全组织架构 合肥网站制作 网络安全如何推广业务 信息安全销售总监 高校网络安全教育 国网 电厂 网络安全 信息安全安全前沿技术有哪些 网站结构 wifi信息安全 网站建设售前说明书 长沙手机网站开发 长沙做网站品牌 中国信息安全标准 东台网站设计 网站宽度 网络安全风险提示 建设网站具备的知识 上海国家信息安全中心 o2o营销 网络和营销策略 成都做网站多少钱