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

<a class="close" href="https://xvj.zhejiangjili.cn/">&times;</a>
营销型网站sempk我想要网络安全现在中毒了中国网络信息安全峰会互联网公司怎么营销策划网络安全会议流程图网络安全的几点网络安全信息监控接口2017网络安全热点事件天津信息安全平台互联网公司怎么营销策划叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!卜慧书是一名落魄青年,嗜读书,被人成为“痴疯子”。无意功名,也不近女色。擅长办案,只因在义田获得银指环,上写“雅威”二字。之前襄阳镜湖湖口发现一具男尸,身上并无伤痕,可能落水而死。乡民发现后,就向地保报告了情况。地保请代言人撰写一纸呈文报官,代言人则索取1000两银子作为报酬。地保一则没有那么多钱,二则也不太愿意,故而只肯出200两银子。痴疯子便草草写了一张“镜湖口,发现浮尸一具”的呈文。后来情况如何?代言人如何处置?敬请期待....... 这是个陌生的世界,一切都是未知,一切又都很熟悉。在这里,谁也不能确定,下一秒是生是死,甚至死都不知道怎么死的。想要变强吗?想要成为不可一世之人吗?去吧!去读书吧!没错我把一切都放在了那里! 学渣资质的单良表示:问题不大,大也没用。升级干就完了,另外赌狗必死。 懒得介绍穿越至灵气复苏的平行世界蓝星,陈宁开局加载了守墓人系统。 通过庇护陵墓不受损坏,便可获得奖励,从而增强自身。 于是,陈宁默默开始了自己的守墓人之路。 从曹公之墓到汉祖之墓,陈宁见识了各色帝王长眠之所,并成功守墓,获得了各大帝王魂魄的赏识。 直至有一天,陈宁坐镇祖龙之墓时,一伙盗墓者无意间将大墓掘出,祖龙之墓也因此现世! 世人统统都疯狂了,想要一窥传说中的始皇帝陵,并从中获得好处。 这时候,陈宁默默出手了。 汉祖、太宗、洪武,众位帝王皆带怒容,帝王之相在空中显现! 并且,祖龙也出手了!携带着百万兵俑横空出世,将所有窥探者统统震慑住! “帝王一怒,伏尸百万!” “尔等竖子,可敢战否?” 望着身后无数帝相的陈宁,全世界人都震惊了!! 昔日的位面第一宗门‘妖傀宗’圣主叶欢,因为争夺位面至宝八荒鼎,被诸多大帝围攻陨落,再入轮回与将门犬子夜欢灵魂融合。 废柴笑柄?我炼体术不坏不灭,谁与争雄? 家道衰落?我炼丹术冠绝位面,扶不起一个家族? 边疆失守?我打造的连弩刻有玄奥灵阵,可杀敌于千丈之外! 异族邪魔来袭,家园沦为炼狱?我炼制的妖傀无数,足以横扫八荒! 外面有一支神秘势力,就要统一大陆?无妨,那就是我一手扶持的顶级宗门! 圣域的一位老祖已经称皇称帝?莫怕,那不过是我当年随手炼制的一尊妖傀罢了!重写特利迦奥特曼,如果你觉得特利迦的TV拉胯的话就来看一下吧。大明万历四十八年,陈操因为一次意外魂穿明朝,开启了人生霸业之旅天生绝品丹脉却一夜散尽,从家族明珠一朝变成弃子,成为一名小小的种药工,依旧无法置身事外。 遂跃于凡尘,种药炼神丹,炼体为炉鼎,活脱脱将自己炼成了绝世的神丹。
专业的网站开发公司 购买型网站建设 基于区块链的信息安全,-1 建行企业网站做网站的文案 上海小企业网站建设 网络营销工具分为沟通类和 绵阳汽车网站制作 2016网络安全湖南峰会 深圳营销公司策划方案 在线营销型网站建设 冤亲债主的化解方法【www.richdady.cn】 前世老婆的识别方法咨询【www.richdady.cn】 孩子厌学的家庭教育【www.richdady.cn】 发育倒退的环境影响咨询【www.richdady.cn】 家庭关系的咨询技巧【www.richdady.cn】 前世缘份的轮回续缘咨询【www.richdady.cn】√转ihbwel 财运不佳的财富规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业的咨询技巧【σσЗ8З55О88О√转ihbwel 事业发展的灵性视角咨询【www.richdady.cn】√转ihbwel 去世的父亲的影响分析【σσЗ8З55О88О√转ihbwel 前世今生的改命方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的情感维护方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世案例【www.richdady.cn】√转ihbwel 阴间生活的前世影响【σσЗ8З55О88О√转ihbwel 婴灵的超度方法咨询【σσЗ8З55О88О√转ihbwel 无形干扰【企鹅383550880】√转ihbwel 发育倒退的咨询技巧【企鹅383550880】√转ihbwel 人际关系不好时的心理调适【微:qq383550880 】√转ihbwel 红河网络营销 昆明购物网站建设 网站图片标签 广州飞天诚信信息安全 横岗做网站 信息安全的威胁主要来自于,-1 信息安全管理平台 网络营销专业教育机构 新浪网站网络营销策略 网站加外链 免费营销方式 网络安全主要涉及( )信息传输安全网络应用安全等3个方面 网络营销体系方法 信息安全力量配置 网站管理 营销单页 网络营销工具分为沟通类和 大学生网络安全竞赛 个人网站推广 信息安全 远程扫描 做网站的 互联网营销策略 总经理 营销环境分析的要素 信息安全产品测评认证管理办法 国家信息安全日 国家网络与信息安全中 网络安全方案设计的注意点 dede移动网站时广告管理里面的网址为什么还是原来的如何做好信息安全方案 信息安全英文新闻 广东省信息安全教育网 专业的网站开发公司 青岛网站建设找企业品牌宣传型网站 上海网站改版 网络安全史上著名事件 营销型网站sempk 哈尔滨做网站 可信赖的手机网站设计 网站建设颜色注意事项 昆明网站建设公司 中小企业网络安全威胁 企业品牌宣传型网站 网络信息安全与大学生 商丘做网站 邢台做网站公司 红河网络营销 广州营销课程 我想要网络安全现在中毒了 网络与信息安全研究所 第十届信息安全大赛 网络注册信息安全工程师培训 网站图片标签 2016信息安全泄密事件 昆明的房产网站建设 榆林网站建设 对网络系统而言信息安全主要包括信息的存储安全和信息的 深圳网站建设网络推广 顺义手机网站建设 国家信息安全工程技术 网络安全命令大全 聊城网站制作 伪静态网站 网络营销体系方法 深圳信息安全认证中心 南通旅游网站建设 上海网络营销培训 横岗做网站 济南网络营销策划 为何要网络安全审计 强化信息安全 信息安全的前提 第十届信息安全大赛 常州网络营销外包 网络安全解释 基于区块链的信息安全,-1 网络信息安全工程师培训 网络安全行业企业50强 横岗做网站 在线营销型网站建设 网站信息安全备案,-1 网站管理 天津信息安全平台 美团网的营销特点 互联网公司怎么营销策划 广州营销课程 信息安全风险评估服务人员 wifi加网络安全认证 营销型网页 互联网营销 行业简介 信息安全技术信息系统安全工程管理要求,-1 郑州网络营销课程培训机构 购买型网站建设 网络安全会议流程图 小红书网络营销分析 网络安全解释 2014中国信息安全技术大会 上海网站改版 发放信息安全奖的申请 为什么要整合营销 山西省信息化和信息安全评测中心 深圳信息安全认证中心 常州网络营销外包 大学生网络安全竞赛 大同做网站 jquery网站两排图片滚动带左右按钮控制两排图片滚动轮播代码 做网站优化时 链接名称"首页"有必要添加nofollow吗? 济南免费做网站 网站建设小技巧 信息安全服务体系认证 为什么要整合营销 国内外信息安全现状 信息安全网站 k网站建设 信息安全的前提 科技营销顾问有限公司 6月1日网络安全 wifi 信息安全管理平台 昆山网站建设 网络与信息安全研究所 哈尔滨做网站 360网络安全技术 济南网络营销策划 网络安全主要涉及( )信息传输安全网络应用安全等3个方面 在线营销型网站建设 互联网金融与信息安全 青岛 html5/flash设计开发|交互设计|网站建设 信息安全犯罪事件,-1 合肥网站建设公司 网络安全命令大全 长沙低价网络营销 湖南高端网站制 红河网络营销 海尔最新营销模式 广东省信息安全教育网 营销益处 网站加外链