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

<a class="close" href="https://sj4fhb.3204.com.cn/">&times;</a>
网络安全调研报告网店协作与联动营销论坛如何做病毒营销上海整合网络营销公司网络信息安全通报机制重庆信息安全公司ic3中网络安全杭州网站优化公司东莞企业推广网络营销信息安全备份“大哥,该吃药了。” 一碗药,让秦天穿越附身在同样被一碗药干废的同名天才少年身上。 “想我堂堂七尺男儿,怎能拜倒在你的石榴裙下,认一个女子当师傅。” “不拜师也可以,信不信我找几个弟子带条麻袋来陪你聊聊人生。” “师傅,请您喝茶!” 大丈夫,当能屈能伸,为了复仇,哪怕是裆下之辱,老子也得带着一脸痛苦钻过去。 修行怎能分心,该打。 你打坐的姿势不对,该打。 你出招的方式不对,该打。 谁让你私自突破的,该打。 谁让你...... 师傅,我就进来给你送杯茶,你怎么也打我啊? 额,谁让你送的茶这么烫。 不可能,我尝过了,根本就不烫。 你......他苏辰,身为那九天之上的神尊,一夕被害,跌落凡尘。 可当他重生后,却发现,自己只要炼丹就能变强! 凭借一手出神入化的炼丹技术,苏辰短短几天就在大陆声名鹊起! 各类仙丹了解一下?不要998,不要888,直接带回家。 众人:不对,这苏家的公子不是个废柴么? 几天后...... 小丑竟是我自己! 好人董平做尽了善事,却不得好报,一场剧烈的车祸,骤然降临,结束了他短暂的一生。 去阴间的路上,董平遭遇了变故:冥河倒灌,奈何桥塌,小鬼杀判官。混乱中,董平得到一支太古判官笔,击杀恶鬼无数,一步步平定冥府叛乱,被天道封神。在踏足神界的那一刻,董平发现神界也并非一片净土,于是…… 董平:“既然天灭众生,那么我就代众生灭天,重立天道!”“快来救我,我被困在相亲对象家的棺材里了!” 接到这个电话的吴邪和谢小花一脸懵逼。 现在小年轻都玩的这么花? 棺材? 还把自己困进去了? 而当他们根据地址赶来之后,却险些丧命于这看似普通的店铺当中! 最后找到了霍秀秀,却也没办法将其解救。 即便是暗中保护的小哥和吴三省也手足无措。 反而是差点被守护的扎纸人给一刀两断! 在这危急万分的时刻,阴风四起,一顶纸人抬轿停在了门口...... 多年以后。 霍秀秀注视着陌上少年:“扎纸匠、赶尸人、阴阳先生.....顾言,你到底还有多少身份啊?” 顾言腼腆的笑了笑,“方方面面都懂亿点吧!”陈羽因误会被诸天女帝围攻陨落之后,觉醒诸天轮回系统,九世轮回显现。 举世震惊,女帝们痛哭、懊悔不已。第一世,无双女帝:师兄挖我重瞳,恨不得食肉寝皮! 轮回播放完,无双女帝哭晕:师兄,你不要离开我!原来我一直是那个被偏爱之人! 第二世,千羽女帝:这人是谁啊,太霸道,好讨厌。 轮回播放完,千羽女帝洞奔:鸣鸣鸣,我居然忘了我生命中最重要的人,为何要救我,让我去死! 第三世,红颜女帝:哼,不靠谱师傅,耽误我修行,死得好! 轮回插放完,红颜女帝大锤疯狂砸脑门:师傅,我想一直当你的徒儿,听你的话,再也不任性了! 第五世直至第九世,每一世都与神激战,震惊诸天万界。 来17K小说网阅读我的更多作品吧! 支持原创文学,支持正版阅读!一切始于混沌,终于混沌! 万族林立,人族只能蜷缩于域内,等待真正的强者出现,带领人族重回辉煌。一个现代的社畜高松在意外之下穿越到了三国时并且绑定了言出法随系统,主角先是在座小县城精准预言了曹操的遭遇之后又指点提前建立了大魏王朝并被拜为帝师,在120岁时飞升前往仙界因为系统出现故障把他带到了一个高武位面之后他就发现了这个高武位面的秘密。江明市民间一线香传人凌冬,在两年前遇到离奇死亡案件。两年后,江明市又发生了同样的特殊案件,江明市公安厅为了调查案件成立了特殊行动小组第七行动小组。江明公安因凌冬在此案件中有重要作用特力荐其加入专案组。顶级刑侦专家孟子仕出任组长,优秀法医夏帆月,优秀刑警付安良,顶级黑客林彬。一桩桩骇人听闻的案子诡异来袭,玉米地失踪案件,清明扫墓失踪案件,女老师支教失踪案件······江明市各路奇人齐聚特案组,为拨开迷雾,寻找真相,挖掘出隐藏在特殊失踪案件后的险恶人心。莫名其妙的姐姐若隐若现,关于师傅的死亡真相支离破碎的一点点出现,凌冬能否在行动小组兄弟的帮助下解开两年前的真相。异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。2025年,全球抗疫斗争取得了阶段性胜利,疫苗普及率达到70%,虽然新冠肺炎疫情仍在影响着世界,人类似乎有望重返那个和谐安详时代。然而,一个更严重的潜在危机正在酝酿,一种新型病毒正在悄无声息地传播,各国企图采取措施,然而人类发现,这场新的疫情的背后隐藏着许多超越当前认知的事情,光靠一己之力根本难以阻挡,人类事实上十分脆弱,越来越多的开始失去生命,人类走到了灭绝的边缘。就在许多人陷入迷茫之际,一个全球性的组织开始浮出水面,开始由幕后走向台前,轻霜冻死单根草,狂风难毁万木林,唯有团结,人类才能赢得生存的机会。
陕西企业网络营销 网站制作素材 网络安全审计方案 国家安全之网络安全 长沙网站制作公司 分享型网站 南昌网站建设公司服务器 网络营销教程 银行 情感营销 短信 青岛商业网站建设 青海做网站公司 怎样上传自己的网站 如何测试网络安全 郑州做网站的外包公司 网上营销渠道 大馆陶网站 重庆信息安全公司 idc中国网络安全市场分析报告 广州建设网站 青海做网站公司 网络营销传播实战策略 广州建设网站 汉中建网站 美国网络安全专业大学 网络安全动态分析包括哪些内容 美国网络安全专业大学 台州网站建设公司 留住用户网站 网络安全安控科技 网站核验点 上海市 信息安全大赛 信息安全 pki 上海整合网络营销公司 龙岩建网站 上海整合网络营销公司 公司网络安全 中小企业网站制作 郑州营销托管公司 网店协作与联动营销 数字营销知识 郑州做网站的外包公司 上海营销外包公司排名 西安信息安全比赛 吕梁网站建设 网站不稳定 龙岩建网站 北京网站建设公司案例 建网站中企动力 点网站建设 网站设计公司电话 上海模板网站制作多少钱 整合服务营销是什么 长沙网站制作公司 网络安全工作组 信息安全数据 信息安全服务资质 安全工程类信息安全服务范围 计算机信息安全与管理 吕梁网站建设 gb/t 20270-2006信息安全技术 网络基础安全技术要求 学校网站模板 北京做网站公司 点网站建设 如何做好网络营销投资 如何选择佛山网站建设 网上营销渠道 东莞网站案例营销 台州手机网站建设 互联网营销可以做什么 大馆陶网站 网络营销观念创新科研信息安全 信息安全技术 信息系统安全管理要求 云南网络安全 重庆信息安全公司 网站类型案例 网络安全法专题培训 东莞企业推广网络营销 idc中国网络安全市场分析报告 论坛如何做病毒营销 江西南昌网站定制 怎样上传自己的网站 广州建设网站 营销每日总结 网站制作素材 信息安全公司排名,-1 东莞网站案例营销 最新网络安全产品 郑州营销托管公司 营销网络图 第七届中国信息安全博士论坛 网络安全编程多吗 珠海营销 沙井建网站 汉中建网站 广州建设网站 郑州专业做网站 微信营销成功的关键 网络事件营销的优点 成都网络营销公司排名 创新的南昌网站设计 个人信息安全 ppt 微信平台网络营销 网络安全法专题培训 成都网络营销公司排名 国家安全之网络安全 上海最好网络安全公司网络安全为标题 广州网站设计公司排名 网络安全动态分析包括哪些内容 网站建站 seo 三合一网站建设 福州微信营销培训 第四届首都网络安全日 大馆陶网站 成都高端网站建设公司网络营销策划师 台州网站建设公司 建网站中企动力 网络营销的初级职能是 整合营销传播的条件 信息安全等级保护管理办法 留住用户网站 网络安全 方向 星巴克与微信营销 信息安全类产品 郑州做网站的外包公司 网络安全安控科技 如何测试网络安全 成都高端网站建设公司网络营销策划师 微信网站设计 网站不稳定 中小型网站设计公司 整体性营销 佛山手机网站建设优化 中国国家信息安全产品认证证书 建网站后如何维护 西安信息安全比赛 整体性营销 信息安全 pki 信息安全公司排名,-1 江西南昌网站定制 信息安全 pki 北京网站建设公司案例 网络安全 方向 网络安全面临的威胁主要有哪些 网站建站 seo 网站制作素材 郴州网站设计