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

<a class="close" href="https://lvk.genha.cn/">&times;</a>
营销软件网络安全组成网络营销岗位全国信息安全系统中国地区2011年第四季度网络安全威胁报告信息安全测试工具巴中网站建设南和邢台网站制作2013年国内外发生的网络安全事件统计有pc网站信息安全项目分享空灵域,苍广无穷,强者林立。 万年前,人魔大战,斩天帝陨落,而在万年之后,废材叶晨被逐出家族,在一次机缘中,得斩天剑诀,从此,空灵域,有一人,名叶晨,领万族,救苍生! 普通版本简介:陆有恒在陪女朋友逛街加班途中,撞到一根诡异的电线杆上重生了。重回十年前大一入学之际,平平无奇(俊雅清逸)的陆有恒只想通过前世记忆经验,合理安逸轻松地做个普通人。 装逼版本简介:数学分析习题中神秘遁去的“三”,开启了陆有恒的玄妙装逼之路,“鸿蒙剖破玄黄景,又在人间治五行。度得轩辕升白昼,函关施法道常明”的太上道祖,与陆有恒究竟有何关联? 白千秋穿越到系统创造的世界。 开启身为创世神,人前显圣(俗称装B)的日子。 白千秋:“我是个和谐,善良,有爱的神” 一位入侵世界的邪神,在角落颤颤发抖。 “主是圣洁的,我等玷污了主,我等罪大恶极。” 一群天使脸上布满红晕的,嘴角还流着不知名白色的液体。 系统“我从未见过如此厚颜无耻之神。” 如果每一位父母在有小孩之前学习怎么成为合格的家长,是否能在一定程度上避免这种悲剧。顶级特工失忆,悄然回到故乡; 各国巨头首脑,一夜之间沸腾! “他是可以一人攻破一个国家最高防御的利刃!” “他是医仙王诩的唯一传人,他是医好我不治之症的人!” “他还是我女儿的意中人……” “给我找!不论付出任何代价,一定要找到他!”恶魔降临人间,天使同时抵达。恶魔祸害人间行凶作恶之日,就是天使变成恶魔之时。白天与黑夜交替,恶魔与天使并存,美女与野兽共枕…… 李渔:乘客您好,天使出租车公司为您服务。下班回家请按1;夜场接送请按2;送医买药请按3,特殊服务请按4…… 乘客:你个夜班司机,还有特殊服务? 李渔:天使出租车夜班司机李渔竭诚为您服务,您想要的,我这里都有。 乘客:我就想知道你都有哪些特殊服务? 李渔:帮人打架请按1,捉鬼降妖请按2,逛街遛弯请按3,帮忙约会请按4……目的不明?嗯,滚…… 乘客:你?你!你……是老司机李渔,这个城市的守夜人? 李渔:哼横……刚登上世界之巅,就被一块石头砸死了。 万万没想到他竟然穿越到平行世界? 在系统的帮助下开了第一家餐饮店。 但是没想到…… 火爆世界!一人,一刀,一马。少年走出家门步入江湖,辗转十数载,再回首已无归路。 我叫莫言,言而有信的言。有言在先的言!懒得下载日记软件了,就拿17k写日记吧。一觉醒来林雨来到另一个世界,不仅如此他还多了一个软萌可爱的小公主。 在别人眼里,林雨是超级全能巨星,在小芒果眼里,爸爸是无所不能的超人。 记者冲出人群,将话筒高高举过头顶。 “林雨先生,表演界称呼您为影帝。” “声乐界称呼您为歌神。” “作曲界称呼您为曲爹。” “作词界称呼您为词圣。” “文学界称呼您为文学泰斗。” “导演界称呼您为无冕之王。” “请问,在这么多赞誉中,您最喜欢哪个称呼呢?” 林雨微微一笑:“我最喜欢,文艺巨星奶爸。” 怀揣梦想,肩负责任,天大地大无所不能,护娃宠娃全能奶爸。
营销软件 廊坊网站制作 网络安全密钥最后一位 凡客公益营销 网站建设策划 网络安全攻击的分类 网络事件营销ppt 网站建设: 信息安全与it审计关系 网络安全下载 武汉大学出版社 事业不顺的原因分析【www.richdady.cn】 财运不佳的财运改善【www.richdady.cn】 为什么过世的前世案例咨询【www.richdady.cn】 莫名其妙感伤的前世记忆【www.richdady.cn】 事业不顺的职场困境【www.richdady.cn】 什么原因意外的前世因果咨询【企鹅383550880】√转ihbwel 前世老婆【微:qq383550880 】√转ihbwel 事业不顺的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的心理调适咨询【www.richdady.cn】√转ihbwel 前世缘份的修行建议咨询【σσЗ8З55О88О√转ihbwel 迟缓儿的自我提升【微:qq383550880 】√转ihbwel 前世因果咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世咨询【微:qq383550880 】√转ihbwel 纠纷的案例分享咨询【企鹅383550880】√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【企鹅383550880】√转ihbwel 感情纠纷的情感修复咨询【微:qq383550880 】√转ihbwel 意外的前世缘分威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的自我提升咨询【σσЗ8З55О88О√转ihbwel 与公婆前世的因果关系咨询【σσЗ8З55О88О√转ihbwel 外灵干扰的前世故事咨询【www.richdady.cn】√转ihbwel 信息安全等级保护培训 产品网络安全认证证书 信息安全与it审计关系 成都信息网络安全协会 分享经济营销网络安全攻击有哪些 dos攻击 营销型b2b网站 营销网事 2016杜蕾斯事件营销 信息安全分为十个方向 凡客公益营销 北京营销网站建设 营销型公司有哪些 清华大学网络安全实验室 计算软考网络安全 网络安全攻击的分类 传统零售营销的特点是什么 网络安全及等级保护 成都市网络安全协会 信息安全等级保护 谁使用 谁负责 洛阳做网站 2016网络安全威胁 计算机网络安全培训、 网站建设行业 网站代运营公司 网络营销岗位 网站建设: 廊坊网站制作 有经验的南昌网站设计 信息安全技能要求 网站建设模板是什么 招生网络营销方案 天津做网站 网络安全法的内容 影楼网站建设 营销型网站建设哪里有 信息安全技术主要有 政府网络安全实现 邮件营销的优点有 网站功能及报价 宝鸡做网站 网站开发制作公 网络安全行业发展 股票网站建设 网络安全产品起名字 深圳企业网站公司 信息安全分为十个方向 信息安全与it审计关系 佛山用户网站建站 公安局信息安全部,-1 网络营销畅销书排行榜 网络安全密钥最后一位 武汉网络推广营销公司排名 网络安全与个人安全 高校网络安全建设 分享经济营销网络安全攻击有哪些 dos攻击 政府网络安全实现 科学管控在网络安全中的重要性 个人信息安全调查报告 建网站难吗 网络安全及信息化 互联网全案营销唯品会营销方案案例 武汉网站制作 营销网事 想自己建个网站 武汉网络推广营销公司排名 天津做网站 2016信息安全大赛 一等奖 2016杜蕾斯事件营销 网站能在别的电脑打开但在我电脑打不开但我又能打开其他网站 个人信息安全规范 产品 网络安全事件解决时间 网络安全宣传周活动项目 信息安全分为十个方向 营销软件 中国网络安全实验室 西安信息安全培训机构 温州购物网络商城网站设计制作 提供网站建设搭建 网络营销工具和方法有哪些 河北邢台wap网站建设 网络营销连接的爱 短信营销数据 宝鸡做网站 网络安全课程 天津电商网站制作 信息安全等级保护培训 信息安全项目分享 网站建设策划 网站本地调试用localhost上传服务器该如何修改 营销型网站建设哪里有 广州市信息网络安全... 北京网站的建立的 佛山用户网站建站 cdn与网络安全 营销型b2b网站 互联网营销语句 网络安全课程 中山企业网站建设方案 五级网络安全级别 信息安全的漏洞 英语 产品网络安全认证证书 南京在线网站制作 双11营销 北京高级网站建设 提供网站建设搭建 产品网络安全认证证书 淄博网站建设乐达推广 成都市网络安全协会 大连建网站 淄博网站建设乐达推广 北京网站设计价格南京网站设计 网站建设模板是什么 2016信息安全泄露案例,-1 app网站公司 网络安全宣传周活动项目 整合营销推广公司 网站建设 技术 网络安全密钥最后一位 网络安全产品起名字 2016网络安全威胁 国安网络安全法 hefei 网站制作 南昌做网站 2017信息安全事例 河北邢台wap网站建设 物流网站建设 信息安全技术 等级考试 网站建设行业 整合营销推广公司 网络营销与营销的区别 关于信息安全的培训 电商营销公司 信息安全测试工具巴中网站建设 信息安全等级认定 软件网络安全