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

<a class="close" href="https://4xk9.4969.com.cn/">&times;</a>
生肖邮票奥运邮票上海邮票网民居邮票邮票行情生肖邮票生肖邮票邮票收藏价格表邮票图片大龙邮票我叫“空”这是我第一世父母起的名字。我有过很多人生,可每一世的生命只有20年,我好像被什么人给控制了,我要打破这种控制,无论我怎么反抗都是竹篮打水,一场空。直到这一世我终于有了结果…………“三更堂?阎王让你三更死,谁敢留你到五更的三更堂?” 胖哥,先为不可胜呀,算无遗策呀,智珠在握呀。被打的吐血还在这装? 兄弟二人,美女撑腰,携酒上吟亭,满目江山列画屏。混沌初开天道始,万族林立生者适。天道如海唤天堑,踏海征途道之巅。 ——洛尘兮 世间万物皆修行,道俱万千谁能赢。百花齐放争天地,唯有强者动乾坤。 ——黄梦燃 天堑海之巅,道祖洛尘兮与仙祖黄梦燃为道统之争一决胜负。最终洛尘兮技高一筹,将黄梦燃打下天堑海之下。自此天堑海上再无仙祖黄梦燃之威名,殊不知这只是黄梦燃借此达到他计划的第一步——重生!“乱世枭雄争锋来,此乃大海贼时代!”神话仙武版海贼王的故事,魔改剧情,慢热,多铺垫伏笔,有大量自己的情节,也有原著的时间线,完整多体系,逻辑严谨,带你领略仙武海贼江湖的冒险故事,在重重迷雾中找寻历史的真相,争夺气运,问鼎独道之神! 两年前,遭遇暗算,重伤险死,杨墨不得已入赘到了白家,从此成为了大门不出,二门不迈;只知道洗衣做饭,浇花拖地的上门女婿。 两年后,重伤痊愈,真龙出海,猛虎啸天,必然天地色变。所有的仇与债,都将一一偿还!他本是下界一位凡夫俗子,因天界残道不公!仅为一的朋友守护天界死亡!灵魂被他人抽拙为自所用,从他那一刻他刻苦训练,达到了天庭战无不胜!玉帝直接给他下跪!别杀我, 不杀你也行!打败眼前这只狮子我就放过你,玉帝笑而不语!就一只人间的凶兽摆了!抬手灭之, 这一段话彻底激怒了王浩!人类是吧!好那我就让们尝尝人娄的痛苦,他直接拿出师尊送送的武器降维打击,在一场所有的统统都是指了县里和凡人无任何区别!好现在呢你们慢慢玩,本座走了“什么?原来我是恶魔?” 十六岁那天,‘穿越者’阎墨终于等来了属于自己的灿烂。 ------------------------------ ‘普通人类’加入恶魔学园学习成为恶魔的故事,大概会涉及入间同学入魔了,家庭教师,猎人。当我跨进此生门槛的时候,我并没有发觉。 是什么力量使我在这无边的神秘中开放,像一朵嫩蕊,在夜的森林里开花。 早起我看到光明,我立时觉得在这世界我不是一个生人,那不可思议的、不可名状的,已以我自己母亲的形象把我抱在怀里。 就是这样,在死亡里,这同一的不可知又要以我熟识的面目出现。因为爱今生,我知道我也会一样在爱死亡。 当母亲从婴儿口中拿开右乳的时候,他就哭泣,但他立刻又从左乳得到了安慰。 ……上古时期,穷奇一族蒙冤困于羽山。万年之后,羽山穷奇族内乱,穷奇王将主角陈怀风送往八荒。 天光照海,星月从之;肝胆照心,妖灵契之;死生相从,以卫以征。契成!——妖灵契约可御兽; 天有白溪,云海可舒;地生白溪,江河不枯,青丘白溪有一枪,可擎天、可贯海!——妖族也热血; 日月昭昭,神血殇殇;天地之间,八荒之内,凡我族类,死守羽山,莫敢再犯!——族群万年使命如何抉择? 神族见死不救,人族背信弃义,八荒存亡之际,且看我陈怀风如何讨还公道!从青木城走出,稚嫩少年因灭神决走上了一条不归路,灭神决究竟来自何处?为何冥冥当中选择了他?越来越多的谜团困扰着林长滨,鼓舞着林长滨逐渐从青木城中走出,从宗门,从一域,逐渐走向无数位面!
民居邮票 邮票市场 文革邮票 文革邮票 邮票交易所 奥运邮票 猴年邮票 纪念邮票 女幽灵 百度网盘下载 迅雷下载 女幽灵 百度网盘下载 迅雷下载 邮票交易所 邮票互动网 香港回归纪念邮票 女幽灵 百度网盘下载 迅雷下载 文革邮票 邮票行情 邮票收藏价格表 南京文交所钱币邮票交易中心 纪念邮票 鸡年邮票 纪念邮票 邮票互动网 民居邮票 鸡年邮票 邮票吧 邮票市场 十二生肖邮票 邮票互动网 邮票 猴年邮票 中国邮票 邮票行情 邮票网 邮票互动网 第三轮生肖邮票 世界上第一枚邮票 猴年邮票 中国邮票价格表 纪念邮票 世界上第一枚邮票 黑鸦之吻君临之重生三国西征重生之我的辉煌人生你的太阳系末日:诸界降临元沦究极无敌修炼系统是猎人也是老师最后的人偶师众与世界转生后变成自动贩卖机系统天命令五行棺修士无双商武之神我被零大侠PUA啦神秘复苏之未来诡雷帝之童养夫的崛起一界同生河南郑州房价请复制到浏览器打开 配电箱价格 黄水晶价格 立体仓库品牌 西安货架厂家 攀枝花搬家公司电话号码 仓库货架安全要求 苍南中梁房价多少 鹰卫浴客服 西安办公家具公司 平湖市东湖中学育才小区 成都温江搬家公司电话 衣柜线条图 家具厂仓库 小区违规违建处理 厦门办公沙发订做价格 佛山卓域家具有限公司招聘 德圆路房价 蚂蚁番禺搬家公司 衣柜招商加盟 逆变器价格 窗帘镂空风尾水波图片 水波眉头制作全过程 窗帘铝块 窗帘的辅料 欧式家具品牌排名 家装电线价格 白云石价格 平移门厂家 劳卡衣柜 盛皇家具官网 地毯价格 堆垛式货架 内江二手房 江西南昌家具 上海居民搬家公司电话 水波帘头如何算用布量 苏州 蠡口 美式家具 窗帘成品 局三小区 家具大衣柜 产品摄影设计 广州 家具 衣柜 马桶首页 惠达浴室柜 钢球价格 保利麓谷林语房价 衣柜 顶天立地 水波帘布料算法 假百叶衣柜 窗帘装饰 合肥滨湖世纪城房价 自动化智能仓库 公有仓库 卫浴买贵 马桶弯道刷 转角沙发好还是1+2+3好 古典家具厂 成都衣柜定制厂家联系地址? 家具订制 玻璃移门 衣柜 纯白 镂空水波裁剪演示图 珍珠岩价格 卡诺亚衣柜 怎么样 济南天福苑小区 建筑材料价格 智能立体仓库品牌 玻纤吸音板厂家 窗帘荷叶边 rfid在自动化立体仓库中的应用 cto马桶 衣柜分类 浴室柜种类 安华卫浴质量 亚伟特马桶 铝料厂家 马桶BGM 河南仓库货架厂家 窗幔水波宽度计算 九牧人马桶 郑州足疗沙发厂家 彩洲卫浴 衣柜 边线 浴室柜吊柜下水管装饰 福州茶会小区到福州市中医院 酒柜定制 衣柜榻榻米 投影仪价格 杭州房价网 浅水湾小区 房价 杭州 2000平立体仓库 防火漆厂家 衣柜的设计图 仓库空间利用最大化 窗帘韩折 板式衣柜厂 沙发 贸易 长沙搬家车电话 曲美沙发图片及价格 璐辉卫浴 田阪街房价 沙发 物流 山东威海房价