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

<a class="close" href="https://5j4.zhejiangjili.cn/">&times;</a>
我国中小企业应该如何进行网络营销采取的策略有哪些?网络营销分为哪几大类章丘做网站龙岩网站制作网络安全与经济发展唯品会营销策略分析ppt广东省 计算机信息安全网站建设开源项目github●所谓网络安全漏洞是指设计师网站人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821开局直接被动使女主疯狂晕倒,好狠的男主,竟不知道怜香惜玉,在主角成为所向披靡,有我无敌,杀遍九天十地的前提前,竞发生了这一样一事乱世之中为了能让自己的兄弟姐妹们有一个安身立命之所,他倾尽全力带领手下把一个小小基地,建成了一个足可媲美三大阵营都城的城邦,他半生中之身单挑三大尸王,率众对抗鹰美联邦,粉碎了敌人一次次的进攻,他和他的部众南征北战,东挡西杀,创下万世不拔之基,留下无数传奇故事。可他确在事业如日中天之时,选择了功成身退,带着爱侣远赴海外荒岛,做起了一对神仙眷侣古典玄幻与元宇宙世界的激情碰撞! 玄幻世界的文明参与者与执掌生杀予夺的文明创造者终将一战! 干预文明进程的维序者 洞悉文明规划的观察者 创造文明世界的架构师 微光中寻找文明真相的觉醒者 谁,能在683号实验宇宙的轮回中,解开真正的文明密码。 有悬疑奇案、有阴谋乱国、有英雄史诗、有儿女情长,我且细细讲,君且慢慢听。心有一念,偏执一剑。重生之路不平坦,上辈子的遗憾太多,这辈子让我们重新出发,从2002开始,一手拥抱财富一手拥抱感情 神魔横行,仙尊镇世!地星,是一个仙道大昌之地!然修行者只为一己私欲,破碎山河,湮灭了这繁盛的修仙界! 天道伤隐,灵气绝迹,地星进入了漫长的枯寂岁月! 数十亿年后,外太空超新星爆发,突然而至的神秘物质,引出了地星久违的天道,灵气出,武(仙)道现。 杨东望,一名普通的大学副教授,偶得上一个纪元遗存的造化法宝玄天塔残骸,在灵气新生时就占据先手,并利用小宝塔中的残破记忆,逐步引导武(仙)道进入、改变了科技社会的方方面面,从而开启地星科武新纪元。 天下风云出我辈,一入江湖岁月摧。皇图霸业谈笑中,不胜人生一场醉。 起神剑,斩断这天下纷争,荡平这贼寇乱党,还天下苍生一个太平盛世! 但这权位,不屑拥有之。 愿携手红颜,笑傲江湖!茫茫宇宙,点点繁星。名不经传,却塑造了一位超级无敌大剑修!!古蓝星,只是一个边陲宇宙,却是叶泽从小赖以生存的家园。家人相继离去,担子只能由年幼的自己扛!睡梦中醒来,改变了命运,一剑在手,天下我有!!我有一剑,可破诸天!!!! 间谍是一个非常古老的职业,从有战争开始的那一天起,间谍便是交战双方获取对方情报的唯一选择。有人说,间谍战是这个世界上唯一不会出现硝烟的战斗,可事实证明,没有硝烟的战斗在这个世界上几乎不存在,即便是暗地里的较量,同样充满血腥和牺牲。 我姓唐,叫唐城,你也可以叫我唐五郎。 我爹是军统,专门抓日本特务的军统,虽然他不在了,可小爷我也绝对不允许你们这些萝卜头活的逍遥。 这里是国统区,所以,这里没有你们存活的空间。如果你们非要来,那好吧,小爷我只好送你们统统下地狱。
台州网站设计 解放路 2017玩转网络营销 台州做网站优化哪家好 网络营销管理实例 合肥网络安全 台州网站设计 解放路 医疗网站建设案例 互联网信息安全领导小组 网络安全防护评测报告 2017玩转网络营销 什么原因意外的前世修行【www.richdady.cn】 性压抑咨询【www.richdady.cn】 暗恋的解决方法【www.richdady.cn】 家宅磁场对居住者的影响咨询【www.richdady.cn】 存不住钱的解决方法咨询【www.richdady.cn】 内心恐惧胆怯的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的原因及对策咨询【www.richdady.cn】√转ihbwel 头脑混沌的前世记忆咨询【企鹅383550880】√转ihbwel 婴灵的存在有哪些科学依据?【企鹅383550880】√转ihbwel 无形干扰的解决方法【微:qq383550880 】√转ihbwel 儿子不读书的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰与因果咨询【企鹅383550880】√转ihbwel 财运不佳的前世因果【www.richdady.cn】√转ihbwel 感情纠纷的原因有哪些?【微:qq383550880 】√转ihbwel 与女友前世的记忆解析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的前世因果咨询【微:qq383550880 】√转ihbwel 前世今生的轮回理论【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的心理调适【微:qq383550880 】√转ihbwel 延边网站建设 网站策划方法 网站的不同类 网络安全与经济发展 手机网站建设哪个 信息安全实验平台 网络安全一体化个人注册网站.com 工信部网络安全局 营销学评价 山西信息安全公司排名 互联网营销的好处坏处 国家信息安全认证产品型号证书 发信息安全吗 网站查外链 杭州网站建设公司联系方式 深圳信息安全服务公司,-1 九江网站建设 中小学生体检信息安全 网站动效 网站设计作品 病毒性营销的视频案例 网络安全系统 企业网页设计网站案例 信息安全竞赛证书 屈臣氏营销 邢台做网站公司 深圳信息安全企业排名,-1 超低价的郑州网站建设 网络营销分为哪几大类 ●所谓网络安全漏洞是指 渗透式营销 网络安全对抗实训及操作仿真平台 中科院软件所信息安全 网络安全一体化个人注册网站.com 网络安全整改 网站查外链 建站宝盒网站制作系统 v5.0退出保持登陆状态 帮助 预览 发布 产品网络营销推广方案 上海网站改版 专业网站设计建站 2016年网络安全大事件 网络视频营销案例 1 网络安全威胁常见的有哪几种 特色的佛山网站建设 企业品牌宣传型网站 淄博微网站 义乌网站建设 聊城网站建设 苏州营销 网络安全防护评测报告 网络安全前修课程 东莞深圳网站建设 银川网站设计怎么样 上海网站改版 发信息安全吗 义乌网站建设 国家信息安全周 分栏型网站 2016国内信息安全会议 ●所谓网络安全漏洞是指 贵阳网站开发 网络安全实际案例及分析 专业的网站设计师 中软吉大网络安全 营销挖掘助手 哪有那样的网站 特色的佛山网站建设 网络安全系统 提高家庭网络安全 网站建设小技巧 屈臣氏营销 台州网站设计 解放路 病毒性营销 网络安全之路 信息安全学院招生,-1 公安网络安全工作 营销策划类公众号 e mail营销主题 网站动效 全球网络安全体制的漏洞如何开展网络营销 商城网站建设浩森宇特 邢台网站推广 网站不足 关于网络安全的信息安全 关于网络安全的信息安全 屈臣氏营销 病毒性营销的视频案例 网站动效 airbnb营销方式网络营销总结与分析报告 网络安全验证是什么 信息安全实验平台 对企业信息安全的建议 诸城网站建设 台州做网站优化哪家好 企业网页设计网站案例 微博营销效果分析 中软吉大网络安全 中国计算机网络信息安全展 工信部网络安全局 信息安全在线网课 中小型企业网络安全和管理 保定互动营销 云网客 延边网站建设 我国中小企业应该如何进行网络营销采取的策略有哪些? 建手机网站的平台 2016国内信息安全会议 山西信息安全公司排名 企业品牌宣传型网站 章丘做网站 h5制作企业网站有哪些优势 洋码头 营销活动 营销学评价 营销推销的区别是什么意思 川大信息安全考研 中国计算机网络信息安全展 网络安全思考 网络安全思考 延边网站建设 公司网站设 洋码头 营销活动 金融网络安全案例 中小学生体检信息安全 网站查外链 北京网站空间 河北省网络安全协会 网站的不同类 最经典的微信营销案例 深圳信息安全企业排名,-1 信息安全技术及应用 病毒性营销 深圳信息安全服务公司,-1 信息安全实验平台 公司网站建设 手机网站建设哪个 网络安全动态