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

<a class="close" href="https://k1lu.550022.cn/">&times;</a>
绵阳公司商务网站制作2017 网络安全会议国家推进网络安全服务体系建设方案天津网站优化公司网络营销外包价格网络安全会议2017地址西安信息安全测评中心网站和手机网站原厂商具备 信息安全服务资质 安全工程一级哪个服务器厂商有简述网络营销及特点是什么意思微博营销近期运营方案网站怎么设置支付功能大学开学前几天,鹿鸣和几个好兄弟一块儿聚了聚。 一向不喝酒的他被几个好兄弟给灌醉后,进走错了厕所,进了女厕所。 当他醉醺醺推开一扇厕所门时,居然看到一个漂亮的女人。 于是乎,他不但被误会成了流氓和变态,还被那女人给狠狠揍了一拳。 …… 两人的缘分就此开始了我不记得5岁之前的事,但我有个老道师傅,生活在清风观,师傅说我身患人皇骨,却不属于这个世界。君昊辰阴差阳错穿越到大宣王朝,重生在一名皇子身上。 坑爹的是,这位倒霉皇子居然落魄到给别人做下等家丁。 …… 他不但要赘婿逆袭成为家主,还要诛尽奸臣夺回大权,扫荡四夷称霸天下! 他的名言是:谁最牛逼就打谁的脸,谁不服气就打到他断气!一睁眼,逝去的父亲跟爷爷飘荡在你眼前,你害怕吗? 在你慢慢能接受了的时候,又告诉你你也快了,你害怕吗?原本吴向东作为医院高新人才引进计划的成员而备受瞩目,却因为一场突如其来的医疗事故坠入深渊,不但被医院打上“推诿病号”的烙印,更是在同窗的推波助澜下被医院发配到乡下干起了赤脚医生,耽误了前程。 虽然多年后他凭借精湛的技术在医疗行业中闯出属于自己的一片天地,却始终因为那件事被人诟病,无法将自己的健康理念推向全国,而后在某次醉酒中他发现自己重新回到1999年的那场医疗事故的当晚。 于是那个男人回来了,他凭借前世经验,在那个单纯以治疗疾病为目标的年代,始终坚持以病人本身为治疗原则,在他的带领下,医疗行业发生翻天覆地的变化,而他和自己的团队也在一次次医疗事件中,逐步登上世界医学的舞台并伫立在世界之巅。(女帝,气运,悟道,天才,争霸) 瑶池圣女:手握日月摘星辰,世间无他这般人。 青莲剑圣:不会真有人觉得,世子大哥是凡人? 狠人女帝:不为成仙,不为成帝,只为在红尘中长伴君之左右! 君逍遥很难受。 他一句话,让女帝娘子,悟出了一念花开,君临天下。 他一首诗,让青莲剑圣,明了了绝世剑意,万古长歌。 他一幅画,让瑶池圣女,炼成了六道轮回,造化天功。 气运之子,一路高歌,一路横推,一路喊着世子才是真无敌! 君家世子,一直羡慕,一直苦笑,一直都是平平无奇小世子…… 终有一日,荒域大乱。 君逍遥破了老祖留下的世子不能出府的预言。 惊天动地的事发生了。 我为天子镇国门,血染江山亿万里! 不出世则以。 一出世必成天下第一! …… 一个最美的修真时代,一个荡气回肠的修真世界,快来与他一起踏上这修真之旅!一个大学生,毕业后竟然沦为宅男,每天沉迷于网络。当一天,他收到一个网站后竟然穿越到了一个神秘的朝代。 这是一个光怪陆离的世界,深色的天空中有血泪如雨,暗黄的地面上如龟背皲裂,在那座远古的大殿中,身边是魑魅魍魉张牙舞爪,身边是漫天仙皇,威逼九天,掂起了一枚棋子,放在那张棋盘上,“胜利者,你相信神明存在吗?”老者笑而不语,同样落下一子,我不得不专注于棋盘,额头沁下几滴汗珠,终于“将死!” 败北之后,我的眼神空洞了许多。 老者笑着伸出手,盖在我的头顶上,“我,不就是神明吗?”李新焰家住大福村,可家里一点也不大福大贵,穷得叮当响,父亲做投资失败,欠了全村人的债,母亲也因为意外落了残疾,腿脚不便,整个家只能靠李新焰种地支撑。      然而就在这一天,他在地里挖到了一件龙袍,从此帝王之运加持,命格改变。      村里也出现了新的风景线“让开,别挡朕的道!”      “放肆,不得忤逆朕的旨意!”      “婷婷,朕让你做妃子如何?”……
腾讯网络安全大会 实施国家信息安全等级保护制度 信息安全从业人员规模,-1 能源行业网络信息安全 福田的网站建设公司 双线网站 网络安全与认证 对网络营销弊端的看法 经典网站设计 信息安全 物理攻击 孩子学习不好的前世因果【www.richdady.cn】 失业的职业规划咨询【www.richdady.cn】 亲子关系的案例分享咨询【www.richdady.cn】 前世缘份的重逢有什么迹象?咨询【www.richdady.cn】 性压抑的案例分享【www.richdady.cn】 家庭关系的和谐共建方法有哪些?【www.richdady.cn】√转ihbwel 如何改善亲子关系?【微:qq383550880 】√转ihbwel 潜能开发与自我提升【www.richdady.cn】√转ihbwel 头脑混沌的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度与慈悲心咨询【企鹅383550880】√转ihbwel 孩子厌学的环境影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何预防过早离世咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的前世影响【微:qq383550880 】√转ihbwel 升迁障碍的心理调适【企鹅383550880】√转ihbwel 失业【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 克服职场升迁障碍咨询【σσЗ8З55О88О√转ihbwel 阴间生活的文化背景咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的心理调适【www.richdady.cn】√转ihbwel 什么原因意外的前世修行【www.richdady.cn】√转ihbwel 去世的母亲的前世解析【企鹅383550880】√转ihbwel iscc信息安全 四叶草网络安全公司 信息安全产品采购名录 众筹网站建设 wap网站制作 太原网络营销师培训 凡客诚品网络营销评估 福田的网站建设公司 网站首页页面设计 2016信息安全产业规模 版权营销 腾讯网络安全大会 多语言网站 网站建设干货 开网站公司 网站咋建立 商城网站包括哪些模块 信息安全行业岗位 世界网络安全500强 信息安全实验代码 信息安全应急响应工作流程包括 鞍山网站建设 天津网站优化公司 电子邮件营销图片 微信公众号的营销作用 网站系统商城 复旦信息安全 义乌 外贸网站 开发 软件营销吧 网络安全与认证 网络安全网 网络营销托管服务商 网络安全会议2017地址西安信息安全测评中心 东莞政府信息安全 网站 体系 网站后台添加内容网页不显示 营销外包公司 台州做网站哪家好 武汉企业网站建设衡水建网站 【宁波网络营销】就找龙宇网络 营销型网站有哪些 企业信息安全问题 新闻类营销 国家信息安全漏洞共享平台 cnvd 网络营销多层次 网络营销所面对的挑战 2018年的网站制作 南宁网站忧化 信息安全应急响应工作流程包括 网络营销..sem.gs研究平台 云南信息安全等级保护 如何进网站 南宁网站忧化 双线网站 莞城网站制作 网站首页页面设计 双线网站 内容营销工具有哪些内容 台州做网站哪家好 网站建设机构网络安全 华为 渠道策略的网络营销 营销学术语 网络营销传播 案例 网络安全网 深圳整合网络营销推广 网站咋建立 信息安全产品采购名录 有网站后台 网络安全需要注意哪些 青岛做网站建设的公司 杭州 网站建站 网站备案 深圳网站制作公司人才招聘 舆论营销 嘉兴网站优化 网络安全法对银行影响 北京汉邦信息安全综合审计监控系统售后电话 济南网站制做 高校实验室应重视信息安全问题 能源行业网络信息安全 信息安全与管理证书 世界网络安全500强 旅游营销推广是指 网络安全感谢信 能源行业网络信息安全 北京网站建设有限公司 中国信息安全测评中心待遇 微博营销近期运营方案 网站建设干货 信息安全实验代码 青岛做网站建设的公司 中央信息安全 内容营销工具有哪些内容 网络安全审查 浪潮 不正常营销 哈工大网络与信息安全 网络安全展览会 四叶草网络安全公司 网站建设制作 南京公司哪家好 重庆本地网络营销平台 众筹网站建设 网络营销外包价格 网络营销技术基础语言 太原网络营销师培训 绵阳公司商务网站制作2017 网络安全会议 营销案例分析 福田的网站建设公司 网站怎么设置支付功能 原厂商具备 信息安全服务资质 安全工程一级哪个服务器厂商有 中央网信办网络安全 中央信息安全 能源行业网络信息安全 龙岗网站设计效果 网络安全须注意什么意思 网络安全网 双线网站 无锡网站建设公司 福田的网站建设公司 网站后台添加内容网页不显示 信息安全行业岗位 北京网站建设有限公司 信息安全 历史策略,-1 北京汉邦信息安全综合审计监控系统售后电话 营销学术语 2018年的网站制作 云南信息安全等级保护 网站怎么设置支付功能 众筹网站建设 东莞政府信息安全 重庆本地网络营销平台 能源行业网络信息安全 深圳网站制作公司人才招聘 莞城网站制作 【宁波网络营销】就找龙宇网络 如何进网站