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

<a class="close" href="https://sfi.0904.com.cn/">&times;</a>
免费作图网站营销牛官网网络营销理解成都网站原创主要营销方式有哪些方面杭州网站建设设计公司哪家好三零盛安 信息安全培训网站建设营销技巧网络营销的调查报告2016杜蕾斯事件营销圣界一绝世至尊圣帝,因获得天下第一至尊宝物混沌珠,被自己的好兄弟出卖,遭到圣界强者围攻,在杀死无数强者后,逃到圣山,因体力不支,实力大减,最终选择自爆与敌人同归一尽。意外重生异世天龙大陆杨家废才三少身上,从此开起无敌之旅,脚踏万千世界,威震八荒。一切敌人全部碾压,美女缘不断,宝物全部到手,终成万古主宰。欢迎光临山海小馆 我是店长夏勉,这是我们的菜单 凉菜有 醋溜荀草 凉拌夔牛肉 酒糟女丑蟹 卤凤翅、鸀鸟肝、鹿蜀筋拼盘 …… 热菜有 汽锅重明 红烧毕方 麻辣文贝 黄焖鳡鱼 仙蔬什锦 …… 点心有 荔枝甘露饼、珑缠桃条、酥胡桃、缠枣圈、缠梨、香药葡萄、缠松子、糖霜玉蜂儿 …… 酒水有 帝女浆 禹王台 山神祭 瑶池醉 醴泉冻 …… 都是仙酿,刑天喝了都说好。 哦,对了,招牌菜是鹿蜀宴,宜子孙哟…… 您看要哪个? 九尾狐后厨露头,呼救:“厨子,我和鱼干起来来了!” 夏勉处变不惊,面露微笑,“您稍等。” 转身掏出大禹治水时用的定海神针,走进后厨。一直遭受女朋友母亲无情刁难辱骂为“破代驾”的他,却因其英俊,技术好被绝美女客户看中,青睐有加! 旋即,叶飞豪在卷入一场女人的战争后,可谓时来运转,竟意外获得第一桶金,并寻得惊世灵根,激发旷世医武道法! 从此他投身商海,掀波弄潮,美女财富涌来;更是纵横医武,打脸各色权贵,横扫都市,成就一代豪横世家!拥有【满级肉身】的苏叶,穿越异界,成为显魔宗疯魔院的杂役弟子! 被女魔头吊着打,获得天魔神掌。 被老魔头拿头撞,获得种魔大法。 被小魔头当沙包,获得霸王神斩。 …… 在疯魔院当杂役这些年。 有郁郁寡欢的师妹,来疯魔院供奉魔头,经苏叶指点,修成九世女帝! 有身世卑微的凡人,来疯魔院供奉魔头,经苏叶调教,成为天下共尊的魔皇! 有朝廷弃徒的皇子,来疯魔院供奉魔头,经苏叶点拨,成为横扫大陆的一代帝王! * 六十年后,魔道天榜揭示,排序魔道强者,苏叶独占鳌头! 榜单备注——神魔共主! ……不是意外,房东东因为幸运而被甄选,却只成为魔法星界的普通居民。设定小目标就是环游魔法世界,见识什么叫快乐星球。然而风云变幻,魔团会、族老会、真理会与皇经会几方势力暗流汹涌,无意身处其中自己也狼狈不堪。既然如此,那便是登上魔法的最高殿堂重权话事,宵小退散。秦天明穿越小说世界,成为小说中一个戏份不多的反派。 系统:只要宿主你完美杀青,就能够带着本系统回到你原本的世界当龙傲天。 秦天明:简单,演反派我最在行了! 结果女主不按剧本来,开始疯狂倒贴。 秦天明:能别倒贴了吗?我只想杀青啊!男主呢?你怎么还抑郁了?!失落于时光长河里的源石,借助源帝轮回吞噬了他。 重生于溯源大陆的源尘,本以为自己可以走上源帝的道路,斩万族,踏鲜血,一步登天。 可是他在无数次选择中,走上了一条与源帝完全不同的路。 梦与现实,魇与真相,脚踏之地不再有无辜之血。 正与邪,谁为谁歌唱终局之歌。 凋零了死亡之花,磨平了岁月棱角,且看源尘如何追溯那终极之地——仙迹!现代科技盛行的时代,神异力量复苏。 正义与黑暗的抉择,科技与神异者的斗争正式打响。 这个世界谁对谁错,需要新的法则来制衡。“又是新书的开始。”王冉推开茶馆的大门,看着陌生的世界,说道。虽然他的故事从未停止......特工小强凭借着矫健的身手,在一个又一个阴谋和漩涡中挣扎和自救,身怀着坚定的信念和国家的信仰,在异国它乡中惊险之旅
如何加快网站访问速度 温州购物网络商城网站设计制作 wifi 网络安全 信息安全等级防护 网络安全防御系统是个动态 信息安全管理体系的通用步骤 公安部网络安全监察举报 计算机信息安全四级 信息安全与web安全 网站数据库 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】 婴灵的真实案例有哪些?咨询【www.richdady.cn】 升迁障碍的职业发展【www.richdady.cn】 迟缓儿的自我提升【www.richdady.cn】 前世老婆的前世故事【www.richdady.cn】 心慌胸闷头晕的环境影响【微:qq383550880 】√转ihbwel 外灵的预防措施咨询【企鹅383550880】√转ihbwel 意外的心理调适咨询【企鹅383550880】√转ihbwel 家庭关系的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的职业规划【σσЗ8З55О88О√转ihbwel 暗恋的心理调适咨询【www.richdady.cn】√转ihbwel 人际关系不好的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的和谐共建方法有哪些?【www.richdady.cn】√转ihbwel 孩子学习不好的辅导方法【企鹅383550880】√转ihbwel 升迁障碍的职场瓶颈如何突破?咨询【σσЗ8З55О88О√转ihbwel 什么原因意外的前世故事咨询【企鹅383550880】√转ihbwel 学习成绩差的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵性提升课程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度与慈悲心【企鹅383550880】√转ihbwel 意外的前世故事【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 裂变营销 病毒营销 中国网络安全专家 网络安全防御系统是个动态 idc网络安全报告 app营销策划案例 网站主页设计 企业如何做全网营销 深圳网站空间 网络营销中 网络安全设计指标 黄浦网站建设 网络营销促销组合 我们的优势的网站 湛江网站模板 网络营销配送 网站建站 第四届互联网网络安全 信息安全管理体系的通用步骤 贵阳有哪些可以制作网站的公司吗 北京网站设计价格 网络安全通报机制 国际信息安全企业排名 芜湖网站建设 信息安全技能要求 中国信息安全监测中心 厦门网站建设要多少钱 易奇秀网站 免费作图网站 互联网营销总结 专业网站制作公司 企业如何做全网营销 网络营销岗位 万州网站制作 全网整合营销解决方案 网络安全保险怎么买网络安全与个人安全 网站移动端建设 微信公众号营销缺点 网络营销环境的特点 2016杜蕾斯事件营销 台州哪里做网站 信息安全等级防护 信息安全等级认定 网络安全 北邮 政府网站建设联系电话 网站注册器 使用asp.net制作网站在制作相册时怎样添加图片呢? 桂林网站设计 上海市信息安全测评认证中心 企业网站建设公司郑州 发布信息营销教程 内蒙古企业网站建设 春秋网络安全 特色的南昌网站制作 网络营销岗位 网络安全论文1500 网络营销的调查报告 网络营销推广外包 受欢迎的汕头网站推广 免费开网站 手机网站做成app 红茶网络营销方案 龙岗网站设计资讯 杭州网站建设设计公司哪家好 公安局信息安全部,-1 信息安全等级认定 网站手机版开发 网站 武汉专业网站建设推广 网站关键词长度 网络营销工具和方法有哪些 国家实施网络安全等级保护制度 顶级网站 计算机信息安全四级 湘西网站建设 免费作图网站 信息安全全球顶尖大学 网络安全教育与培训 信息安全 应急响应 成都网站原创 中国网络安全专家 沈阳做网站的公司排名 专业网站制作公司 网络安全通报机制 e营销网络版 sns营销策划案例 网络安全论文1500 国际信息安全企业排名 鄂尔多斯网站建设北京信息安全大会 网络营销 上海做网络安全的有哪些公司 湛江网站模板 网络营销市场 网络安全设计指标 手机网站做成app 鄂尔多斯网站建设北京信息安全大会 网站建设营销技巧 卓进网站 网络安全委员会 网络安全委员会 免费作图网站 深圳网站空间 网络安全检测评估报告 网站建设与制作价格 北京网站设计价格 什么产品需要网络营销 网站数据库 张家港杨舍网站制作 网络营销促销组合 陕西网络与信息安全测评中心 学校网站建设措施信息安全 教研室 温州购物网络商城网站设计制作 idc网络安全报告 网站建设营销技巧 三零盛安 信息安全培训 信息安全与web安全 发布信息营销教程 江西专业南昌网站建设 国际信息安全企业排名 网络安全保险怎么买网络安全与个人安全 手机网站 营销中心对定位运营提供什么支持及策略 营销型平台网站建设 网站诸多 信息安全等级保护培训 信息安全全球顶尖大学 许可email营销有哪些 手机网站 广州华南信息安全测评中心 怎样网络安全周专题 深圳网络安全监察局 网络营销 深圳网络营销公司 张家港杨舍网站制作 信息安全 应急响应 个人信息安全软件,-1 第四届互联网网络安全