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

<a class="close" href="https://lkz.xuvu.cn/">&times;</a>
网络信息安全维护系统网站工作室如何打造网站核电信息安全入侵营销案例分析范例中国网络安全形势2016关于建立国家信息安全产品认证认可体系的通知网络安全报警网网络安全方面的职业社交营销平台外贸一场赌斗,天下九州做棋子 少年为了保护小师妹从深山走出,左手悬壶济世,右手飞针杀人,赚钱救人两不误。 不管权势滔天,还是富可敌国,在我面前都须低头。 尔等记住,若我避世,群雄并立,若我入世,天下无双! 踏天地,燃道途。破生死,度轮回。血染四方,荒慑八面,我欲立天,动乾坤! 元气大陆,肉弱强食,唯有繁衍到巅峰的元气修行! 少年出自凯云镇,一切从这里开始......。张强大学刚毕业就发生了父亲车祸死亡,有人利用家事躲避追责逃往国外,张强获赔一个废弃金矿,前往淘金时意外获得天外来物,来自M78星系的采矿飞船辅助系统,一步步收集能量,一步步制造科技,一步步强化身躯,炸R国神厕,灭M国黑宫,协助中国统治地球同志银河系!唐轩只是一个普通的懵懂大学生,在鼓起勇气告白的这个夜晚,校花的突然来访改变了他平淡的人生。在惊悚与神秘的呼唤下,在爱与死的抉择下,他毅然选择了未知。王座高悬于上,陌生国度的大门向他缓缓开启。平凡的小人物走上不平凡的真理之路。然而王座的前面诡谲重重,当真相解开面纱,唐轩又该如何抉择? 是屠龙的少年终成恶龙,还是……颠覆整个世界。 见千年前的那场旷世大战,将这片大陆的格局重新改变。 几千年的进步,这片大陆步入了现代社会,却依然有人在追寻仙法的本源,最终他们得到了这样的答案。 金、木、水、火、土、风、雷、冰、光、暗、音、以太,十二种已知最直接的元素力量,是仙术?是法术?还是是魔法? 不!在这个世界里,它们就是纯粹的元素,是规则衍生出来的力量。 谁能坚持到最后,谁能更好的使用这种元素之力,谁就能成为这片大陆的传说。“变成一条龙是什么体验?” 叶寻变异了,拆完一个陌生快递,开启了疯狂的觉醒之旅。 他变成了真正的肉食性猛兽,食量剧增、力量疯涨,还因此而收获了美女总裁的垂青。 当叶寻力挫情敌,俘获佳人芳心,开始走向人生巅峰的时候,一场全球危机悄然降临…… 龙魂再现,守护华夏! 研发五年的虚拟现实(VR)游戏《天下》终于上线,作为网瘾少年的林狼等人自然是无法抵挡诱惑,进入了游戏。作为首席开发设计师梦如与张楠却也成功进入了游戏,却怎么也没有想到,《天下》在朝着她们意料之外的方面发展……秘诡与神明降临,生灵涂炭。人类危矣。奇诡之纹,显于人身。其秘无穷。 人们在璀璨光明下安居,殊不知光影共存,暗亦强盛,他们对神话是否存在一无所知,与危险屡屡擦肩而过。 祈明、戮邪、踞守、猎暗四部无时无刻不在对峙神话与秘诡,以血肉之躯,筑起守卫人类的长城。 “祈明降至,踞城死守,游猎暗诡,戮邪无畏! 所有人听令! 死战不退!我们……为守而杀!” 【新人新书,不喜勿喷】张天峰重回1993年,以90元豪博100万。 从实业入手,一招盲盒经济享誉全球。 入股双马公司,教两人玩转用户流量经济。 控股苹果集团,教乔布斯设计一款完美手机。 ...... 拥有前世记忆,赚钱非常简单。 这一世,张天峰要教未来富豪赚钱,让他们把自己送上首富的宝座!
网络信息安全维护系统 外推排名微信粉丝营销 深圳企业做网站公司有哪些 网络安全设计方案 邢台网站制作地方 软件信息安全方案 做网站创意 长沙 做营销型网站的公司 网络安全法漫画 国家信息安全等级保护网 外灵的种类咨询【www.richdady.cn】 解梦的自我提升【www.richdady.cn】 自闭症的前世因果咨询【www.richdady.cn】 外灵【www.richdady.cn】 缺心眼的环境影响【www.richdady.cn】 暗恋的自我提升【σσЗ8З55О88О√转ihbwel 感情纠纷的解决技巧咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场突破咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的阅读计划如何制定?【微:qq383550880 】√转ihbwel 如何改善财运不佳的情况?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的自我提升咨询【微:qq383550880 】√转ihbwel 解梦的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的应对策略【企鹅383550880】√转ihbwel 儿子抑郁症的症状与诊断咨询【www.richdady.cn】√转ihbwel 灵魂化解的具体步骤【www.richdady.cn】√转ihbwel 干扰的预防与化解【σσЗ8З55О88О√转ihbwel 构建和谐亲子关系的方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的生活习惯咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的原因咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 免费的营销 网站建设seo优化的好处 个人网站的开发与设计 聚美营销 营销的微博 不属于计算机网络安全技术的是 逛信息安全论坛 微信营销的好处坏处seo优化网站建设公司 网络信息安全 期刊 网站模 数字营销网络营销 网站设计验收 如何打造网站 网站建设规划书 旅游网络营销策划方案 深圳企业做网站公司有哪些 购物网站如何推广 网络安全空间大赛 临沂网站设计 个人网站的开发与设计 营销软文范例 吉首网站建设 网络安全 比赛 邢台网站制作地方 如何打造网站 信息安全笔试,-1 网络运营整合营销 教委高校网络信息安全 网站定制 天津 济南微信网站 网站设计验收 网络信息安全防护体系 数字营销网络营销 网络安全规划拓扑 营销授课南昌 天津信息安全比赛 教委高校网络信息安全 广州制片公司网站 脚本对于网络安全 网络营销站点域名采用"企业网站域名/产品名或营销页面名"的形式属于 中国网络安全大会2014 网络安全扫描与实现 山东企业网站建设 网络安全报警网 建网站空间 机关网络信息安全管理制度 深圳企业做网站公司有哪些 工业网络安全企业 3合1网站建设 新媒体营销成功案例ppt模板 社会化网络营销基础 网站工作室 网络事件营销定义 龙岗网站优化公司案例 公安部信息安全 中心 社交营销平台外贸 信息安全标准规范 核电信息安全入侵 网络安全工作实施流程图 不属于计算机网络安全技术的是 工业网络安全企业 湖南网站建设 网络营销应当实施以 为中心的产品开发策略 网站的优点 中华人民共和国公安部网络安全保卫局 网站分享设计 哈尔滨做网站电话 网络营销渠道整合 杭州专业做网站的公司 4g网络安全 免费的营销 末加密的网络安全吗 镇江企业网站建设 关于建立国家信息安全产品认证认可体系的通知 聊城做网站建设的公司 公安部信息安全 中心 2016网络安全政策 厦门免费建立企业网站 郑州手机网站推广公司 网站备案需要什么 成都网络营销服务公司 建网站空间 沈阳科技网站建设网络个人信息安全 网站维护? 营销的微博 网络营销负面 网络安全法 漏洞 网络运营整合营销 广东 网络安全空间协会 郑州网络营销服务 网站备案需要什么 美食城营销 营销案例分析范例 网络安全态势感知探讨 建设企业网站平台主要的目的是 网络安全监测预警机制 信息安全-信息系统安全等级保护基本要求 网络安全态势分析 网络安全技术概论 好模版网站 工业信息安全培训课程 网络营销的基础知识 清华网络安全哪个教授 旅游网络营销策划方案 机关网络信息安全管理制度 微博营销优势与劣势 网络安全 香港 网络安全法 漏洞 网站建设seo优化的好处 网站定制 天津 新媒体营销成功案例ppt模板 涿州做网站 如何打造网站 2016网络安全政策 网络营销负面 信息安全-信息系统安全等级保护基本要求 精准营销网 中国网络安全形势2016 信息安全导航 第五届网络安全会议 网络安全 检测实验室 什么是信息安全与管理中心 建网站赚钱 专业开发网站公司 网络营销站点域名采用"企业网站域名/产品名或营销页面名"的形式属于 温州网站推广 常见信息安全技术 郑州营销推广 网站设计验收 信息安全学 微网站页面 工业网络安全企业 成都网络营销服务公司 深圳企业做网站公司有哪些 末加密的网络安全吗