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

<a class="close" href="https://b5vq.4969.com.cn/">&times;</a>
中国邮票邮票交易所邮票网邮票网香港回归纪念邮票第三轮生肖邮票世界上第一枚邮票欧美群迅雷下载邮票图片邮票收藏李明不敢相信这个世界真的存在妖、魔、鬼、怪,神,更没想到世界上真的有地方联盟专门维持着世间的秩序,和各种族间的平衡,并且因为一部手机,李明成了他们中的一员.....一个大学生,一个热门游戏,一次偶然的机会,大学生穿越到了游戏里的世界,在这个熟悉又陌生的游戏世界里,他凭借着自己的智慧,一步一步的变强。而在一步一步的前进路上,却发现原来游戏的背后,竟然隐藏着一个惊天大秘密,而这个秘密跟某个神秘组织有关,是孤芳自赏还是挑战命运呢,男主角和他的伙伴们该何去何从,敬请期待。三花聚顶本是幻,五气朝元亦非真。 大正十三年的唐国,仙门林立,百家争辉,妖族俯首,异邦来朝。一片盛世景象背后,却是暗流汹涌,波诡云谲。 七年后,唐帝猝然崩逝,新帝登基,改元天启,揭开了一副风起云涌、波澜壮阔的恢弘画卷。 卷入了这场大巨变的漩涡之中,又有谁能把握自己的命运呢? 罗修在一场梦中获得了一枚神奇的戒指,戒指中藏着一个魔,噬魂者,自此以后,罗修得噬魂者的帮助,连同雷羽川,和绿色幽灵等各种邪恶的组织进行了一连串的较量新人作者,主写男频修仙脑洞爽文楚凡获得了一个名叫主神的系统,从此开启了贸易诸天的旅程。 扛着五千万吨级的核弹和异界妖皇讲道理,真理只在核平之内! 上界十方仙帝围攻,楚凡反手掏出二向箔! 荒古圣体先天道体? 我直接提取细胞,复制上架! 什么?异界即将入侵? 我一个黑店老板,能发射智子很合理吧? 直接封锁异界天地法则,从此无人能突破大罗金仙! ...... “主神,我死后请把我的骨灰塞核弹里。” “为什么?” “身为炸天帮一员,哪怕我死了也要炸上天。” 这是一个黑店老板贸易诸天的故事,穿梭于诸天万界,和荒天帝称兄道弟,招楚子航当店内小哥! 主神出品,必属精品! 强买强卖,不服就干!现在是2077年,由于地球的能源开始缺少和人口逐渐增加,几年前各个大国开始合作,为了全人类,开始向太空甚至宇宙前进。而我则是我国一名宇航员兼飞船科技工程师,在这个年代我将为了全人类开始我们的宇宙航行之旅! 人生只不过是我们死之前的一点回忆。能否改变人生,不是从回忆里去改,而是从现在去改变。决定你未来命运的不是过去做过什么,而是你现在正在做什么。摆脱宿命的安排,挣脱命运的枷锁,打破这一切的双手长在我们自己身上。 天尊轮回,一个懵懂少年入踏入修仙路,不求长生,只为真我,寻找前世爱妻,解开前世之谜,打破今世枷锁,成就今世威名,改变天地法则,重塑未来。一步步成长为天地至尊回归真我。 当站在修炼之巅,蓦然回首,才懂得,上天注定的是一个结果而不是过程,由你做主的那部分是上天赋予你的权力,但最终谁也改变不了那个结果,人生只是一个自我认识,追求真我的过程,一场我们自己主宰的梦而已…………更多精彩请持续关注本书。大家好我是世家独一,阴阳界这部作品是我写的一本小说,由于时间比较富裕,现在语音播讲也是我自己在播,阴阳卷一共十二卷,这部叫阴阳界之仇仙。 简介 阴阳界,一个存在即是合理的地方,因为城隍力量薄弱,强大的阴魂精怪建立的狂欢乐园,横死之人死后会不由自主的被阴阳界吸引,这里就是精怪阴魂的游乐场。风水法器世家岳家长孙岳清山,阴阳杂家吕齐官(地府五官王转世),虎(护)族修罗兄弟(异卵双生),净土宗大尊关门弟子明觉行者(净土宗世间行走),五人组成玄学天团,闯荡阴阳界,梳理华夏龙脉,一扫阴阳界混乱。 (阴阳界首卷,也是起始卷,名字“仇仙”) ps:每天一章,不会多更,如无意外阴阳界600万字起,终生系列,每卷单发单本。 书友群号:阴阳界之仇仙 76922085神器再现,云王府一些之间惨遭灭门,武侠录重出世,沉寂已久的江湖暗潮涌动
大龙邮票 龙邮票 邮票收藏 生肖邮票 民居邮票 邮票价格 龙邮票 南京文交所钱币邮票交易中心 中国邮票 邮票收藏 女幽灵 百度网盘下载 迅雷下载 奥运邮票 世界上第一枚邮票 鸡年邮票 鸡年邮票 邮票 猴年邮票 邮票互动网 邮票 南京文交所钱币邮票交易中心 民居邮票 邮票 邮票图片 邮票市场 邮票图片 世界上第一枚邮票 女幽灵 百度网盘下载 迅雷下载 龙邮票 女幽灵 百度网盘下载 迅雷下载 邮票市场 猴年邮票 邮票吧 猴年邮票 邮票行情 纪念邮票 邮票收藏价格表 鸡年邮票 邮票网 生肖邮票 上海邮票网 排名进化暗夜卡徒万法之主玉与铜臭王者荣耀之万世风尘寄余生同魔共舞穿越上古世界我的那些陈年旧事异世界神探关于穿越后无敌的奇葩幻想留香传剑凌逍遥神话的侦破全民征战:创世神在线陪聊宗主真乃神人也染指昙花香星辰破千里守我的规矩龙御灵轮:龙神九鳞之首恐悬美式浴室柜请复制到浏览器打开 濮阳二手房 衣柜味道大是怎么回事 消防器材价格表 外墙岩棉板价格 太阳能电池板价格 贵定新房价 窗帘双色水波拼接制作 板材衣柜 买家具注意事项 佳隆小区 肥西县搬家公司 申旺马桶盖 货架检验标准 汽车模具公司仓库 吸塑板 烤瓷 烤漆 衣柜 广州货架网 顺德二手房 搬家公司的车是多大的 衣柜除虫 窗帘怎么量 南京各个搬家公司电话 超市的仓库 木屋别墅每平方价格 星桥二手房 日照房价 成都 创美 家具 艾茉莉家具 淘宝木衣柜 热镀锌钢管价格 天山雪莲价格 北京红木家具 衣柜装饰 杜拉维特卫浴 阴角线厂家 卷帘厂家 品牌布艺窗帘 仓库地架 中关村搬家公司 水屯建材市场 简易衣柜 红木家具吧 窗帘布价格 窗帘的款式 曲周货架厂 龙玺嘉和 沙发 卫浴方案 窗帘行业 土工布厂家 科艺里房价 钢筋生产厂家 乔登卫浴 沈阳市亿海阳光最新房价 成都房价网 沂水沂水房价走势 龙岩二手房 立体托盘仓库厂家 昆明房价 长沙仓库货架 滨江的小区 仓库重型货架 长沙市天心区搬家公司 卫浴短信 物料货架 镂空水波的制作方法 湖南家具 蒙娜丽莎瓷砖价格 诺威浴室柜 金鑫苑小区 定做整体衣柜 搬家公司让搬宠物吗? 电脑椅价格 窗帘公司 广州天河搬家公司 水波帘头的做法 广州专业搬屋电话 布艺窗帘抗晒吗 马桶坏了 橱柜、衣柜设计难吗 百叶窗帘 光华大道仁和春天房价 鞍山二手房出售信息 木板价格 上海二手房价格 纺古砖厂家 深圳小产权房价格 江门仓库货架厂 小区围墙的作用 西安衣柜 陶砖厂家 恒洁马桶 超旋风 内蒙古货架 韩版窗帘 收纳衣柜 驰道 沙发 窗帘书籍 实木的浴室柜 家具装修效果图 大厂十村房价 高州二手房 管线管厂家 马桶储水量 南浔二手房