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

<a class="close" href="https://oofiy.4969.com.cn/">&times;</a>
猴年邮票邮票互动网邮票图片欧美群迅雷下载第三轮生肖邮票猴年邮票猴年邮票民居邮票香港回归纪念邮票邮票收藏元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!蓝星位置暴露,万族窥视,毫无征兆的进入了星际时代。 魔窟降临,巨兽入侵,神灵坐镇其他国家,唯大夏无神庇佑! 在这个热武崩塌的绝望纪元,大夏全民参战,青壮皆赴死。 唯独夏薪,及冠之年,身强力壮,却选择和一群老弱病残一起,留在后方锻剑打铁…… 逃兵,懦夫,大夏之耻,全网怒骂,众叛亲离! …… 夜幕降临,一道遮天蔽日的虚影映照整个大夏。 “吾名传道者,穿越时空,对话先贤,传尔大道,以御强敌!” 对话燧人氏,见证第一缕文明之火诞生,顿悟薪火大道! 对话神农氏,见证神农尝百草,顿悟炼丹大道! 对话大禹,见证禹刊九州,凝聚气运九鼎,镇守国境…… …… 某一日,夏薪无事,身躯盘坐大夏上空,一人一剑。 诸神见状,纷纷退避。 “前方大夏,万族噩梦!!”股市,是上帝留存在世间的最后一个伊甸园。 这个伊甸园,是圣人的天堂,凡人的地狱。 不管是圣人又或者是凡人,都被贪婪与恐惧所支配着。 稍不留神,便可能马失前蹄。 是驰骋在天堂里超凡入圣,还是在地狱里摸爬滚打,所有干系。 都寄于…… 指尖之上。刚刚调到山城的刑侦队长林飞,在家中收到一封神秘的信件!寄件人正是当年害死父亲的凶手——神秘人“Z”…… 从此以后一桩桩离奇诡异的案件出现在山城公安局!随着调查的深入,林飞发现这些案件背后隐隐有一个看不见的黑暗大手操纵着一切!君若离去,我必生死相随,来生再相依相爱,这是一个悲惨的故事,主角上官云飞幼小父母双亡,家族毁灭。在叔叔的照看一直一路崛起,你以为他会一路高歌,却没有想到天有不测风云,主角遭受挚爱背叛,从此一撅不振……李相,一名24岁大学生 意外穿越到武侠修真世界 从武侠小白变成行走江湖四处留名的一代大侠 一路上鲜衣怒马,一路上血溅四方 经历过众叛亲离,历经过人间温暖 敢问在下何人 “李相是也” 他是国之重器,科研天才,国士无双! 她是国民女神,国色天香,迷倒众生。 重生到另一个世界的洛铭,激活了系统。系统给予的奖励条件为暗恋,暗恋时间越长,奖励越丰厚。 谨慎选择了自己的暗恋对象云雨蝶之后,经历五年时光,作为可控核聚变,空天航母,外骨骼机甲等高端科研项目总工程师的洛铭,载誉归来。 而他不知道的是,在不久之前,已经成为国民女神,甜美天后的云雨蝶竟然在歌手巅峰对决节目中向他表白了。 原来这个可爱的女神,也在暗恋着洛铭。 五年一别,五年暗恋,五年思念,再次相逢,这对神仙眷侣开始谱写传奇而甜蜜的人生!刚穿越到文娱世界,杨墨就发现自己身边躺了个一丝不挂的小网红! 外头的女星老婆更是疯狂敲门呵斥。 “杨墨!你给老娘滚出来!“ “有本事偷人,没胆量见我是不是!“ 于是乎,郁闷的杨墨发现,自己成了活生生的冤种! 小网红没碰到,还被高挑的女星老婆摆了一道! 唯一的目的就是离婚! 离婚后,激活了系统的杨墨,无奈成了当下炙手可热的腿精高冷女神林婉璇的私人男助理。 上班第一天,又将女上司看了个精光! 有了系统傍身,杨墨只能在“旧邀社区“注册了自己的ID”久邀秦先生“,从此开始了一发不可收拾的文娱巨擘之路! 故事发生在2135年,一次偶然的考古发现,让一种丧尸病毒暴露人间。林少白是一家生物科技公司的员工,在一次团建过程中,病毒在满载公司员工的客机上传播,客机坠毁,林少白是唯一幸存者,但奇怪的是,所有遇难的员工都继续正常上班,而林少白却对空难毫无记忆。随后,病毒从实验室泄露,在一栋办公楼内传播,原本过着平凡生活的林少白,突然肩负起化解危机的使命。重生在原始部落,已经够惨,偏偏还成了个小奴隶。 上辈子是九九六的社畜,这会儿直接省了社字,妥妥的畜。 他不信邪,咱爷们儿也该硬气一回… 谁说奴隶不能翻身?他踩着无数贵族后代的脸,成为世上最强圣武! 奴隶不作数?规矩给我改了! 酋长不同意?那就退位! 巫会不承认?那就换人做! 毕竟,部落只有一个最大规矩,强者为尊…
邮票网 邮票价格 欧美群迅雷下载 邮票收藏价格表 世界上第一枚邮票 纪念邮票 文革邮票 香港回归纪念邮票 猴年邮票 民居邮票 中国邮票 邮票行情 邮票收藏价格表 邮票交易所 邮票市场 第三轮生肖邮票 民居邮票 生肖邮票 世界上第一枚邮票 邮票吧 世界上第一枚邮票 中国邮票价格表 女幽灵 百度网盘下载 迅雷下载 邮票吧 南京文交所钱币邮票交易中心 女幽灵 百度网盘下载 迅雷下载 邮票行情 中国邮票价格表 邮票网 邮票 龙邮票 第三轮生肖邮票 文革邮票 邮票行情 上海邮票网 十二生肖邮票 邮票 龙邮票 世界上第一枚邮票 十二生肖邮票 末日求生之我没有挂元素之子之踏破凌云你秀了我一脸我是谁?我是,蜘蛛侠棺山盗墓贼重生后再次崛起杀回魔界雷落里希魔道巅峰之天似红霞岸我是诸天之王从鬼灭之刃开始的虚空之力一代妖相玄幻之我是半个大师末世炽焰我就是一个做白事的疯子笔记大唐江湖笑红尘失眠78小时修林尊王者荣耀之我们是冠军五戒传奇移门厂家请复制到浏览器打开 北京搬家公司 正规 哪些企业需要仓库 衣柜门图片 整体卫浴柜 漯河二手房出售信息 刺猬紫檀沙发价格 报价 展架货架 清明上河图价格 深圳衣柜定制 衣柜加书桌 电子厂货架 水波窗帘裁剪图 假箭牌卫浴 衣柜十大品牌 卷帘窗帘价格 仓库工作原理 平幔与水波幔的搭配 兴隆家园房价 夹心板厂家 北京兴利康搬家公司 茂名小区 如何卖窗帘 仓库货位地图 南通房价 香港搬家公司 泊头二手房网 沙河二手房 铜线价格 包柱铝单板厂家 家具信息发布浙江站 南沙的搬家公司 广州海珠搬家公司电话 别墅瓦厂家 买家具 布艺沙发 套 罩 布全盖 九阳豆浆机价格 彭州二手房 浴室柜高 钢木门价格 浴室柜地柜 你搬吗搬家公司 办公家具网 东风卫浴 动迁房房价 二手房 税费 实木沙发价格 实木沙发报价大 深圳龙岗搬运货车电话 细木工板价格 窗帘中旗 滁州二手房 长丰凤霞小区房屋买卖 南阳小区 马桶牌子惠 书柜加衣柜 带喷头的浴室柜 toto智能马桶盖 灵川梧桐墅荷兰郡房价 左右沙发 惠州 铁艺门厂家 柘城房价 浴室柜原料 喜临门家具股份有限公司 福州屏西小区二手房 华润油漆价格 安徽合肥仓库经理 防盗门的价格 北新桥搬家公司电话 当涂东营小区 帝朗马桶 隔断衣柜 电动窗帘没电 广州长途搬家电话 搜索 如何缝水波帘 天津搬家公司电话 窗帘水波裁剪 马桶牌子 都铎王朝 沙发好吗 窗帘的故事 纵向水波帘头制作图解 华日家具招聘 垫江二手房 衣柜 五金品牌 成都卖卫浴 广州专业搬屋电话 天津搬家公司电话号码 北京搬家公司哪个好 无横梁式货架 仓库里二手货架 田园风格家具 整体窗帘 天洋城二手房 安监局可以查小区吗 窗帘常识篇 文件柜厂家 欧迪堡家具 福州哪里有搬家公司 罗湖区沙发维修联系电话 马桶淋浴 韶关二手房 耀邦家具 深圳 二手 房价