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

<a class="close" href="https://i4mrn.zhenchan.com.cn/">&times;</a>
微博传播营销的特点烟台哪个公司做网站好网站换域名b2c网站有哪些上海的广告公司网站建设网络安全管理证书中国网络安全排名信息安全专业知识企业互联网营销的策略聊城 网站建设地球少年雷奇穿越海贼世界,意外拜卡普为师,习得霸者铁拳。 看雷奇如何叱咤大海,助路飞称王。就由我来改写这世界一切不美好的事,就由我来承受所有的一切,既然她们是为了一切的美好而战,那么我就是为了她们而战。当家族中人与救命恩人都死在自己的面前,我第一次发觉自己的无能 我不是圣人,做不到善良;我也不是恶人,做不到杀戮。 但我明白一个词,杀人偿命。 君子报仇,十年不晚,你们做好被复仇的准备了吗? 爱情的路上没有对错,有的只是遇见与错过。。。元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。公元前228年秦军兵临易水,燕国告急,燕太子丹召开武林大会,推选刺秦使者。身为刺秦使者的秦天雨得妻子皓月公主劝导,为了天下一统大和,转身变成护秦人,致使荆轲刺秦失败,自己也招来杀身之祸。燕二公子为制造混乱,散布谣言,致使秦王政要诛杀六国贵族的三千后裔,徐福为救三千孩童,谎称海外寻访仙丹带领三千孩童东渡。秦天雨之子秦风逃到东胡,秉承父志维护和平,揭发了东胡人制造匈奴与大秦战争的诡计,秦风逃避东胡人追杀,也逃到了东瀛,得遇鬼谷子,学得上乘武功,又重遇亲弟。兄弟二人重回中原报父仇,除奸恶,东瀛人来中原本意是帮秦风报大仇,却贪恋中原大好河山,趁楚汉相争之际侵略中原,秦风如何罢止楚汉内战,一致对外。力拔山盖,不可一世的项羽又为何败给了刘邦,项羽为何不划江而治,秦风为何不一统天下,成为天下共主,而宁愿选择隐居世外桃源…天启七年,明孝陵突发地震。 一个声音告诉朱元璋,大明要亡了,十七年后,他将代替自己的后辈朱由检,吊死在煤山的歪脖树上。 十七年救不了大明? 瞧不起谁呢! 朱元璋一声令下:来人,给咱把那棵歪脖树砍了! 改善民生! 肃清朝堂! 降服女真! 别的不说,逆天改命这事儿咱最拿手!   落天?改夺小妹天命,牺牲自己成为所诛之害。 这条孤独路你能走多远?一个人孤行的滋味如何?将自己逼成一个阴深的魔鬼,你注定是一个失者,弃者。 落秋雪,由兄长血肉铺成的路,走的可是舒服? 安卿言,身为七微古丹星,你能除魔护世吗?如果那人是是你之至交呢? 冷寒秋,少了注定一世悲绝的命运,多了一世安然,如何呢? 尘月,你,又如何? 落天九辰,你又为何? 落天,谋算自己的死亡如何呢,是何兴致万分? “落所做之事,无人能改易,纵是执笔的你也无能改变!” “小妹吾,一定记得恨吾!” 哦?牺牲万千,却只希望她用恨记得你?你真是惨忍啊,落天,不我应叫你心病寻医,还是天暇无枢,又或上虚无辞?算了,古今一记,帝君神心,安泽儿,玄玄子,墨心无藏,神殊,鬼劫,这些名字中你自选吧。 “千面之主,尔何敢知道吾之本质?” “仙洲灭亡与七方三本一净之计,亦无人可挡本书讲述了一名地球少年被一名贵族收留过上了好生活可是因为这位贵族得罪了其他人人家借君主的手发动攻击除了他外全部被害一国君主收留了他给了他爵位他最后寻找到了格拉尼亚族集合他们的力量建立自己的势力
个人网站企业网站 网站建设 武汉 网络安全作业平台 营销家官网 网络安全中CIDF英文缩写 网络安全 国家标准 网络安全在哪设置 信息安全分类分级指南 小程序营销案例 上海高端网站设计 建公司网站要多久 手机网络营销的案例分析 计算机网络信息安全技术,-1 网络安全中CIDF英文缩写 重庆整合网络营销代理 法国网络安全 网络安全的基本需求 腾讯营销q 网络安全的基本需求 西安网站公司 上海高端网站设计 长安网站建设多少钱 科技平台网站建设 上海高端网站设计 中国网络与信息安全 台州网站建设 企业互联网营销的策略 创建自己的网站 北京网站制作公司 360信息安全大赛 南京网站推广营销公司 全球信息安全认证 马鞍山网站设计 android网络安全开发 网络营销是谁提出来的 中国网络安全排名 网站制作 文案 苍南网站建设 江苏 网络安全上市公司 信息安全基础意识测评 重庆网站建设公司那好 中国网络安全产品市场分析报告 信息安全就业城市 南京网站推广营销公司 网络安全创新500强 网络营销课程培训 邵阳网站优化 做内贸现在一般都通过哪些网站 手机网络营销的案例分析 网络安全 安恒 信息安全基础意识测评 棕色网站 小程序营销案例 中国网络与信息安全 2017年网络安全周北京 网络营销公关 做网站销售 信息安全就业城市 网络营销指 网络安全在哪设置 北京网站制作公司 中山移动网站建设报价 facebook 病毒式 营销 天枢信息安全协会 内蒙古网站建设流程 不备案网站 网站建设前景 网络营销学校哪个好 中国网络安全排名 营销家官网 网络安全小工具 希锦网络安全吗 中山移动网站建设报价 企业互联网营销的策略 android网络安全开发 2013年我国互联网网络安全态势综述 360信息安全大赛 北京安天网络安全技术有限公司 手机做网站的 南通外贸网站制作 营销方案. 2016我国信息安全十大问题 腾讯营销q 手机做网站的 网络安全中CIDF英文缩写 张北网站建设 全球信息安全认证 温州企业网站建设 日本网络安全专业硕士 中国网络安全排名 网站换域名 深圳品牌网站推广公司 上海的广告公司网站建设 创建自己的网站 网站中文域名续费是什么情况 email营销的基本要素 网络营销学校哪个好 台州网站建设 酒店行业 互联网营销 成功网络整合营销案例 信息安全厂商 营销活动培训班互联网 与传统营销区别 企业手机网站建设机构 2014年武汉大学信息安全专业第一学期课程,-1 创建自己的网站 国家信息安全测评认证中心 物理安全与信息安全 苍南网站建设 网站建设公司net2006 外网网络安全 宣传网络安全广告 无线网络安全事件 重庆网站建设公司那好 wap网站模板 温州企业网站建设 计算机网络信息安全技术,-1 谁知道电子商务短期培训电子商务培训都有哪些网络营销课程? 内蒙古网站建设流程 网络安全在哪设置 营销培训视频 信息网络安全管理培训 信息安全厂商 2016年网络安全形势做网站的软件 日本网络安全专业硕士 天枢信息安全协会 今日头条 移动营销 个人网站企业网站 北京网站制作公司 成功网络整合营销案例 宣传网络安全广告 知名信息安全公司 内容整合营销机构公司网站模板 有哪些营销公司 腾讯营销q 网络安全专题知识宣传 网络营销平台的建设 网络营销渠道的效用 网络安全 风险评估 今日头条 移动营销 网络安全攻防linux 西安网站公司 网络安全 活跃 论坛 互联网营销适合女生吗 专业信息安全服务资质办理,-1 信息安全资质证书