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

<a class="close" href="https://kifh.upjay.cn/">&times;</a>
微信平台网络营销南昌哪里有网站建设公司网站设上海交大网络安全教程 优酷北京网站维护网站开发需要什么技术烟台制作网站的公司信息安全软件网络营销遇到的问题及对策网络营销论文题目本作品是作者在生活中所感所先的,主要灵感来源于生活所见所闻。有关于生活的亲情、爱情、经历和琐事。故事描述得简单且易懂,与生活接地气。资深外科医生林陨,莫名穿越到九州大陆的玄月宗,成为了最被人看不起的一名上门赘婿,同时也拥有了一位美若天仙的宗主妻子。 幸得药神系统,无限速成神品丹药,修得上古肉身成圣之法。从此扭转悲惨命运,脱胎换骨! 阴谋毒害、冷眼嘲笑……一切都将成为过去。 纵横万古帝之道,我自剑来谁言轻? 哪怕是当赘婿,他也要当一名最强最狠的赘婿!红衣,黑影,传承……在这片神奇的大陆上,分为武师,圣武师,武灵,武尊,武宗,武王,武圣,武皇,武帝......每个人还可以和契约兽达成契约,以助其修炼,每个人都在向往成为武帝,墨晔也不例外......我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。天呐!一招大败鸿钧老祖!与大道大战九天九夜未分胜负的神秘人,竟然只是那少年的一道分身!   林凡穿越后荒古时代,天地灵力匮乏,身为五行霸体的他,竟然被人夺舍本源,沦为将死废人。   好在万念俱灰之际,他继承了帝尊传承意志。   从此林凡虽为一介凡体,欲可逆天崛起,纵横八荒,九天十地无敌手!   十万分身为我修炼,修为一日万里。   神通秘术晦涩难懂,我瞬间透彻!   天骄圣子,我一指可灭!   大帝古皇,覆手镇压!   洪荒大道,一念代之!急急急,修为高深的仙子要杀我,怎么破局?! “系统已切换成攻略版本,助宿主攻略成功。” 急急急,收不到天姿绝顶的弟子怎么破?! “系统已切换成最强师徒养成版本,为您保驾护航,助宿主登顶最强。” 当翰秋非醒来就处在源宇世界,在这里有着数不尽的生物、机械、人族.......等。 起因还得从一场车祸说起苏长生穿越平行世界,居然多了个便宜老爹? 便宜老爹欠缴税款数亿,锒铛入狱,苏长生不得不走上赚钱还款的苦逼道路。 他是娱乐排行榜所有爆火作品的金牌创作者,没有团队,没有助手,不接广告,不接代言,深居简出,神秘莫测。 但却在金牌创作者年度大奖前夜被粉丝曝光,他住着500一个月的廉租房,穿着拼夕夕的廉价打折服装,没房没车,甚至从未吃过一顿像样的美食。 身世曝光,粉丝集体落泪,怒而喊话:圈内明星豪车豪宅花天酒地,腐败不堪,顶流却吃糠咽菜惨绝人寰! 怎能让一股清流在乌烟瘴气的娱乐圈中顽强挣扎! 粉丝集体跪了:求您接点广告吧,求您接点代言吧……降临全球的超凡事件,一纸神秘的契约…… 苏醒与死亡共舞,穿梭在三界与人间,在一次次试炼任务中险死还生,洞见真相。 鬼街打更人、妖界摆渡者、天界放马官!苏醒一步一个脚印,做大做强,再创辉煌。 本书又名《内卷》,《往死里卷》《TM谁都别想卷过我》《扶我起来我还能浪》 ———————— 小二寄语:今天五更,再废话十更。
冰桶挑战营销 信息安全公司排名,-1 西安信息安全比赛 微网站无锡 北斗与信息安全,-1 系统网络安全测试 网站推广方案评论营销 临沂做网站防网络安全 微信平台网络营销 个人信息安全 国标 冤亲债主的干扰与化解技巧咨询【www.richdady.cn】 与老公前世的前世解析【www.richdady.cn】 老公家暴的应对方法咨询【www.richdady.cn】 财运不佳的风水布局【www.richdady.cn】 公司破产的原因分析【www.richdady.cn】 财运不佳的财富增长技巧有哪些?咨询【www.richdady.cn】√转ihbwel 精神不振的自我提升【σσЗ8З55О88О√转ihbwel 干扰的预防与化解【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 查财运专业服务【微:qq383550880 】√转ihbwel 孩子不爱读书的原因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 潜能开发与自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子厌学的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回真相咨询【企鹅383550880】√转ihbwel 提高孩子阅读兴趣的方法咨询【σσЗ8З55О88О√转ihbwel 解梦的前世因果【σσЗ8З55О88О√转ihbwel 亲子关系的教育建议咨询【σσЗ8З55О88О√转ihbwel 灵性提升课程咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的家庭教育咨询【www.richdady.cn】√转ihbwel 前世今生的因果关系咨询【www.richdady.cn】√转ihbwel 官司的预防措施咨询【www.richdady.cn】√转ihbwel 售后服务网站 聊城网站建设 内容营销优劣势 南昌哪里有网站建设 网络安全论 网站系统建站 昭通网站建设 山西信息安全 网络信息安全攻防大赛 烟台制作网站的公司 网络营销实训课程ppt 网络安全培训网站 外部营销 聊城网站建设 信息安全的强制性标准 网络安全工作组 天津理工信息安全 idc 中国网络安全市场 整体性营销 网络安全概述ppt 深圳网络安全信息安全培训 国家网络安全周logo 商务网站与营销策划 烟台网站设计 动力无限做网站 网络安全培训课程网络安全实验 西安信息安全比赛 常州企业网站建设 网络营销类岗位发布 莆田网站建设 信息安全五个保护等级 售后服务网站 信息安全服务资质用于哪些项目 营销在线 信息安全的发展历程 网络安全论 外贸网络营销外包服务 计算机信息安全与管理 信息安全需求包括什么 大连网站建设公司怎么建网站 高端平面网站 开展网络安全认证 检测 风险评估等活动 外贸营销语 昭通网站建设 互动营销型 信息安全平台作业 植入式营销的形式 上海市信息安全测评认证中心待遇 网络对网络营销的好处 高端网站建设定制 网络安全论 网站系统建站 昭通网站建设 网络信息安全认证证书 哇哈哈网络营销策划书 烟台制作网站的公司 区域营销托管什么意思 网络安全 领导小组 营销每日总结 培训网站 建 手机网站建设哪个 川大信息安全就业,-1 网络安全培训网站 营销型企业网站策划方案 烟台网站设计 微网站免费制作 网络安全宣传内容 公安部网络安全保卫局 备案 中国国家信息安全产品认证证书 信息安全等级保护项目计划书 聊城网站建设 微网站无锡 手机网站制作细节 信息安全的强制性标准 信息安全服务资质标准 网络信息安全攻防大赛 阿图什网站 培训网站 建 html5网站建设 化妆品营销情景案例分析 信息安全等级保护测 外贸营销语 网络安全 数据统计 网站推广方案评论营销 网络信息安全认证证书 信息安全课堂 外贸做网站 网络营销降低成本 动力无限做网站 网站营销 营销策 山西信息安全 冷色调网站 外贸做网站 顺的品牌网站设计信息 玉溪做网站 家具 营销网络 营销在线 信息安全的强制性标准 是否有邮件营销 网络安全宣传内容 2014年信息安全大事件 内容营销优劣势 福州建网站 做网页 网站设计建设 武汉 常州网站设计制作 网络营销求职介绍 网络安全 领导小组 长沙网站制作公司 玩具外贸网站模板 国家网络安全审查 动力无限做网站 小米手机网络营销推广方案 问答营销的成功案例 网络对网络营销的好处 章丘做网站 信息安全课堂 云平台 信息安全 郑州营销托管公司 网络营销类岗位发布 网络安全法的主管部门 医疗网站建设案例 系统网络安全测试 信息安全服务资质标准 网络安全策划书 郑州营销托管公司 2017网络安全公司排名 企业级服务 网络安全 网络营销降低成本 上海市信息安全测评认证中心待遇 常州网站设计制作 阿图什网站 关于信息安全的证书 2015中国网络安全事件 良好的网络安全