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

<a class="close" href="https://7gf.saqin.cn/">&times;</a>
免费网站推广常见的信息安全认证有:白城网站建设福清网站建设个人网络安全的重要性信息安全的层次化特点决定了应用信息安全预警服务济南模板网站制作网站尺寸福田网站设计通道异变,乱世将至。江辰通过秘术一步先步步先。在这群雄并起的世代,且看我江辰一剑斩妖,一剑除魔,一剑登天。 因为系统出现故障,陈己辉没有成功穿越到自己想去的修仙世界,反而来到了万国争霸的世界,成为大炎王朝的皇帝。 从此开始,陈己辉便开始任意妄为。 后宫参政。 重用外戚。 宠信太监。 流放重臣。 陈己辉在努力的做好一个昏君,但是事情却逐渐超过了他的预料。 “恭喜陛下,梁国大军已经溃不成军!” “陛下圣明!国内粮食产量已经翻倍!” “喜讯!刘国请求纳入炎国版图!” 喜欢本书的读者,欢迎加入扣群:二零,二五零,久久七零。 “嗨嗨嗨……” “我竟然穿越成为了弗利萨?” “没错,就是那个到处装逼,无限给孙悟空送经验,然后每次被按在地上疯狂摩擦的人气反派,宇宙帝王弗利萨!” “这一世,我手握龙珠剧本,我胡鲤飒,不,我弗利萨大王发誓,一定要一辈子将孙悟空踩在脚下!” “哼哼哼!!!”00后的孩子们,99年的事儿瞒不住了……一个携带鸡肋系统的末世空降兵在2022年的战斗任务中意外穿越回到了1997年,为了阻止两年后的悲剧的重演,看主角怎样利用有限的系统辅助进行绝地逆袭! 剑足够利,拳头足够大,才是真正的道理…… 方酒本是清苦知足,乐活安稳的一名少年,没有雄心野心,没有凌云之志。然而江湖上哪有什么真正的安稳。 风云难测,人心更是诡变。江湖险恶,三擎百教林立,有人径来直去,有人心术权谋。赤子少年如何在纷争中挣扎,是泯然众人,还是一步登天。 诸君,且观风云。余漠穿越十六年的,不仅是个瞎子,还被当做童养夫。 十六岁那年,他的眼睛被治好,打算逃跑的的看到眼前的女子,三观跟着五官跑了。结果成婚当天,却被一群卫道士,以铲除魔女口号,生生拆散。 且看余漠如何翻身逆袭的成功降服魔女。 车速不快,胜在稳定。 我只是个医生,首富是我媳妇! 出身中医世家的现代杰出青年医生方乐章,一觉醒来重生到了九十年代,成了九十年代的医学生方乐,还因为身患肺痨休学在家,成了人人嫌弃的肺痨鬼,庆幸的是有一位贤惠漂亮的媳妇照顾。 重生九十年代,是迎着时代的浪潮成为首富呢还是借助前世的医疗经验当一位名医呢?方乐表示,还是先治好自己的肺痨再说,我就是个医生,首富的任务就交给媳妇了。 星河联盟将黑暗战争之后称之为新星世纪(后世纪),之前则称之为旧河世纪(前世纪)。本作主要叙述的就是前世纪的故事。 沈凌本该老老实实做他的绿帽男配,谁知在男主拜师的前夜,他觉醒了! 什么?! 青梅竹马的未婚妻要和男主滚床单? 因为她,我走火入魔,被师父轰下山? 为报仇,我耗尽家族资源,乱杀无辜,所犯之罪罄竹难书? 父母被男主虐杀,家族被灭门,而我只能跪在他脚下苦苦央求? 打住! 知道了这一切,你以为我还会乖乖就范? 我沈凌,从此不会为情所困,修仙路上,我要为自己而活,为家族而战!大汉之上,铁骑所到之处,皆为汉土。 刘承穿越到了大汉王朝,可是这个汉朝并非是历史记载中人们所熟悉的那个大汉王朝。 在这个世界的汉朝,有一个特殊的群体,在历史记载中不曾存在的修武者。 传言中,修武者的巅峰,可达长生。 彪悍的匈奴,以长生天为名,控制天下修武者,企图覆灭大汉王朝的大秦遗族。 都将在这个全新却又被人熟知的时代一一登场。 刘承,将会是那个各方博弈的棋子。 在以天地为棋盘的棋局之中,当所有的人都是棋手的时候。 那唯一的棋子,将凌驾于所有的棋手之上。 一个不被历史所记载的人,一个在历史车轮转动中,被刻意抹去的人。
昆明建个网站哪家便宜 信息安全事件等级制度 中英文网站设计 信息安全的层次化特点决定了应用 全国信息安全邀请赛网站站欣赏 河北手机网站制作企业 网站尺寸 河北手机网站制作企业 使用微博营销工具应该注意哪些问题 佛山新网站建设特色 大龄剩女的职场发展【www.richdady.cn】 去世的母亲的前世案例咨询【www.richdady.cn】 儿子抑郁症的症状与诊断【www.richdady.cn】 头脑混沌的前世因果【www.richdady.cn】 儿子不读书的改运方法咨询【www.richdady.cn】 升职加薪的障碍分析咨询【微:qq383550880 】√转ihbwel 财运不佳的财富规划如何制定?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外事故的预防措施【微:qq383550880 】√转ihbwel 忧郁症的预防措施咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰对工作效率的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋经验【σσЗ8З55О88О√转ihbwel 强迫症的案例分享咨询【微:qq383550880 】√转ihbwel 工作场所意外事故的原因【σσЗ8З55О88О√转ihbwel 感情纠纷的情感咨询咨询【www.richdady.cn】√转ihbwel 与女友前世【www.richdady.cn】√转ihbwel 与男友前世的前世缘分【σσЗ8З55О88О√转ihbwel 亲子关系的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 干扰的自我感知方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何避免生活中的意外威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的前世今生【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 湖南高端网站制作公 佛山新网站建设特色 信息安全技术 安全漏洞等级划分指南 idc 信息安全管理责任制,-1 信息安全安全号 国家网络安全的案例分析 上海建站网站的企业 信息安全管理 实训室 暗月信息安全论坛 网络安全程序设计 网络安全国标 网站建设中心 网站没收录 幼儿园网站设计 网络营销的定义 建设营销型网站的要素 网站推广的目的 高档网站设计 网站的设计、改版、更新 长治网站建设 公司网络安全培训 使用微博营销工具应该注意哪些问题 河北手机网站制作企业 网络安全2017 c 网络安全编程 网络营销的价值服务 潜江网站建设 网络营销整合app营销推广公司电话 保定网站建设 o2o网站建设 网络整合营销谁提出的 网络营销的国内外研究现状 专业网站定制服务 上海建站网站的企业 网站挣钱网 事件营销和公关区别 个人网络安全的重要性 网络安全.需要哪些技术 营销公誉 中央网络安全小组t图片 大数据信息安全安全 营销公誉 xx高校网络安全解决方案 网络安全 展览 昆明建个网站哪家便宜 响应国家网络安全 网络安全预算 武汉市大型的网站制作公司 国家网络安全管理部门 网站建设问题大全 昆明做网站哪家好 网站建设公司平台 信息安全原理 质询与应答 网络安全协议分析实验 广州市信息安全 贵阳建网站 使用同一路由器个人信息安全吗 学校信息安全 中国国家网络安全谷 公安网络安全系统的设计与实现的案例 武汉市大型的网站制作公司 广东省网络安全应急平台 广西首届网络安全 深圳 企业网站建设 迭代思维 营销 公司网络安全培训 商业信息安全 2015年11月出台网络安全法 电子商务网络营销实验报告常见的网络营销方式并加以适当详述 迭代思维 营销 网络信息安全部 企业网站必须实名认证 暗月信息安全论坛 网络信息安全部 网络安全 国防 广州市信息安全 建设营销型网站的要素 xx高校网络安全解决方案 网站如何被百度收入 专业网站定制服务 网站挣钱网 信息安全预警服务 建设营销型网站的要素 信息安全技术 安全漏洞等级划分指南 互助网站制作公司 网站文章图片加标签加 信息安全 博士专业,-1 建网站视频 网络安全 展览 信息安全事件等级制度 制作网站的要素 国家网络信息安全座谈 网站建设中心 国际信息和网络安全会议 全国信息安全邀请赛网站站欣赏 昆山设计网站的公司哪家好 专业开发网站公司 2017年最新网站设计风格 网站的设计、改版、更新 信息安全性测试 德阳网站建设公司 专业开发网站公司 网络安全技术与实践 昆明做网站哪家好 商务网站设计 网络安全技术与实践 网络信息安全部组长 网站自建 网络营销的国内外研究现状 网站制作样板 2015年11月出台网络安全法 平安信息安全 无锡 信息安全 网络安全和计算机安全 中央网络安全小组t图片 网站设计 广西 信息安全方面个人证书 网络营销线下培训课程重庆网站制作公司 如何提升网站速度 网络营销的定义 南宁企业网站 公司网络安全负责人 单位信息安全等级保护工作是否做了部署 可信网络安全 佛山新网站建设特色 o2o网站制作公司 国网营销 济南模板网站制作 网站没收录 网络安全4292017 专业网站设计 无锡 信息安全 网络安全日志审计 成都信息安全类公司 信息安全的层次化特点决定了应用