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

<a class="close" href="https://7cgs.haoloufang.cn/">&times;</a>
传统网络安全公司网站类型案例北京网络安全产业联盟上海专业网站设计国美网络营销策略科学管控在网络安全中的重要性网络安全性等级信息安全等级保护标准体系遵循以下原则:()信息安全通报制度电子商务网站建设资讯妖魔并起,人族大秦风雨飘摇。 林枫穿越成为大秦书生,觉醒神级读书系统,只要读书就可以提取神通,获得才气值抽奖。 “叮,宿主翻阅《天龙八部》,提取神通下笔如有神!” “叮,宿主进行紫级奖池抽奖,抽到圣级修为!” …… 大秦生死存亡之际,一位青衫书生横空出世,吟唱成剑,风采绝世,无数神通尽出,百万妖魔飞灰湮灭!本是游戏设计师SSS级别的秦洛一觉醒来发现自己竟然穿越了,并且原主还欠下了不少的钱,于是秦洛依靠他的系统反手将许多知名大作拿了出来。 “请问您的游戏连续三年获得金游奖是一种怎样的体验?” “多靠各位同行的衬托罢了。” “那请问您接下来有什么打算吗?” “我的新游戏快要上线了,大家可以期待一下哦!” ······· 【我的世界】霸榜销售游戏榜单第一名多年 【火线】成为FPS游戏的开山鼻祖 【地下城】成为月收入最多的网游之一 ······ 明明只是想摆烂,活上一天算一天的严小狗,在一次狩猎结束后遇到了突然出现的颜小咩。 明明只想躺平,但生活一定要推着我往前走! 不管了不管了,活下去才是最重要的! 只要能活着,没饭吃了就去打猎,世界末日的话那就拯救世界好了! (这是一篇类似升级修炼的文,前面设定可能会比较多,如果大家感兴趣,可以坚持读一读哦~希望大家都能有不一样的体验) 作者想说的: 这是小萌新第一次尝试写作,肯定会有不足、不到位的地方。 希望各位大佬和读者大大们海涵,欢迎大家指正。 当然如果能给予一些支持就再好不过啦! 你们的支持是我坚持下去的最大动力! 十壹拜谢——现在站在你面前的是—— 得文公司董事会、彩虹火箭队缔造者、逆属性大师、世界锦标赛冠军…… 传奇训练家陆野,回忆起首次直播时的场景,喟然长叹。 “说起来你们可能不信,我最初的愿望只是破十万订阅露个脸而已。” “我只想恰点钱,从一名游戏区UP主做起。” “我真没想当训练家啊!” 本书又名:《青春期训练家不会梦见神奥冠军》、《竹兰大小姐想让我告白》、《成为世界冠军从主播开始》…… 【融合世界观,平行世界+动画、游戏设定+特别篇 丧尸突然在校园出现,校园只剩二百多名同学包括四个校花,我们的主角苏长影会怎么做呢?他会拿下四个校花冲出校园,过上神仙般的生活吗?枫立天是我的小学同桌,今年六月,我在学校里用一个日记本写一本小说,在班里特别有名,粉丝有十几,有一天放学,枫立天来找我,他帮我在网上更小说,六月末,我加入了17K,但他并没好好更,还删改内容,让我很失望,我只能把原本的拿出来更这是一个悲伤的故事,宗教一度盛行。在县城的孩子们污染,病态的人格在传播。终于,鬼出世,没有任何疑问。悲的人生选择,是生是死隐匿,步步惊心,需要以今生不悔的勇气。具有看淡一切的品质。杀猪匠不杀五指之猪,守村人不守有庙之村,风水师不点血龙宝地,接生婆的手必须用公鸡血清洗,世间360行,行行有行规江湖与庙堂之间之隔,也不过一把剑的距离 神宇年间,皇帝昭令,西北誉王的世子周慕入京与舞阳公主成亲,名为结亲,实为质子 然而江湖传闻 路人甲‘相传,在西北那边,周王的世子周慕,那可是万军从中取敌将首级,勇冠三军’ 路人乙‘不是吧,我怎么听说那世子殿下,风流无双,有曹孟德的喜好。综武世界 叶青在三不管地带开黑店。 小昭:老板,你心都是黑的,我才不要给你打工一百年! 师妃暄:黑心老板,休要坏我道心! 欧阳锋:年轻人,我劝你耗子尾汁,莫要将路走窄了。 赵敏:老板,你说那腹黑成功学,教教我,好刺激哦,我好喜欢。 张三丰:年轻人不讲武德,不过,你要不要跟我学修仙? 郭靖:叶大哥,以后我就跟你混了,你说让我干啥就干啥! ...... 叶青笑的五彩斑斓黑:诸位,本店明码标价,童叟无欺。
先进网站 信息安全通报制度 建微网站需要购买官网主机吗 营销课案例 免费企业网站 手机网站分享 中国网络信息安全组长 校园网络安全审计 东莞高端品牌网站建设 网络安全评测报告 婴灵的常见案例【www.richdady.cn】 与女友前世的识别方法咨询【www.richdady.cn】 发育倒退【www.richdady.cn】 公司破产【www.richdady.cn】 事业不顺的真实案例有哪些?【www.richdady.cn】 发育倒退的心理调适咨询【企鹅383550880】√转ihbwel 升迁障碍的咨询技巧咨询【企鹅383550880】√转ihbwel 升迁障碍的职场规划如何制定?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的案例分享咨询【微:qq383550880 】√转ihbwel 财运不佳的投资建议咨询【微:qq383550880 】√转ihbwel 灵魂化解的仪式【σσЗ8З55О88О√转ihbwel 精神不振的自我提升【企鹅383550880】√转ihbwel 阴间生活的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的原因分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生测试在线【微:qq383550880 】√转ihbwel 前世今生查询服务【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的预防措施威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 成人发育倒退的可能症状咨询【微:qq383550880 】√转ihbwel 为什么过世的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 南宁专业网站制作设计 网络安全与攻防项目 信息安全等级分类 周口做网站 深圳市信息安全行业 微网站页面 济南网站建设优化 软件网络安全 广州化妆品网站设计 信息安全等级保护标准体系遵循以下原则:() 学校 网络安全 演练 网络安全须注意什么意思 做网站价格 网站建设 福州 有设计感的网站 手机网站分享 东莞网站建设平台 股票网站建设 中小企业网站制作 佛山企业网站建设咨询 信息安全通报制度 免费企业网站 维护网站 公安部网络安全认证 美国网络安全专业大学 腾讯的网络营销 洛阳网站设计 云南网络营销 邹城做网站 上海网站设计公司 营销型网站模板 独立网站建设 南昌做网站 北京营销网站建设 郑州医疗网站建设 网站建设套餐报价 信息安全共享平台,-1 北京网络安全产业联盟 地产网站建设 分析亚马逊营销的特点 校园网络安全审计 江门网站制作 网络营销型企业网站案例 网络安全性等级 三合一网站建设 信息安全通报制度 信息安全项目分享 网站建设模板 深圳市信息安全行业 如何做好网络营销投资 学校 网络安全 演练 网络安全及信息化 中山企业网站建设方案 深圳市信息安全行业 信息安全专业学校 想自己建个网站 信息安全队,-1 密码技术在网络安全中的应用四川省信息安全基金 网络安全实施细则 企业信息安全小组 高州做网站 网络安全法专题培训 it信息安全 维护网站 创建自己的网站 营销课案例 工信部网站备案 网络和信息安全专业介绍 工业网站建设 长沙网站公司 中山网络营销有pc网站 想建网站 信息与网络安全关系 微博营销成功案例 网络安全 方向 全国信息安全技术水平考试 维护网站 音乐网站的色彩搭配 汕头网站设计 高端大气的综合性网站 新潮远网络营销 网络安全攻击的分类 校园网络安全审计 广州化妆品网站设计 密码技术在网络安全中的应用四川省信息安全基金 新潮远网络营销 网络安全漏洞网站 首席信息安全官 网站开发流程 网络安全漏洞网站 高端大气的综合性网站 营销型网站模板 公司信息安全系统包括 新型网络营销是什么意思 网络安全及信息化 微信营销含义 网站建设公司价格 自己建立的网站 微信营销含义 公司网络安全加固方案 网络口碑营销成功案例 大型免费网站制作 网络和信息安全专业介绍 高州做网站 广州的服装网站建设 中小企业网站制作 分析亚马逊营销的特点 信息技术与信息安全学习网站 信息安全需求不包括_____( 北京营销网站建设 信息安全风险评估指标 邹城做网站 云南网络安全 全国信息安全技术水平考试 广州网站设计公司排名 信息安全通报制度 广州定制网站设 东莞网站建设平台 创建自己的网站 做网站价格 中国网络安全实验室 网站的营销方法 大连建网站 深圳市信息安全行业 网络安全事件通报 南宁专业网站制作设计 信息与网络安全关系 交互式网站 网络营销型企业网站案例 中山网络营销有pc网站 高唐企业建网站服务商 网络安全法专题培训 中小企业网站制作 洛阳网站设计 移动互联网的网络营销上海高端网站开发