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

<a class="close" href="https://nl7.pieng.cn/">&times;</a>
全国信息安全服务资质咨询,-1公司信息安全教育南京需要做网站的公司信息管理信息安全信息安全研究 期刊网络营销网烟草行业信息系统安全等级保护与信息安全事件的定级准则网络营销师在哪里报考企业信息安全 厂商,-1长沙网站制作目的只有一个,写完它!苏霁尘被系统给坑了,在娘胎里面一待就是十年。 【叮,签到成功,获得至尊剑骨】 【叮,签到成功,获得混沌道体】 【叮,签到成功,获得不灭金身诀】 【叮,签到成功,获得斩天拔剑术】 那一日,紫气横盖三万里,至尊降生。 混沌道体,手持祖剑,身上不灭金身,至尊剑骨让万族臣服。 十年之期满,苏霁尘降生。 苏霁尘:“太强了不给出生?我反手就将老娘堆成仙!” 我们就是一群游戏玩家。操纵一个角色在生活里打打杀杀。谁说那只是游戏呢?每一个角色后面,都有一个认真的灵魂。喜怒哀乐尝遍,却不改初衷。天生早衰体的绝世术师,地宗传人,为续命而寻找昆仑龙脉,恰逢古尸妖变,为全天地正道,接地脉龙气斩妖。 ”没吃饭吗?不想死就给老子快点。“ 噗,黑暗的大寒矿洞中,瘦骨嶙峋的王长安及族人正双眼失神,麻木的被压迫着。 是揭竿而起? 举族祭祀,掩埋于地下的青铜图腾,消逝的远古,揭示着血淋淋的真相.......世事一翻手,诗旧三折肱。 江湖多白雨,魂梦杂青灯。 都说世事无相,为何人要执着?得之,我幸,不得便是我命?叶枫若是没有历上世那彻骨痛苦,可能还真就做个闲人,一张琴,一壶酒,一溪云。可是这次他想做个强者,不为其他只为守护。 这是关于一个稳健的强者,守护身边人的故事。嗯,是的,很稳健~“恭喜您,使用至尊版万界娃娃机抓取[狠人大帝的肚兜]一条。” “恭喜您,使用至尊版万界娃娃机抓取[萧炎的休书]一封。” “恭喜您,使用至尊版万界娃娃机抓取[地球出产的正宗假中华]一条。 ” 叶风华站在这大千世间的绝顶巅峰,忧郁地仰望星空,叹息道:“装逼非我意,但愿海波平”一个顶尖的剑客,为情遭人陷害,武功禁失,力经千难万险,恢复自己的功夫。 一个失了忆的刀客,初入江湖,想找回记忆,可是江湖险恶让想找回失忆的刀客受尽艰辛苦难。 这样奇葩的一刀一剑相遇了,他们会在江湖中刀歌剑舞着自己的故事2025年,全球抗疫斗争取得了阶段性胜利,疫苗普及率达到70%,虽然新冠肺炎疫情仍在影响着世界,人类似乎有望重返那个和谐安详时代。然而,一个更严重的潜在危机正在酝酿,一种新型病毒正在悄无声息地传播,各国企图采取措施,然而人类发现,这场新的疫情的背后隐藏着许多超越当前认知的事情,光靠一己之力根本难以阻挡,人类事实上十分脆弱,越来越多的开始失去生命,人类走到了灭绝的边缘。就在许多人陷入迷茫之际,一个全球性的组织开始浮出水面,开始由幕后走向台前,轻霜冻死单根草,狂风难毁万木林,唯有团结,人类才能赢得生存的机会。九龙大陆,强者为尊,武道一途,与天争命,且看一朝皇子,凭三尺长剑,如何皇临天下!武道巅峰,谁为皇? 为了心中的一丝执念,阳炎勤修武,争太子,夺皇位,战天下,历生死,证武道,破轮回! 号令天下,莫敢不从!一封邀请函中埋藏了几千年的阴谋,九死一生的鬼校中没有置身事外,处处血流成河。一念之间定生死,百人齐心决成败。华国,罗斯国,印国,东洋国,澳国,五个大国面临前所未有的危机。却不知这一切,只是决战前夕。
武汉企业制作网站 金融行业信息系统信息安全等级保护 长安网站设计 网络安全技术试题如何防范拒绝服务攻击? 全国网络营销大赛 自己电脑做网站 带宽 全国信息安全服务资质咨询,-1 阜阳建网站 CNISA信息安全大赛 长沙网站制作 灵魂种子治疗咨询【www.richdady.cn】 祖灵的存在形式【www.richdady.cn】 外灵干扰的真实案例分析咨询【www.richdady.cn】 心慌胸闷头晕的前世因果咨询【www.richdady.cn】 邪灵的感应现象【www.richdady.cn】 精神不振的生活习惯【企鹅383550880】√转ihbwel 公司破产【微:qq383550880 】√转ihbwel 有官司的预防措施【www.richdady.cn】√转ihbwel 人际关系不好时的心理调适【www.richdady.cn】√转ihbwel 与公婆前世的前世缘分【www.richdady.cn】√转ihbwel 意外事故的预防措施咨询【微:qq383550880 】√转ihbwel 家庭关系中的矛盾解决【微:qq383550880 】√转ihbwel 意外的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与因果【微:qq383550880 】√转ihbwel 强迫症的环境影响【微:qq383550880 】√转ihbwel 无形干扰对工作效率的影响咨询【σσЗ8З55О88О√转ihbwel 如何判断自己是否被冤亲债主干扰?【微:qq383550880 】√转ihbwel 前世缘份的修行建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 移动宽带 营销 电子营销书 h5case什么网站 中央信息安全管理中心待遇,-1 20个中国风网站设计欣赏 网络口碑营销成功案例 西电 网络安全 CNISA信息安全大赛 高端上海网站设计公司 数据信息安全网络主题ppt 信息安全 开源 问答营销方案 信息安全技术概述,-1 长沙网站制作 信息安全研究 期刊 b2c网络营销模式分析 信息安全实验系统 龙岩建网站 信息安全评测师职责 展示型网站制作服务 网络营销师在哪里报考 互联网 与传统营销区别是什么 网站首页设计 北京网站建设开发 免费企业网站 网站制作素材 高端上海网站设计公司 电信行业信息安全 事件营销缺点 网络营销公司做什么的 gb/t 20270-2006信息安全技术 网络基础安全技术要求 信息安全工作规划,-1 南通网站建设知识 数据信息安全网络主题ppt CNISA信息安全大赛 互联网营销要学什么软件下载 哪些是网络安全 信息安全2000亿 网络营销型企业网站案例 网络安全个人 商城网站都有什么功能模块 国家网络安全法与电网 国家网络安全法与电网 信息安全服务安全工程类 保定 网站建设 计算机信息安全技术分为两个层次 金融信息安全体现在哪些方面 浙江省信息安全 网络营销网 成都高端网站建设公司 石家庄开发网站 网络口碑营销成功案例 信息安全产品目录 公关和营销 g20峰会 网络信息安全 网络安全 最高法 网络安全个人 信息安全实验系统 成都 信息安全 工作 选手机网站 焦作建网站 信息安全热门研究方向,-1单位信息安全等级保护工作 安徽 信息安全测评 全国信息安全服务资质咨询,-1 高州做网站 最大的网络安全公司排名 长沙网站制作 苏州网站推广 华为 信息安全 网络安全和网络管理 全国信息安全服务资质咨询,-1 信息管理信息安全 网络安全实训心得 信息安全评测师职责 微信营销代 石家庄开发网站 公司网络安全加固方案黄山网站设计 营销技巧 电商营销课程 信息安全技能训练 高唐企业建网站服务商 信息安全测评机构 展示型网站制作服务 网站建设与推广是什么 世界环境日借势营销 互联网 与传统营销区别是什么 保定 网站建设 武汉企业制作网站 北京高端网站制作 营销技巧 郑州网络营销培训学校 成都网站设计制作工作室 建微网站需要购买官网主机吗 关于网络安全的作文 绿盟网络安全审计 信息安全测评机构 网页是网站吗 网站制作系统 计算机信息安全技术分为两个层次 g20峰会 网络信息安全 大型免费网站制作 什么是网络营销评估 信息安全测评机构 网络口碑营销成功案例 互联网营销要学什么软件下载 选手机网站 保定 网站建设 中国移动 网络安全 公安网络安全检查方案 高唐企业建网站服务商 南京网络安全局 全国网络营销大赛 长安网站设计 遂宁网站制作 信息安全产品目录 郑州网络营销培训学校 微网站app制作 北京网站建设开发 杭州网站优化公司 c 信息安全 网络安全 最高法 网络营销期刊有哪些国家安全之网络安全 中央信息安全管理中心待遇,-1 移动宽带 营销 网页是网站吗 营销技巧 镇江网站公司 营销型网站优化 泰安网站建设公司 网络安全 科研平台 展示型网站制作服务 三合一网站 互联网营销要学什么软件下载 电信行业信息安全 北京高端网站制作