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

<a class="close" href="https://b4qt.xevi.cn/">&times;</a>
信息安全 解决方案网络安全攻防课程营销推广的含义flash网站网络安全纯粹是一个技术问题自已建网站信息安全技术 网站上海专业做网站公司电话创网站企业网站可以备案个人天下纷争,西京、启阳,北燕,鬼方四国争雄。西京国第一大江湖门派问刀门门主呼延燚,率天下门徒,纵横四海,征伐天下,无论是四国庙堂还是远涉江湖都无可避免地卷入其中。《殖民计划》是台湾光谱公司在1996年开发的一款集模拟建设、经营、战斗为一体的策略类游戏。游戏中的地点是火星开发,主人公拽无痕从一个寂寂无名的小人物,逐渐发展成为富甲一方的城市富翁,故事从这里开始了……人类文明的进化、病毒变异和外星怪物之间的宇宙关系游戏降临,现实与虚幻交织。 这里有武者拔山倒岳,声震十里。有妖兽双翼一展直上云霄,更有一种名为玩家的生物在当中嬉笑怒骂。 世界的交融,躲不开的命运。 当百米长的火焰刀气横贯于现实之中,当名为‘魔’的存在破碎空间降临之时。 举世哗然,一众玩家不由抬头仰望: “我kao!” ……秦柯扫了算命先生手绘的二维码,下载了一款神奇的手机app,这款神奇app名曰“仙魔交易商城”,商城内买卖各种奇珍异宝,这些东西以前的秦柯莫说见过,就连想都不敢想。  从此,籍籍无名的平凡小青年,开始走上人生巅峰…  红色玛瑙似的石头、会唱歌的古木、夜半时分龙的低沉的吼叫、以及阴森的密林中的鬼怪……以及他,瘦弱的读书之人,却为何要爱上了一位美艳多情的少女,非常不幸地使自己卷进了万劫不复的纷争之中……   风高月黑之夜,他来了,沉重似铁的脚步声一度使石头颤抖,天上的月轮见了也不得不向他点头哈腰。他是真正的强盗,雄伟的身躯,过人的胆魄,尚且还有狡猾的头脑。杀人无数的他略显苍老,却并没有忘记儿女情长,风花雪月的日子使人不变老。他是少女的梦,少女还有另外一个梦,便是那读书人的眼眸,那是何等清澈的泉水般的眸子啊。狭路相逢,一头是那读书人,一头是强盗低沉的怒吼,刀抽出来了,上面残留着映着月轮的寒冷的血…… 这便是玄域之地,离奇可怕之事所在多有,天空一度呈现不祥之色,红色的雨飘洒在苍老的大地如雪花飞舞…… 人们纷纷逃离,而那位读书人却不能,因为他得保护着那位少女……      最后,读书人发现少女竟然… 秦琪穿越了,别人带着王霸之气穿越,秦琪则带着一个仓库穿越到三国。 刚入三国,遇上名将高顺、绝世美人貂蝉。 收下! 往返于三国与现代,不断赚取小钱钱。风生水起之际,漂亮国盯上,一怒之下,跑到彼岸肆意掠夺……。 秦琪被一个个诸侯盯上,全不怀好意、肆意敲诈勒索,甚至要将其逮住……。 无奈下,只好走上争霸之路 从此,三国多了个狠人,专抢美人、收名将、名士的诸侯。 陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪! 未婚妻的背叛、父亲的离奇死亡、母亲的神秘失踪! 背负着沉重包袱的沈夜白,毅然走向那十死九生的屠邪之路。 在这弱肉强食,渐渐失去秩序的修炼世界,他闯荡坠天神域、脚踏万千邪族、在天地战场纵横杀戮…… 当他驻足停歇、放眼天地,才发现自己早已站在了这个世界的绝顶之巅!命运多舛的少年,不谙世事的灵智,两者的结合在九州大陆掀起了阵阵腥风血雨。 在这里也许会看到华夏神话的延续,也许会看到超强的灵宝,也许会看到上古遗迹,也许会看到各种稀奇古怪的异兽,也许会看到魔之本相……
网站制作公司 深圳 网站有什么功能 信息安全通告 网站如何上线 京东商城的营销环境 上海专业做网站公司电话 云计算信息安全公司 北京 国家网络安全基地 大同做网站 企业博客营销的定位 人际关系不好时的心理调适咨询【www.richdady.cn】 有官司的心理调适【www.richdady.cn】 解梦的咨询技巧咨询【www.richdady.cn】 如何改善人际关系【www.richdady.cn】 儿子抑郁症的咨询技巧【www.richdady.cn】 事业发展瓶颈突破【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的医学检查【企鹅383550880】√转ihbwel 为什么过世的前世修行咨询【www.richdady.cn】√转ihbwel 心慌胸闷头晕的前世记忆【www.richdady.cn】√转ihbwel 发育倒退的解决方法【σσЗ8З55О88О√转ihbwel 老公家暴的法律咨询咨询【www.richdady.cn】√转ihbwel 家庭关系的咨询技巧【σσЗ8З55О88О√转ihbwel 什么原因意外的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的具体步骤咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 干扰的预防与化解咨询【www.richdady.cn】√转ihbwel 阴间生活的前世影响咨询【企鹅383550880】√转ihbwel 脑部不清晰的案例分享【微:qq383550880 】√转ihbwel 意外的原因【微:qq383550880 】√转ihbwel 升迁障碍的职场规划【企鹅383550880】√转ihbwel 小红书营销活动 建设网站的五个步骤 美国信息安全厂商 2016网络安全市场份额 做网站书籍 网络与信息安全系统工程师 怎么编辑网站 青岛网站设计 青岛营销培训学校 信息安全从业认证,-1 大同做网站 西安微信营销推广公司 信誉好的龙岗网站建设 金融信息安全研讨会 邮件服务器网络安全 长沙手机网站建设 关于马云和网络营销 网络安全攻防课程 建公司网站要多久 网站建设方案书 网络安全的发展趋势 信息技术与信息安全知识读本 营销网页 高端大气上档次网站 flash网站 网络安全安全大会 营销软文的格式 网络营销策划流程 中央网信办网络安全协调局 山东信息安全等级保护 关键基础设施信息安全框架 web网络安全培训机构 广东 信息安全专业介绍 粉丝通营销 重庆有那些制作网站的公司 信息安全高校 企业博客营销的定位 专业的网站开发公司 网络安全的发展趋势 有关网络安全的logo 建设网站的五个步骤 团队营销案例 茂名市制作网站的公司 做网站书籍 美国信息安全厂商 2017网络安全文件 html营销邮件 成都做网站多少钱信息安全技术pdf 2016网络安全市场份额 2016网络安全市场份额 信息安全高校 微博营销的心得 做网站书籍 第四课 网络安全 保护信息安全软件 邮件服务器网络安全 沈阳网站制作公司 成功企业的营销 信息安全保障人员培训 网站制作 杭州公司 百度知识营销广告语 山东信息安全等级保护 全网营销网络推广方案 王老吉的软文营销案例 禅城区响应式网站 怎么编辑网站 自学营销 关于端午节的软文营销 课程网站建设 网络营销的调研报告 网络安全监测工具 信息安全备案系统 自已建网站 无锡网站推广公司 信息安全从业认证,-1 成都网站设计公司 网络安全安全大会 淘宝营销 高端网站建设 网站有什么功能 网站建设常规自适应 茂名市制作网站的公司 成功企业的营销 西安微信营销推广公司 2017 网络安全周 京东商城的营销环境 网络安全服务机构资质 cc标准 信息安全 信誉好的龙岗网站建设 安庆网站建设 无锡建设网站 北京 国家网络安全基地 金融信息安全研讨会 Ios网络安全 专业的网站开发公司 昆明购物网站建设 邮件服务器网络安全 网络安全活动 营销建立信任的办法 通信行业信息安全大赛,-1 网络安全防护产品 东营有哪些制作网站 中国的网络安全威胁 关于马云和网络营销 手机微信网站 建设网站的五个步骤 双城网站 计算机的信息安全 信息安全产业体系 网络安全法中的网络一 网站怎么建 建公司网站要多久 云计算信息安全公司 信息安全从业认证,-1 东莞销售网站设计 营销外包是什么意思 网络营销策划流程 粉丝通营销 中国无人驾驶网络安全网络安全从入门到精通 网络安全的发展趋势 营销推广的含义 整合营销传播 缺点 商城网站都有什么功能吗 企业公司网站建设 信息技术与信息安全知识读本 金融信息安全研讨会 网络营销的调研报告 手机微信网站 营销网页 济南营销网 反思维营销 互联网营销 案例视频教程 高端大气上档次网站 全网营销网络推广方案 cc标准 信息安全