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

<a class="close" href="https://ks3z.888866.com.cn/">&times;</a>
武威做网站广东省信息安全测评中心待遇cdn网络安全深化对网络营销认识建网站挣钱信息安全漏洞 云南网络信息安全日网站设计行业资讯分析企业网站和搜索引擎两者在传递网络营销信息方面有何不同广州建网站台州高端网站建设建团购网站高逼格网站重回大唐贞观年间,来到了文昌武盛,民族自豪感最强的朝代,看李桂豫如何让大唐变得更强大。平静的生活被打破,一个人面临世界 友情 爱情的背叛,该何去何从,黑化……一个现代人到了古代会做什么。 裴尘对自己说: 如果这一切都是梦,梦醒时自然烟消云散。 如果这一切不是梦,那我要做的就是,好好活着,也让我身边的人,好好活着。 大周王朝,内忧外患,民不聊生,在这样的环境下,自己不愿随波逐流,想要改变。 事情要么不做,要么就做到极致。 纺织、制弩、黑火药、香皂、制盐、炼钢…… 一步一步的布局,一点一点的强大。 也有对喜欢人儿的心动、感动、冲动,以及对传说中武功的向往。 逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。末日来袭,地球上的植物与水源全部枯竭衰败。 世界陷入恐慌,秩序与人性崩碎。 食物与生存,再次成为新世纪之后人们最关心的话题。 米面成为奢侈品,唯有富豪才能享用,菜蔬更是身价暴涨万倍,有价无市! 然而就在此时,有人捡到了一部手机,偶然打开之后,手机内的视频令世界震惊。 甘甜的菜蔬滚入火锅之中,散发着诱人的绿色! 烤的金黄的羊腿滋滋冒油,沾上芝麻般的孜然! 鲜美的鱼汤炖的宛若牛奶一般纯白,撒上翠绿的葱花! 饭桌旁,一名粉雕玉琢的小女孩咬掉半颗草莓,哀求道:哥,我真的吃不下了!! 楚君玄一穿越,就遇到了神仙姐姐被人追杀,本以为会死,却被一块青玉所救…… 夺仙人之躯的楚君玄,随手一掏,就是仙家法宝;入住全是少女的秋水宫;与一众仙子、妖女打得火热;和李靖、秦叔宝、李淳风等大唐英豪们称兄道弟、斩妖除魔…… 妖魔两族来袭,人间经历大劫,七大妖王、八大魔头、九真五佛,高手如云,一场波澜壮阔的妖魔大战开启…… 十年前,滨海第一大家族林家一夜之间被灭族,唯一幸存者林玄被一路追杀,所幸危急时刻被一个小女孩救下,北上逃难。 十年后,林玄成为一代王者,但却在加冕当天卸下王冠,回到滨海......男子:兄台,我观你面色红润,许是患有大病啊 “大夫,您怎知晓,我这见到您身上那白花花的银两着实是心痒难耐啊。” “您不觉得这像极了我前些日头丢落的吗?” “兄台言之有理” 男子看着那脖间的刀,想了想命重要。魂穿入另外一个平行世界,开启了一段全新的世界之旅。可在这个时间,原身居然是以为嚣张跋扈的恶少,仗着自家强大的经济实力为所欲为。可恰好这个恶少因从小体弱多病导致身体不行,导致我们的主角穿越来后开启了一段爆笑喜剧生活。“我错了,你们,你们不要过来啊!!!”占国,一个刺客横行,法咒为厉的国度,王子几个的父母被刺杀,师傅连夜救他出宫,开始了流亡生涯。朝廷下巨额刺杀令,无论死活,皆赏。各路高手磨刀霍霍,几个性命岌岌可危。天赋差法力低的他,能否突出重围,为父母复仇?他自己也不知道,他只知道:倘若这世上所有人都要我死,那我偏要活给所有人看!
本地佛山顺德网站设计 互联网周刊 网络安全 网络营销策略例子 广东省网络安全维护 江西企业网站建设 网站的模块 优秀的学校网站欣赏 南昌网站优化公司 免费网站模板 昆明网络营销网站 与公婆前世的前世修行咨询【www.richdady.cn】 纠纷的心理调适咨询【www.richdady.cn】 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】 财运不佳的财运提升咨询【www.richdady.cn】 内心恐惧胆怯的咨询技巧【www.richdady.cn】 婴灵对家庭的影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的心理成长威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度过程【企鹅383550880】√转ihbwel 孩子不爱读书的原因咨询【微:qq383550880 】√转ihbwel 什么是婴灵?咨询【企鹅383550880】√转ihbwel 脑部不清晰的生活习惯【微:qq383550880 】√转ihbwel 家庭关系的改善方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的化解方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的前世因果咨询【σσЗ8З55О88О√转ihbwel 头脑混沌时如何提高注意力咨询【企鹅383550880】√转ihbwel 事业不顺的职场提升路径有哪些?【σσЗ8З55О88О√转ihbwel 企业网站首页布局尺寸 澳门网站建设 网络安全迫与破 微黄式营销 青岛市网络安全办公室 国家网络安全审查 高逼格网站 广东省网络安全维护 网络安全自主可控 伊朗 网络安全 网站的风格 网络安全问题有哪些 网络工程师和网络营销 学院网站规划方案 唐山网站建设费用 合肥seo营销公司 帮人做网站 互联网营销和传统营销的区别是什么 网站设计架构 中国信息安全 政府比例 建网站中企动力 徐州市网站 营销式建站什么意思 企业级服务 网络安全 开展网络安全认证 检测 风险评估等活动 网站的标准 政府网站管理系统 网站的标准 网络营销十大问题总结 大华信息安全四个惩罚 广州网站设计公司招聘 毕节网站建设 百度验证网站 百度验证网站 帮人做网站 镇江网站推广 伊朗 网络安全 网站的风格 冷色调网站 网站单选框的实现 营销qq邮箱如何登录 品牌网站建设维护 国家网络安全国家安全 伊朗 网络安全 俏江南营销 网站的标准 国家网络安全主题 网站建设 宁夏 中国 信息安全 法规 如果做到信息安全 国家网络安全审查 杭州网络安全公司 地址 网络工程师和网络营销 中国 信息安全 法规 饥饿营销的促成 网站设计) 网站设计行业资讯分析企业网站和搜索引擎两者在传递网络营销信息方面有何不同 饥饿营销的促成 网站的构建 企业网站优化 外贸网站设计制作 专业建设网站制作 保密局 信息安全测评 福州网络营销网站 广东省网络安全维护 互联网营销和传统营销的区别是什么 镇江网站推广 网络信息安全日 太原网站建设dweb 常用的网络安全技术包括 合肥seo营销公司 建网站挣钱 代运营网站 有免费的营销软件吗 专题页网站 免费网站模板 冷色调网站 临沂做网站 网络营销学文稿 微网站建设方案 企业官网响应式网站 代运营网站 重庆网站推广营销价格 昆明网络营销网站 深化对网络营销认识 免费注册网站空间 网络安全问题有哪些 普洱网站建设 石家庄网站设计制作服务 网络安全产品资质 网站的风格 国家信息安全管理的主要规定包括,-1信息安全防护体系原则 免费网站模板 企业级服务 网络安全 江西企业网站建设 深圳制作企业网站 电器 网络营销 西安网站制作 信息安全未来10年,-1 建团购网站 网络营销学习 电器 网络营销 网络安全法颁布的意义 外贸全网营销方案 2017网络安全公司排名 贝贝网营销 高端网站设计品牌 2008网络安全事件 合肥seo营销公司 徐州市网站 网络营销信息流 毕节网站建设 西安网站制作 开展网络安全认证 检测 风险评估等活动 网站设计行业资讯分析企业网站和搜索引擎两者在传递网络营销信息方面有何不同 本地佛山顺德网站设计 唐山网站建设报价 网络安全迫与破 杭州营销型网站建设 国家网络安全国家安全 东软网络安全工作室 外贸营销邮箱 常用的网络安全技术包括 建网站要学什么 响应式外贸网站案例 网络安全法颁布的意义 上海网站建设要多少钱 石家庄网站设计制作服务 冷色调网站 徐州市网站 无锡网站优化 什么是网路营销 互联网周刊 网络安全 网络安全信息安全实验室 中国 信息安全 法规