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

<a class="close" href="https://qrw.vubu.cn/">&times;</a>
建网站过程网络安全实验总结衡水网站建费用厦门网站开发公司成功英语网站asp.net 网站连接sql server2012厦门企业网站制作解决大学生网络安全企业网站合同网站营销方案2017信息安全大会rsa织梦建网站信息安全 身份认证华为 信息安全 代码信息安全 哪些资质证书,-1网站设计和备案怎么给自己的网站更换域名网络安全网络端口扫描程序的源文件网站信息安全等级保护中国工业信息安全网络安全扫描器nss3合一网站信息安全等保建设资质,-1网络社区营销名词解释第七届电信和互联网行业网络安全年会中国国家信息安全漏洞佛山网站建设青岛做网站学校网站建设措施解决大学生网络安全人有三魂七魄,七魄壮,能肉搏蛟龙;三魂升,可手 摘日月!少年罗峰痴情三年,却换来无情背叛!夺舍融 合后,他身具五魂十四魄,成为天下第一妖孽,带着 霸道之势,橫扫寰宇八荒!(带修为归来,无敌+单女主+奶爸+萌娃+战斗+微搞笑+甜蜜。) 他,曾是一代雇佣兵王,后退役成为顶级杀手组织“暗暮”王牌杀手! 却不想,竟遭人算计,背叛;一番血战中,寡不敌众的他被子弹贯穿了胸膛,坠落悬崖…… 却不想,意外开启了进入天界的入口,并在机遇下获得了一部功法…… 之后,他游走于六界之内,纵横于多元宇宙之间;凌驾于天地之上,视众生灵如草芥。 纵然屠尽六界神魔,天道也奈何他不得…… 五百年后,他再度归来,却不想,此刻的他,竟有了……两个可爱的女儿?! 错了,重来…… 那纵横于多元宇宙,凌驾于天地之上的恐怖存在,摇身变成了一名……柔情奶爸! “敢欺负我女儿,定让你消失于六界之内!” “你……你到底是谁?!” “我吗?有人叫我武龙帝尊,有人叫我武龙天尊,还有人叫我混沌天帝。” “但我现在,只是一名安静的女儿奴。”重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”“施主,你这辈子命中注定多妻多妾!” “我命由我不由天!” “行!你开心就好!” 混沌九州世界,与我们相似,又与我们不同。 五行共生,形成上中下三等级结界,是为三界; 阴阳轮转,形成六种生灵转化的通道,合称六道。 三界六道的守护者,明天地之道,晓世间之法,是为——玄门弟子。世界沦为黑暗。 八方战皇争夺日月。 输死一战。 灵天万道、星河灵道,参战!! 战气世界沦为混乱,天道预谋一切开始,盘古封印十罪、邪罪显现主角命运不同,天道能让他成为传说吗?其他道者还内战吗?万物最后会不会灭亡? 噩梦BOSS们会实现伟大计划吗? 十罪圣龙、邪罪凶兽会寻找前世最强力量吗?身为最强转身能否成为传说?能否成为祖神与死敌一决高下!! “不想被命运掌控,就拿出你手中的兵器超越他们成为比他们还可怕的存在!!”   李贤穿越了,来到一个叫大秦皇朝的世界。 别人穿越要么成为皇帝,要么成为富家子,可我却成了个太监! 还好拥有金手指,能够让我变回真正的男人。 本想就这样苟在皇宫内逍遥快活,可世事难料,皇位更迭灾祸蔓延到了整个大秦。 奸臣当道、外敌入侵。 眼看着自己的快乐生活被打破,李贤只好站出来。 诛邪、斩妖、扫黑、除恶... 誓死守护大秦,保护后宫三千佳丽。在全面溃败中寻找未知的路,每条路都有不同结局。 心眼看破虚妄,横刀以斩破虚无 新世界的到来,面对未知恐慌不是唯一的路....... 天灾降临,酷热干旱,洪涝灾害,极寒冰冻……无数的极端天气到来。 在天灾降临后一个月去世的李华重生回到了末世前。小家族子弟韩羽,从小丹田异常不能修炼,偶然机会得到一本《天符宝典》从此崛起 炼神符!动阴阳!窃乾坤! 红颜泪!兄弟义!父母情! 且看小小韩羽如何成为不朽巅峰!!! 本文修炼等级:炼体境、气海境、灵武境、玄武境、地武境、天武境、真武境……(每阶九层) 符修:灵符,玄符,圣符,尊符以及神符。(注:每种符分为三等上中下)男护士转生异世界,竟然被职业评定选择成了最稀有职业-男性圣职者?本来以为可以在异界享受人生,迎娶公主,走上巅峰,没想到卷王居然就在我身边?内卷什么的之前已经受够了!为了对抗内卷,全都点了治愈,男圣职者平凡而又非凡的异世界生活,从现在开始!
网络安全大会2017 网站建设的公司 高端网站 海 通营销平台 惊艳的网站 国内网络安全新闻 信息安全内控,-1微信上的宣传营销 嘉兴网站设计999 999 网站托管 营销qq好友群发消息 天津高端网站建设 聊网站推广 国内ui网站有哪些 国家负责网络安全 镇江网站建设机构 蘑菇街是什么营销模式 网络与信息安全技术pdf下载 保定 营销型网站建设 网络安全举报电话 不是信息安全所包含的内容是 厦门企业网站制作 中国国家信息安全漏洞库 cnvd 国家网络安全防御 网络安全证书已过期或不可信 萍乡建网站 海 通营销平台 网站利用百度离线地图 家具网站建设 网站制作设计收费 网站制作设计收费 郑州知名网络营销公司排名 天津做网站 内蒙做网站 成功英语网站 网站建站 seo asp汽车销售公司网站源码 4s店网站源码 汽车网站建设 完整无 百度空间营销案例 网站类型案例 信息安全神话培训 营销小常识