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

<a class="close" href="https://8jko.pangqu.com.cn/">&times;</a>
奥门网站建设网络安全产品培训方案设计营销起源于什么时候邯郸做网站信息安全专业中国大学排名网络安全如何防范首都网络安全日报名邹城建网站温州网站建设案例网站建设的域名注册本作品是一部相对严肃、严谨的历史小说,讲述的是夏商之交夏、商斗争的故事。本书收集了古书中关于夏商之际所有记载,包括近年来公布的出土文献的记载及部分历史研究和考古资料,其中既有历史记载也有神话传说,通过演绎和艺术加工,详细讲述夏商之际的故事,结构宏大,内容丰富,既有曲折的故事,也有很多的知识点,读了不会让您失望。毕业直接就职保安,少走四十年弯路的陈煜,在救人的时候发生意外,一段精彩的旅途开始了。 第一世界-红楼虽然我是救世主,但我很低调,遇到敌人打的过就打,打不过我就滚!猥琐发育,别浪!月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!一名高中落魄少年意外死亡,竟然离奇穿越被收养,多年后因战乱亲朋被杀,踏上修仙之路,寻找凶手复仇......由于我兄弟孟强的死,我走上了侦探之路,更是接触了很多喜气股改的事情,拐卖儿童、情杀仇杀,总结出了一条经验,不要挑战人性之前重生99次,叶凡都被系统因为各种原因坑死了。 这一世他想只想做一条躺平的咸鱼,让修炼见鬼去吧! 于是,系统含泪帮叶凡签到,极品灵宠却差点被叶凡端上饭桌; 极品功法被叶凡拿去垫了桌子腿; 绝世神兵成了新的烧火棍! 【警告!宿主即将遭受毁灭性打击!】 【警告!唉算了,启动自动反击程序……】 系统:宿主,你就不能假装修炼一下吗?意外穿越大秦,成为八公子嬴子夜,觉醒神级阅读系统,只要读书就变强!只要读书就能获得无限奖励,只要读书便可入圣! 为此,嬴子夜终日闭关读书,兢兢业业,不招灾,不惹祸。 终有一日! 始皇重危,意欲东巡求长生。 墨家蠢蠢欲动。 六国余孽准备造反。 赵高意欲篡改遗诏。 …… 嬴子夜知道,这时候不能继续藏了!再藏大秦不复、自己也将被胡亥杀死! “扮猪吃虎十余年,今日本公子不藏了!” “今日,本公子以读书入圣!一剑斩天!” “传令,三千大雪龙骑军出动!” “传令,铁浮屠出动!” “……” 夜晚的霓虹下,壁垒中的人类尽情的放纵着自己的激情。 但他们并不知道,阴影中的怪物们正死死的盯着他们,随时准备着剥夺他们的生命。 这些怪物隐藏在人群之中,嘲笑着人类的无知与愚昧。 十八岁的李如一却有着能够找出他们的技能——回溯。 六年前,李如一穿越到了这个科技发达且充满危险的异世界,为了成为超凡者而不懈努力; 六年前,两个猎魔人偷偷潜入13区19号城市; 六年前,一个叫做任小兰的老妇人牺牲了自己的生命; 六年前,一场大火烧毁了一个希望; 六年后,一个中年男人和一个老人下着棋,聊着天。 老人问道:“你难道不知道李如一很可能会毁掉这个世界吗?” 中年男人说道:“但他也有可能拯救这个无药可救的世界啊,不是吗?” 十万孤山中有座太渊峰,太渊峰上有个御兽宗。 在这里,山海经中的各种妖兽齐出,漫天飞禽翱翔于九霄之上,上古遗种疾啸于草野之间, 在这里,凶猛的穷奇是看门狗;在这里,高傲的血凤是起床铃。 某天,陈远航走出房门,望着空中遮天蔽日的山海经异兽,怒吼:“快让开,你们拦着我晒太阳了!” 半晌,见还是一缕阳光未落,陈远航正要发火,这时,上空传来大徒弟的喊声:“师尊,等会儿!堵住了!挪不动!” 又某日,弟子来报:“宗主,九品百虎王跪拜山门,求宗主帮他的御兽进化!” 片刻后,又弟子又报:“报!宗主,那瑶池圣女依旧不愿离去,死皮赖脸求宗主帮其强化血脉!” 不日,海域皇者求见,哭腔道:“求宗主帮吾幼儿化龙!”
太原优化型网站建设 网络安全主管部门招聘 邹城建网站 国家信息安全工程技术研究中心 国家信息技术安全研究中心 网络安全协会 活动 网络营销商 开发网站需要什么技术 阐述我国互联网网络安全形势 武昌手机网站 facebook个人信息安全 佛教视角下的前世今生咨询【www.richdady.cn】 婴灵对家庭的影响【www.richdady.cn】 事业不顺的原因分析【www.richdady.cn】 孩子学习不好的辅导方法咨询【www.richdady.cn】 性压抑的解决方法【www.richdady.cn】 冤亲债主对生活的影响【企鹅383550880】√转ihbwel 学习成绩差的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋经验有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的前世因果【企鹅383550880】√转ihbwel 冤亲债主干扰的超度方法【www.richdady.cn】√转ihbwel 感情纠纷的情感调解咨询【微:qq383550880 】√转ihbwel 大龄剩女的咨询技巧【σσЗ8З55О88О√转ihbwel 如何解决事业不顺的问题?咨询【σσЗ8З55О88О√转ihbwel 亲子关系【σσЗ8З55О88О√转ihbwel 孩子不爱读书的原因有哪些?咨询【微:qq383550880 】√转ihbwel 老公家暴咨询【σσЗ8З55О88О√转ihbwel 如何改善亲子关系?咨询【www.richdady.cn】√转ihbwel 感情纠纷的情感疏导咨询【微:qq383550880 】√转ihbwel 前世缘份的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的前世解析咨询【企鹅383550880】√转ihbwel 网络安全组织架构 安徽省信息安全 阳谷建网站 学校网站网站建设 迈克菲网络安全套装 营销危机 科技制作网站 网络安全公司前景 邮件营销策划方案 网络安全产品 微网站系统 网络安全管理实践 国内汽车网络媒体的无差异化竞争严重突破式的营销创新太少 APp 信息安全 邹城建网站 破解"工业控制系统信息安全"迷 赣州网站制作 上海国家信息安全中心 网站如何上传 淘宝店铺营销推广方案 唐山做网站公司 网站设计架构 国内汽车网络媒体的无差异化竞争严重突破式的营销创新太少 网络安全如何防范 关于华为网络安全整治 网络安全评估 网络安全防范方法 客户端安全 网关安全 服务器安全 安全服务网站开发需求 酒店网络安全审计设备 中国信息安全技术大会,-1长沙 做营销型网站的公司 重庆营销网站建设公司 顺德网站建设公司信息 衡水网站建设 有意义的网站 假网站备案 重庆营销网站建设公司 有意义的网站 网站建设的域名注册 建立http网站 广州手机网站定制信息 阐述我国互联网网络安全形势 柳州网站设计 顺德网站建设公司信息 国内汽车网络媒体的无差异化竞争严重突破式的营销创新太少 赣州网站制作 信息安全局 营销网站 网站图片类型 首都网络安全日报名 网络安全公司前景 工业信息安全通报预警 科技制作网站 西乡做网站 国家网络安全 网站 网站建设定制 温州网站建设案例 信息安全产品类型 网络安全 抓包 西安网站设计 假网站备案 南阳网站建设 信息安全专业中国大学排名 微网站系统 株洲网站设计 网络安全类公司排名 重庆专业网站搭建 深圳网络安全招聘 奥门网站建设 太原优化型网站建设 网络安全培训哪家好 聊城网站建设费用 中央网信办网络安全应急指挥中心 网络安全评估 建永久网站 网络安全主管部门招聘 建立http网站 邹城建网站 网络安全类公司排名 国家互联网信息安全 国家网络安全报告 信息安全风险管理办法 网站建设公司 深圳 武昌手机网站 网络与信息安全管理员,-1 1网络安全防护技术主要包括( ) 信息安全官 商城网站建设机构 做一个关于网络安全 小米的内容营销案例商贸公司营销网站建设 元站点网络营销方法 武汉市网站制作公司 信息安全培训 下载 破解"工业控制系统信息安全"迷 国家信息系统信息安全等级保护 网络安全态势感知系统 最新网上营销方法网站定制与模板开发 武汉市网站制作公司 国家支持什么参与网络安全国家标准 南阳网站建设 中国风配色网站 国家信息安全工程技术研究中心 国家信息技术安全研究中心 太原优化型网站建设 武昌手机网站 免费公司网站建设 怎样搜网站 网络安全协会 活动 商城网站建设机构 信息安全服务认证 安全开发 聊城网站建设费用 网络安全周 网站如何上传 元站点网络营销方法 免费公司网站建设 科技制作网站 网络安全态势感知系统 网络与信息安全研究生 社区营销 1网络安全防护技术主要包括( ) 信息安全专业中国大学排名 赣州网站制作 国家网络安全报告 奥门网站建设 国家支持什么参与网络安全国家标准 深圳专业医疗网站建设 网站建设成本 珠海网站 信息安全原理截图 中山网站建设文化方案 武昌手机网站 网站模块 西乡做网站 学校网站网站建设 破解"工业控制系统信息安全"迷 网站细节 网络安全态势感知系统 常州做网站