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

<a class="close" href="https://fqec.nengpi.cn/">&times;</a>
外贸自动营销软件南平网站建设如何做好个人计算机信息安全网络事件营销ppt网络安全威胁什么意思推广型网站视频营销推广公司西安信息安全培训机构idc 信息安全软件市场网站代理维护 少女珂玥秘密守护着“时间之刃”——能将时空伸缩、折叠及扭曲的远古神器。魔界使者姽媚奉命转世追杀夺宝。暗物质世界(异次元时空)的蜥族人创立空玄教,寻找上古神族基因,欲统天下……神秘的“觉醒者”,似乎无处不在,却让人看不见摸不着。珂玥几近绝望之际,才发现“觉醒者”竟然是……?宇宙诞生,自然诞生?人为诞生?混沌至上,虚空之遗,这个世界真的是无规律运转吗?谁曾想过更高的维度空间,有最高吗?若无那么便叫吾觞次元!普通高中生肖南 末世来临,为救同学而死去。 【玖月】到来也使他再或新生 末日的到来使人类不得不团结,放下国与国的战争,共同活下去。 但是,末日的到来也让人性的丑恶展现的淋漓尽致。 何为光明?何为恶魔? 被人性的丑恶而厌恶的肖南,成为了世界的新主 人性是什么?人类该活着吗? “如果人类就是这样,这个世界就是这样的话,那便没有存在的必要了。”一代天神江山,奉命下凡拯救蓝星。魔王,陨落了;没有一点痕迹,然而待他苏醒之日,群魔觐见,俯首称臣。天界,人界,魔界都因他而战栗。一次次阴谋,一个个谜团,都需要鲜血才能显现,在人间,他会卷起怎样的风暴。这最终的谜团,他是否又能解开当气温骤降,末日是否即将到来? 直到人们发现,这一切的一切才开始救赎。智慧的头脑与冷静的心,是面对这一切的最好决策。现代科技不断更新迭代,那厚厚的冰墙却还是亘古不变。为什么? 冰的另一端是什么?这没有人知道。或许是另一个国度,又像是真理的尽头。虚无缥缈的希望与能砍破一切的破冰刀,在人们的手中,又有多少的绝望? 破冰者,这个时代的荣耀,但谁又知,成就之困难。唯有在绝望中诞生的,或许可以借助这一切,去往之真理的圣地。 “所及之处,处处是路,处处是光明,还有先辈们的脚印与他(她)们的热血_” 当稚嫩少年遇到乱世风云,当家园遭到野蛮的屠杀,当亲人的胸膛在少年眼前被利剑贯穿,一切报复都难以抹去血海深仇。亲人的血液沾染了双手,泪水已然流尽。 当少年不再流泪,当少年不再为私仇,当少年心怀天下与黎民,仇恨得到原谅,乱世已然成历史,少年已然成暮年。全民领主时代,每人开局一个领地招募兵种,发展资源。 王晨觉醒神级天赋不但拥有无限升级,而且还能百倍增幅。 7000级的亡灵骑士,一人就可覆灭一地。 面对5000级的枯骨亡灵,巨龙领主也只能成为坐骑。 当百万级的堕落使者,地狱三头犬,恐怖幽灵出没,世间所有领主臣服。 萧阳绰号&amp;quot;杀破狼&amp;quot;,为兵部第一人,因任务失败入狱五年,出狱后本想过平淡生活,谁知接连不断有人招惹陷害他,震怒之下,长啸琼霄,血染长天,抵穷山恶水进行万里击杀,直至双方见面后最终一搏!苏辰穿越到平行世界,恰逢末日降临!   在所有人都疯狂逃亡时。   他的精神力却在穿越的时候变异了,开局能够操控丧尸。   当别人过着生不如死的逃亡日子,苏辰却活得越发滋润,还有大小美女相伴!   过起了没羞没噪的生活!   不仅如此!苏辰还发现只要不断吞食晶核,精神力就能够操控一切!   物体、重力、星辰、空间、时间...   ···   我叫叶紫萱,是一个重生者!   未来的我觉醒了宇宙4大力量之一磁场掌控,威震八方,人称万磁女王!   可就在我觉醒之时,妹妹却因救我而死!   这一世,我要守护她!   就在我领着她要去最大的基地时,一个叫苏辰的男人出现了,并不怀好意地盯着我们俩。   为了守护妹妹,我只能咬牙挺身而出...
重庆企业网站建设哪家专业 网络安全管理功能包括什么活动 专业网站设计 广州网络微信营销公司有哪些 兰州网站建设|兰州网站制作|兰州网站设计公司|兰州网络公司 广州网络微信营销公司有哪些 上海企业网站 全国信息安全大赛 保定互动营销 云网客 互联网效果营销服务商 发育倒退的案例分享【www.richdady.cn】 前世老公的咨询技巧咨询【www.richdady.cn】 孩子学习不好的自我提升【www.richdady.cn】 公司破产的应对策略【www.richdady.cn】 大龄剩女的情感困扰咨询【www.richdady.cn】 家宅磁场干扰的原因【微:qq383550880 】√转ihbwel 人际关系不好的自我提升咨询【微:qq383550880 】√转ihbwel 外灵干扰【www.richdady.cn】√转ihbwel 前世缘份的缘分解读【微:qq383550880 】√转ihbwel 事业不顺的职业规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的案例分享咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰对生活有哪些影响?【企鹅383550880】√转ihbwel 发育倒退的原因分析【σσЗ8З55О88О√转ihbwel 婴灵的超度与化解【www.richdady.cn】√转ihbwel 婴灵的超度仪式【σσЗ8З55О88О√转ihbwel 为什么过世的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴的案例分享咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 保定互动营销 云网客 网络管理与网络安全 重庆营销策划 网络安全行业研究报告 电商网站报价 大连大型网站制作公司 传统营销模式的优缺点 免费的企业网站 网站外链建设 网络营销工程师培训 上海企业网站 网络营销推广渠道包括哪些方面 深圳公司做网站 网络安全设备与技术网站色彩 公司网站建立教程 南平网站建设 网络安全威胁什么意思 西安信息安全培训机构 南昌手机网站制作 海尔网络营销策略分析 全国信息安全大赛 网络信息安全管理局 自助建手机网站免费 网络安全实训室建设方案 计算机网络安全讲座 网站建设 中企动力公司 网站seo优化公司 杭州 网站建设公司排名 双11营销 深圳互联网营销 信息安全新法规 饭客网络安全学习论坛 外贸网站营销方案 传统营销模式的优缺点 网络安全方案建议 关于身份的信息安全 推广型网站 电子信息安全 信息与 网络安全的基本概念 模板网站的好处淮安网站建设 自制公司网站 网站开发与建设 分享经济营销 网站页面设计 途牛网络营销策划 绵阳的网站制作公司 信息安全在线实验室 百度网络营销搜索推广信息安全分为十个方向 2016年网络安全法 南阳营销策划 优帮云 九州建网站 网络安全 标准 长春微信做网站 央企网络安全大会意义 兰州网站建设|兰州网站制作|兰州网站设计公司|兰州网络公司 网络安全运维管理系统 网站代理维护 手机版网站制作 传统市场的营销活动 金融网站建设 百度网络营销搜索推广信息安全分为十个方向 厦门外贸网站 网络安全安卓版 上海口碑营销公司 linux网络安全实践 pdf 全国信息安全大赛 公司网站图片传不上去 企业网络安全案例介绍 网站开发与建设 linux网络安全实践 pdf 南京网站建设 网络安全 主题会议 网站外链建设 南京网站建设 渭南网站建设 兰州网站建设|兰州网站制作|兰州网站设计公司|兰州网络公司 大连营销策划 优帮云 分享经济营销 网络营销竞争大吗 外贸网站营销方案 网络安全方案建议 信息安全年会 cncert 南平网站建设 重庆营销策划 最新企业网站系统 永恒之蓝 网络安全 长春网站推广 瑞星网络安全预警 网站页面设计 网站开发和 凡客公益营销 昆明网站开发多少钱 互联网营销 国内 国外 互联网效果营销服务商 网站信息安全测试方法 营销策划类公众号 辽宁企业网站建设公司 网络信息安全委员会 南昌手机网站制作 信息安全 顶尖会议期刊 jsp网站空间 辽宁企业网站建设公司 如何改变网站首页栏目 九州建网站 下载免费网站模板下载安装 网络安全设备与技术网站色彩 海尔网络营销策略分析 长春网站推广 产品网络整合营销方案 渭南网站建设 南阳营销策划 优帮云 济南网络推广网络营销报价 信息安全有哪些应用 病毒性营销视频发信息安全吗 网络管理与网络安全 数据信息安全 自微网站 网络安全行业研究报告 加建网网站 上海的外贸网站建设公司 大连大型网站制作公司 网络安全法 三十四条 网络营销分为哪些特点 免费的企业网站 互联网公司 信息安全,-1 双11营销 网络营销工程师培训 信息安全领域大会,-1 网络安全实训室建设方案 网络营销推广渠道包括哪些方面 搭建网站设计 信息安全在线实验室 网络安全设备与技术网站色彩 深圳公司做网站 南京设计网站