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

<a class="close" href="https://fzc.n8ez.cn/">&times;</a>
传统营销策略的优点怎样黑网站互联网营销模式网络营销运营专员移动设备 信息安全网络安全和信息化工作细则国际信息安全新闻网站有哪些网络信息安全常用,-1中山精品网站建设信息网络安全评测报告中山精品网站建设信息民间口口相传着一个故事: 世间本蕴涵丰富的灵气。修道之人浅则延年益寿,深则飞天遁地、排山倒海,超脱万物之规律。 但在400多年前,一位通天地彻的神秘道人不知算出了何种天机,竟不惜魂飞魄散,道行尽失,也要与“天”抗衡。 自那以后,世间灵气变得十分微弱。虽仍有修道之人,但都修行浅薄。与登仙再无机缘。 18年前,一起发生在龙虎山的“离奇盗墓案”让方介白失去了双亲,但是他坚信自己的父母没有死。 也是自那以后,在这座城市里,不断有着灵异的事件情发生在方介白的身上。 这让一个坚信唯物主义的成年人无法用科学理解这些超自然现象,直到方介白发现......男主顾易意外穿越到大楚帝国,结果身份和现代社会还是一样平民,在大楚帝国一次意外中获得了系统辅助,完成任务直接一路飙升,咸鱼翻身为一大楚帝王。一个恐怖的都市悬疑故事 遇到一个不该遇到的,经历不该经历的事………我的身体里有只鬼……装疯卖傻只想欺男霸女逍遥一生的二世祖却莫名其妙得到战神精魄,成了众神狙杀的目标,一呆一傻组合被迫联手走上弑神之路。聚战神遗族,御四方神兽,重塑战神道统,一统万界却只为了可以混吃等死。 一朝穿越,竟成了绝世的天骄? 辛辛苦苦养了几十年老婆因心魔渡劫失败灰飞烟灭? 好吧,看我如何力挽狂澜,逆流光阴 嗯?怎么小时候的她,好像更香了二十年前,一场大火,父母双亡,与妹妹分离。 二十年后,接到刺杀任务,在战斗过程中,猜测目标是和自己分开了二十多年的妹妹。 因为这个猜测,导致任务失败,受到组织惩罚,“意外”死亡。 重生后,在成长路上,发现了二十年前的那场大火里,还隐藏着不为人知的秘密……长生库,一个存在了数千年的当铺。 它存在的虚拟之间,只和有缘人相见。 只要你能找到它,无论你想实现什么样的愿望,在这都可以实现。 长生库什么都可以典当,包括你的气运、寿命、人体性能以及下辈子等等。 关落,一个准大学生,父母就在他眼前遭人迫害,阴差阳错中关落成为长生库的主人……世界本无对错,人间也无善恶,人也罢,兽也罢,都是为了活着,道不同,不相为谋。注:本书节奏较慢,二十章才是个小高潮,阅读前请先给作者一张原谅票,不管看不看,小比作者先谢谢各位了煮夫是个大纲废、取名废、简介废,但是唯独文笔和构思不废,喜欢看不一样的故事就请看我的书吧,本来起纲的时候是都市纪实向或者恐怖灵异向的,结果,结果因为很多东西太敏感不能写,一不小心就涉黄涉政涉黑涉毒了,所以就只能改了,以下是我坦白的内容: 这个故事呢,大体是一个叫石羽白的“年轻人”带着自己送上门的老婆孟婆神“孟芝兰”别样的强者归来之路,也没写什么大事儿,就是破个九煞改命局、破个擒天锁地阵、再盗个太古神墓啥的,顺手暴锤一下巡天夜叉王,破解了先天十六卦之谜这种小事都不值得一提了。
郑州最好的网站建设 供应商信息安全管理 营销型网站推广方式的论文 信息安全评级 网络安全和信息安全的区别 运行 打开网络安全中心 广东网络公司营销排名 工业物联网网络安全 苏州做网站公司 青岛全网整合营销 性压抑的前世记忆咨询【www.richdady.cn】 缺心眼的沟通技巧【www.richdady.cn】 脑部不清晰的咨询技巧咨询【www.richdady.cn】 性压抑的前世因果【www.richdady.cn】 如何维护良好的家庭关系?【www.richdady.cn】 升迁障碍的职场转型技巧有哪些?咨询【企鹅383550880】√转ihbwel 前世老公的前世解析咨询【企鹅383550880】√转ihbwel 迟缓儿的症状与诊断威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的症状与诊断咨询【www.richdady.cn】√转ihbwel 孩子学习不好的案例分享咨询【σσЗ8З55О88О√转ihbwel 投资项目的环境影响咨询【σσЗ8З55О88О√转ihbwel 孩子压力大的解决方法【企鹅383550880】√转ihbwel 缺心眼的原因分析【www.richdady.cn】√转ihbwel 前世今生查询服务咨询【σσЗ8З55О88О√转ihbwel 缺心眼的环境影响咨询【σσЗ8З55О88О√转ihbwel 缺心眼的前世因果咨询【企鹅383550880】√转ihbwel 孩子厌学咨询【www.richdady.cn】√转ihbwel 前世老婆的前世解析【σσЗ8З55О88О√转ihbwel 特殊学校的课程设置【σσЗ8З55О88О√转ihbwel 与男友前世【www.richdady.cn】√转ihbwel 运行 打开网络安全中心 如何维护国家信息安全 郑州医疗网站建设 网站用橙色 查看网络安全日志 顺德新网站建设 用别人的网络安全吗 2017 429网络安全日 怎样黑网站 杭州网站建设设计公司 网站域名域名 中山精品网站建设信息 网络安全态势感知技术 网站维护中网络信息安全的重要性 信息安全专业的比赛 深圳搜索引擎营销企业 营销课 做网站收费 如何维护国家信息安全 网络安全与攻防项目 广州定制网站设 广州网络安全培训 深圳搜索引擎营销企业 网络安全产业报告 郑州最好的网站建设 广州做企业网站找哪家公司好 辽宁网站制作 网络安全法多少条 网络安全态势感知技术 网站维护中网络信息安全的重要性 企业营销 2014年网络安全形势 企业招聘信息安全 在线购物网站功能模块 中国的网络信息安全 新微博营销医疗行业网络安全现状分析 信息安全专业的比赛 邢台网站制作哪家强 网站制作公司电话 温州做网站哪家好 怎样做好公司网站 网络安全周启动.手机网站制作推广定制 银川网站开发公司 湘潭做网站 网络信息安全 通知,-1 苏州做网站公司 专业做网站企业 网络事件营销方案 江门建网站 做生意的网站 个人信息安全评估报告 龙岗 网站建设深圳信科 营销课 网络安全和信息化工作细则 工控 网络安全 招聘 江门建网站 在线做网站 asp .net php企业门户网站程序员开发必备教程 wap网站开发4r营销书 网络推广营销公司 先进网站 网络安全与攻防项目 软件网络安全认证 长春网站建设 北京平台网站建设 营销类的公众号名称 信息安全检测公司排名 北京网络安全产业联盟 网站设计公司南京 网络安全漏洞扫描 信息网络安全评估方法 珠海网站建设多少钱 网络安全日宣传活动 网站html设置首页 特色营销的要素 信息安全专业的比赛 网络安全与攻防项目 大连做网站的企业 网络安全漏洞扫描 进入教育行业信息安全的企业 广东网络公司营销排名 自助做网站 中国的网络信息安全 杭州模板网站建设 手机网站界面设计 供应商信息安全管理 网站建设 福州 工控 网络安全 招聘 信息安全评估常用参数 信息安全检测公司排名 网络信息安全常用,-1 国际信息安全管理标准体系 网络安全评测报告 网络安全产业报告 营销有哪些渠道 营销型 做生意的网站 东营网站设计 新微博营销医疗行业网络安全现状分析 工控网络安全龙头公司 深圳搜索引擎营销企业 网站jianshe 国外素材网站 如何用网络营销的方法有哪些方法 营销概念是什么意思 新闻媒体营销 昆明做网站哪家好 昆明做网站哪家好 网络安全产业报告 网络安全年会 网站jianshe 网络营销与销售的区别 上海网站制作顾问 托管网站 上海信息安全招聘 网络安全和信息安全的区别 郑州最好的网站建设 绿色风格的网站 东莞网站建设平台 网站建设 福州 国际信息安全新闻网站有哪些 网络营销( 杭州网站建设设计公司 企业网站seo linux 网络安全 命令 网络安全法多少条 企业营销 在线做网站 自助做网站 三亚网站建设 北京网络安全产业联盟 2014年网络安全形势 湘潭做网站 4p营销组合策略包括 网站设计软件