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

<a class="close" href="https://chch.3406.com.cn/">&times;</a>
贵州网站优化山西网站建设长春网站建设推广莱芜网站优化做app网站建设网络营销 (第5版)网站设计与制作郑州网站建设哪家有开源网站管理系统网络安全小卫士防火墙信息安全 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。穿越到高武世界,在报志愿的当天,苏七楼绑定了神级选择系统。 “590分,125卡,西北武大。” “575分,122卡,东南武大。” “610分,135卡,魔海武大。” “499,全套,89号技师。” 绑定系统的第一个奖励从坑死党开始。 “叮,你做出了选择,完成奖励血气丸” “叮,你做出了选择,完成奖励《血气真解》” “叮,你做出了选择,完成奖励《莽拳》” 只要做出选择,就有各种奖励,苏七楼从此开始了自己的崛起之路。 变成鬼后,我才发现有一只无形的收推动着整个世界每个人心中都有一个自己的江湖,江湖故事。 凌云被师傅赶下山,一人独闯江湖。 江湖纷争,人心难测,我自清醒。 这里是一个名为天元大陆的地方,在这里没有炫迈的魔法,更没有斗气,真气等。有的只是繁衍到巅峰的灵力。等级为灵者、灵士、灵师、灵君、灵王、灵宗、灵皇、灵圣、灵尊、灵至尊。玄龙大陆,以武为尊。 少年叶平安得到败天武帝的至尊天眼,从一个卑微的蝼蚁,成为至高无上的绝世武帝! 一路上白骨累累,红颜多娇路飘摇,无敌路上太寂寥!“对不起,我已无法再相信任何人了,所以请不要接近我。” 在目睹了最爱的青梅竹马接受别人的告白后,万念俱灰的诺尔斯选择默默离开了队伍。在遥远的地方想要重新开始却又遭到了新队友的背叛。心灵遭受重创的诺尔斯无法再相信他人,不断拒绝着周围的好意。 决心独自一人继续走上冒险者之路,就算只是一个普通的剑士,没有能力,不被期盼,只因这是和在心中死去的那个最爱的她所共同许下的愿望。 独狼男主的冒险之路是否会发生变化,平凡剑士是否能完成超越,请收看这本关于后悔与救赎交织的平凡剑士物语。 一花一叶一少年,清风徐来半月阁! 千树万树终落叶,寻的半生安稳来!格洛斯特国在2100年创造出了第一批抗侵略的机甲武器,效果十分显著,不仅抵挡住了其他国家的侵略还收复了之前战败的边境地区,在这之后,其他国家也纷纷效仿格洛斯特国舍弃了对普通的枪械和炮弹的研究,也转向研究并创造出了机甲武器,世界爆发了机甲时代战争,战争依旧没有停息,格洛斯特国在2108年秘密打造出了约5m的由人类为载体的新型可作战机甲,但由于驾驶员的大脑活跃度和反应速度的年龄有着过高的要求,军方要求由25岁以下16岁以上的全部非贵族国民必须要参军,因此有大部分的高中生和大学生也必须参军,本是该好好享受青春的年纪却要被迫于战争和死亡为伍,本应握着笔的手却握着机甲操纵杆,战争是残酷且不公的,一群背负保卫国家使命的少年们啊,为了自己想守护的东西而苟延残喘的活下去吧!宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110
保定市网站制作公司 营销和推销 西安营销服务专家 经信委 信息安全.,-1 5设计网站 网络安全英文新闻 网站设计与制作 至设计网站 太原门户网站 怎样创网站 头脑混沌的案例分享咨询【www.richdady.cn】 感情纠纷的情感重建【www.richdady.cn】 投资项目的前世因果【www.richdady.cn】 感情纠纷的前世记忆咨询【www.richdady.cn】 无形干扰的自我提升咨询【www.richdady.cn】 前世因果化解方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的咨询技巧咨询【企鹅383550880】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 与公婆前世的因果关系咨询【微:qq383550880 】√转ihbwel 儿子抑郁症的治疗方法【σσЗ8З55О88О√转ihbwel 婴灵的安抚有哪些实用技巧?咨询【微:qq383550880 】√转ihbwel 如何解决孩子不爱读书的问题?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 莫名其妙感伤的情感释放咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 纠纷【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的缘分如何续写?【www.richdady.cn】√转ihbwel 失业后如何快速找到新工作【微:qq383550880 】√转ihbwel 孩子不爱读书的阅读计划如何制定?咨询【σσЗ8З55О88О√转ihbwel 有官司的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的治疗方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 摩拜单车的网络营销 五种网络营销工具 销售网站 网站制作中心 扩展名网站 网站创建 速卖通如何营销 公司网站的专题策划 北京欢迎你网站建设 5设计网站 微信火爆营销推文汇总 网络营销人才培养 重庆最新微信营销方案 2016年网络安全年会 怎样创网站 联创营销班 网络营销 (第5版) 互联网信息安全事件,-1 网络安全小卫士防火墙信息安全 网络游戏营销 中山网站建设 网络安全设备 网什么 事件营销是口碑营销? 设计网站app 银川网站建设多少钱 顺义广州网站建设 移动互联网如何一站式帮助企业解决营销方案的产品新闻发布稿 顺义广州网站建设 新闻稿营销 河南信息安全电子认证中心 idc网络安全 网络安全的文章 专业网络营销整合服务商 专业网络营销整合服务商 网络营销 (第5版) 网络安全年会2017 征文 天津网站设计 外贸网站响应式 网站制作苏州企业 佛山购物网站建设 公司网站的专题策划 咸宁做网站 网络营销是不是seo 佛山网站制作 信息安全标准可分为 开源网站管理系统 济南网站忧化 网络安全软件推荐 哪里有培训营销的学校 信息安全和管理 瑞星2013年中国信息安全报告 邢台网站制作公司哪家专业 贵州网站优化 网络营销相关资料 六盘水网站建设 2016年网络安全年会 青岛公司网站建设 六盘水网站建设 网络营销团队培训课程 深圳营销型网站建设 网络安全服务内容信息安全研究机构排名 池州网站制作 做网站域名 湛江有哪些网站建设公司 网络安全最新 中山网站建设 免费申请网站 搜索引擎营销教案 咸宁做网站 网络安全人才奖 2016 谷歌网站地图 金融网站开发方案 公司网站与营销网站 企业信息安全实验室 营销型网站报价 重庆最新微信营销方案 赢天下 网络营销 至设计网站 微商营销模式缺点 扩展名网站 手机网站布局 信息安全标准可分为 网络营销相关资料 网络游戏营销 做网站域名 手机网站布局 德阳网站优化 网站建设公司倒闭 罗湖高端网站设计 德阳网站优化 太原门户网站 中国信息安全讲座,-1 专业网络营销整合服务商 怎样创网站 网上营销策划公司 成都营销型网站 国家信息安全测评认证 深圳营销型网站建设 网络安全的文章 整体营销 网络安全英文新闻 信息安全攻防技术报告 经信委 信息安全.,-1 中央 信息安全工作会议 成都 企业 网站制作 搜索引擎营销教案 龙岗网站建设公司 做电商的网站 摩拜单车的网络营销 晋江网站建设 新闻稿营销 网站建设收费标准报价 isaca 信息安全人才 长春专业网络营销公司哪家好 网页风格是指网站的整体形象给浏览者的综合感受.有的严肃庄重 腾讯信息安全大会 免费送网站 襄樊做网站 网络安全培训机构 西安 手机网站制作机构 线条类网站 网络安全行业资质申请 广东省网站建设 信息产业信息安全测评中心 网络营销 你的课 太原门户网站 策划 营销 网站建设优化服务价格 网络营销分析 ppt永恒之蓝 信息安全 速卖通如何营销 信息安全和管理 isaca 信息安全人才 搜索引擎营销优点 银川网站建设多少钱 网络营销公司干嘛的