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

<a class="close" href="https://1q7jy.shenzou.cn/">&times;</a>
企业微信手机片网站制作营销的特征信息网络安全知识培训大学网络安全先学什么意思企业信息安全事故案例网站建设的搜索栏怎么设置潍坊网站推广网络安全新技术有哪些信息安全和保护条例,-1信息安全的保护对象,-1【穿越+倒爷+搞笑+轻松+日常+玩梗+时事+胡亥+项羽+美女】 好消息!好消息! 江南皮革厂倒闭了,老板黄贺没有带着小姨子跑路,获得秦朝和现实来回穿越的能力。 作为商人的黄贺,充分发扬老秦人吃苦耐劳的精神,没有996,没有007,只要干不死,就往死里干。 秦朝的无限资源,现代的工业技术,碰撞出激烈的火花。 且看一个现代人,如何在秦朝和现实一步一步的爬到最高,打到赵高,带领老秦人冲出欧亚,走向世界。 何须问,浮生情,原知浮生是梦中。 花落花开,人死只是重生的开始。 广袤无垠的具象大陆,具象者们,打通三脉七轮,修炼着脉气。 根轮开,红莲绽放,具象现: 腹轮开,橙莲绽放,具象量变: 脐轮开,黄莲绽放,变化现: 心轮开,绿莲绽放,生命现: 喉咙开,蓝莲绽放,灵性现; 额轮开,紫莲绽放,智慧现: 顶轮开,千瓣莲花,彩虹现。 红十具象师,橙百具象师,黄千具象师,灰迷具象宗师,绿生宗师,蓝灵宗师,紫归宗师,彩虹尊者。 生命之花,如此璀璨,如果可以,我愿奉献!末世危机突然降临,世间人性在末世的摧残之下统统暴露出最真实的一面,这凄惨人间是否需要毁灭,又是否能获新生?而又是谁来做出这一切?天赋不足,仇人就是对自己尽心付出的师父,想报仇却无法达到师父的高度,还有无法无视师父的关爱。这是一个必须洗心换骨才能迎来成功的故事。一个虚拟游戏的元宇宙,一个可以与现实连接的游戏人生,一个在游戏里的爱恨情仇!快乐和我们一起游戏人生吧,你总会在我的书中找到你玩游戏的影子!  红色玛瑙似的石头、会唱歌的古木、夜半时分龙的低沉的吼叫、以及阴森的密林中的鬼怪……以及他,瘦弱的读书之人,却为何要爱上了一位美艳多情的少女,非常不幸地使自己卷进了万劫不复的纷争之中……   风高月黑之夜,他来了,沉重似铁的脚步声一度使石头颤抖,天上的月轮见了也不得不向他点头哈腰。他是真正的强盗,雄伟的身躯,过人的胆魄,尚且还有狡猾的头脑。杀人无数的他略显苍老,却并没有忘记儿女情长,风花雪月的日子使人不变老。他是少女的梦,少女还有另外一个梦,便是那读书人的眼眸,那是何等清澈的泉水般的眸子啊。狭路相逢,一头是那读书人,一头是强盗低沉的怒吼,刀抽出来了,上面残留着映着月轮的寒冷的血…… 这便是玄域之地,离奇可怕之事所在多有,天空一度呈现不祥之色,红色的雨飘洒在苍老的大地如雪花飞舞…… 人们纷纷逃离,而那位读书人却不能,因为他得保护着那位少女……      最后,读书人发现少女竟然… 法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。天外天,这个叶玄梦寐以求到达的地方,而叶玄并不知道的是,在这背后还有一个更加庞大的世界,一个无法理解的世界!世界上存在着万千恶欲,负灵就诞生于这些恶欲之中。 上古之时有一种职业,名为猎灵士。猎灵士的职责是控制世界的恶欲和消灭负灵。 范陌就阴差阳错的成为了一名现代猎灵士。 “好吧,既然成了猎灵士,我会尽力让这光怪陆离的世界回归正常的。”重生异世的兵王靠自己的智慧与实力快速成长,在那风云诡谲的大陆中引领乾坤,现代的中华文化与异界文化的碰撞将会极其怎样的火花,大陆的合并又会带来怎样的疯狼,十方能人,各领风骚!
信息安全业务种类 中国网络安全联盟 大学生维护网络自身信息安全 全网营销型网站 全网营销型网站 网络安全类证书 网站移动端 信息安全的保护对象,-1 大连网站设计公司 2016网络安全事件统计 儿子不读书的心理调适咨询【www.richdady.cn】 特殊学校的教学方法咨询【www.richdady.cn】 纠纷的案例分享【www.richdady.cn】 公司破产后如何重新创业咨询【www.richdady.cn】 老公家暴的案例分享咨询【www.richdady.cn】 不爱读书【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的应对策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的心理调适咨询【www.richdady.cn】√转ihbwel 前世今生的故事与轮回咨询【企鹅383550880】√转ihbwel 升迁障碍的职场瓶颈咨询【微:qq383550880 】√转ihbwel 前世缘份的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的原因分析【σσЗ8З55О88О√转ihbwel 缺心眼威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的影响分析咨询【www.richdady.cn】√转ihbwel 外灵干扰的咨询技巧【企鹅383550880】√转ihbwel 婚姻生活不顺的前世记忆【www.richdady.cn】√转ihbwel 前世今生的缘分如何解读?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世因果咨询【www.richdady.cn】√转ihbwel 财运不佳威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 企业如何视频营销策划 网络营销的基本工具有哪些 中国网络安全的腾飞 互联网饮料营销策划 提供企业网站建设价格 网络营销的相关案例 网络营销广告图片 网络营销师的认证考试 映客 营销 网络安全的特点有哪些 网络安全的基本目标包括 网络安全证有什么用途 网络安全法 防病毒 网络安全组件 杭州营销策划 信息化和信息安全评测中心 泸州网站建设 营销的特征 冀州建网站 株洲做网站 o2o网站制作公司 网络营销用不用考研 网信办 网络安全竞赛 网络安全类证书 网站优化公司购物类网站 2015福建省网络安全宣传日 网络安全 收费 vpn网络安全技术案例 云创通11营销手机 企业信息安全事故案例 网站移动端 大数据网络安全可视化 企业信息安全组织架构 杭州网站建设开发 网络安全保卫 营销型网站建设明细报 信息安全技术保障,-1 宝安网站制作 营销方案网 大专网络营销教材 如何防范信息安全风险 网络信息安全等级 大连网站设计公司 北京建设网站的公司哪家好 互联网饮料营销策划 郑州网站建设公司 网络安全 收费 营销对象 建功能网站 东莞企业网络营销 鹤壁网站建设 信息安全网络安全工作的组织 电话营销的优点 网络安全意识 培训 军工行业信息安全厂商要具备 企业如何视频营销策划 国家网络安全总局 营销方案网 武大 信息安全 成为网络安全专家 提供企业网站建设价格 国内信息安全网站,-1济宁网络安全协会 网络信息安全峰会 通信网络安全管理员技能大赛 青岛的网站设计 网络营销的基本工具有哪些 企业微信手机片网站制作 网站设计实例 小红书 营销玩法玉林网站建设 海淀区公安网络安全 常州网站制作 o2o网站制作公司 网络营销分为 达内网络营销课程版本 重庆微信网站制作专家 湛江有帮公司做网站 网络安全工作 大数据网络安全可视化 网站优化公司购物类网站 网站f式布局 佛山企业网站建设特色 提供企业网站建设价格 网络安全公司50强 获信息安全服务资质二级 网站开发与设计公司 信息安全和保护条例,-1 联想网络营销案例分析 鹤壁网站建设 信息安全攻防技术 常州网站制作 企业网络安全策略 联想网络营销案例分析 株洲做网站 信息安全专业岗位 工业信息安全培训 株洲做网站 网络安全扫描 标准 网络安全保卫 2013中国网民信息安全状况研究报告 专家营销 整体营销的含义 如何获取从搜索引擎点进我们网站的关键词asp代码怎样写 信息安全等级保护的意义 网络安全组件 广东网络安全公司 微博营销是一项系统工程微博营销的操作模式包含以下哪些 杭州网站建设开发 营销颠覆 单位网络安全 网络安全大学 网络营销的基本工具有哪些 网络安全的基本目标包括 网络信息安全意识 北京建设网站的公司哪家好 网站制作建设 全网营销型网站 网络信息安全峰会 整合营销?V告 网络营销是企业整体营销的组成部分 网络营销可以自学吗昆明网站建设首选 信息安全 培训考试,-1 中国网络安全联盟 映客 营销 网络营销是企业整体营销的组成部分 网络营销渠道的选择网站建设学校 网络营销分为 陕西手机网站建设公司 网络营销渠道的选择网站建设学校 整合营销?V告 成为网络安全专家 建设网站网址 网络安全扫描 标准 网站建设技巧 网络安全法 防病毒 企业信息安全组织架构