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

<a class="close" href="https://g9h.shenzou.cn/">&times;</a>
网站统计对网络营销的价值网络营销中4C的特点网站建设的流程营销专业网站深圳html5网站建设品牌营销策快消品网络营销韶关网站建设国家用网络安全营销专业网站不是吧,我居然重生了,老天爷,你重生也不打个招呼,让我准备准备,就这么硬来真的好吗,我一个没学历没特长的普通人,你让我重生干嘛,再重活一次吗,你可包(别)跟我开玩笑,我心脏受不了。 系统呢,这不是重生跟穿越者的标配吗,怎么到我这儿就什么都没有了,诶,不对,还有个手机。看着手机里那些自己以前有意无意存起来的图片和小说,林文总算是长出了一口气,后半辈子总算是有保证了。 既然重生了那就要活的潇洒,自在,快活。把以前想干不敢干的都干了,把以前干了但是留有遗憾的给弥补了,总之活的爽就对了。 全球首富不用想,全国首富也够呛,有老马小马和老王在前面顶着,但是全省首富这个名号林文觉得自己还是可以争取一下的。 总之,这就是一个普通人靠着重生带来的手机,东一榔头,西一棒槌挣钱的故事。凤凰山的幸福生活!男屌丝林凡意外车祸,却不料穿越异界,还未来得及高兴自己重生再世为人。却从记忆里发现自己是一个落漠家族的长子,虽天赋异禀却在17岁遭人偷袭丹田破碎武魂无法凝聚。随着脑海中一道系统提示音响起,林凡便有了称霸异界,问鼎苍穹的意志。还在YY的林凡被系统强制接受任务,悲惨的升级之路,爽翻天的称霸之路,一路美女如云……书生孟浩被白娘娘绑上了白蟒峰,成为了压寨夫君,还承担了教导小妖怪们读书识字的任务。 后来,整个白蟒峰的画风都有些不对劲了…… 小橘猫:“三十年河东,三十年河西,莫欺少年穷!” 蛤蟆剑修:“一株草亦可斩尽日月星辰!” 金翅大鹏:“即使背负天渊,需一手托白蟒峰,我金翅大鹏依然无敌于世间!” “全体妖族起立,拜见先生!”这一次,所有的答案,都保持了沉默一颗巨大的陨石改变了这个世界,改变全部原有生态环境,可怕高强度辐射之下,人类只能够依靠自己 建立起安全区生存,安全区之外便是可怕辐射。 曾经温和生物在恐怖辐射之下,产生了巨大变异,以杀戮为乐,以毁灭为荣。 可怕陨石不止带来了可怕辐射和生态改变,巨大陨石之内,还隐藏了另一只可怕生物,它们进化出属于自己社会等级团体,拥有可怕数量军队。 人类在灾难之后,面临无数挑战,是否还能够重建属于自己曾经 家园,强大科技是否能够再一次拯救人类。 在这个灾难大地上,人类、异化兽和辐射生物相互之间撕杀。 主角是众多穿越者中一员,这一次他将会携带着红警3内将士们,在一次在这一片灾难之地,重启属于他们自己家园,他们不会在认输,也不会在失败!!! 新坑续写红警系列,请各位看官老爷们,多多支持呀!身患绝症的叶文偶得太极拳的真传,并且觉醒了弘扬武学系统! 只要他用武学影响更多人,就能获得积分,兑换顿悟机会,获得各种高阶武学! 甚至,治好自己的病。 从此,叶文开启了他的练武直播! 拳震所有武林宗门,脚踏世间不服之人! 只有你想不到的招式,没有我治不了的高人! 所有人都要恭恭敬敬地,在键盘上叫一声“武神”。 叶文:“货真价实的太极拳要不要学?飞檐走壁的梯云纵要不要了解一下?不要?早晚你要跪地求着我要!”末世降临,一场暴雨过后,地球上丧尸横行! 重生回来的宋严,意外获得了签到系统,从此一路高歌猛进! 当人们因为丧尸而畏首畏尾的时候,宋严一马当先地冲入丧尸群中! 当人们为了一把热武器抢破头的时候,宋严缴获了军火库! 当人们想要拥有避难所的时候,宋严攻下小镇发展起了根据地! 当人们愣神的时候,宋严已然成了传奇!在封建王朝翻云覆雨的伟大人物,竟是一个名不见经传的小卒。 未来资源短缺,战争频发,外星文明入侵,地心生物发难,人类一败涂地,只能龟缩在边陲小城。我们历尽千难万险研究出平行时空更迭装置来到现在的新宇宙,却发现那个宇宙的怪物正在入侵现在这个宇宙! 少年,不要逃避,能救这个宇宙的只有你了!你将回到那个豪杰辈出,群雄并起的地方,血与火在等待着你,钢刀会武装你的身体,巫术会锤炼你的心智,你必定能重铸人类荣光! “真的吗?燃起来了!但是……我拒绝。”
西安企业网站建设 广州 网站建设公司 推广微信营销手机厂家 北京信息安全大会 中国网络安全等级保护 网站沙盒期 网络营销必看 书籍 资阳网站建设 邮件营销edm 网络营销能力秀扣扣群 不爱读书的前世记忆咨询【www.richdady.cn】 孩子厌学的解决方法【www.richdady.cn】 与男友前世的影响分析咨询【www.richdady.cn】 不爱读书的改运方法【www.richdady.cn】 头脑混沌的案例分享【www.richdady.cn】 精神不振的自我提升咨询【www.richdady.cn】√转ihbwel 去世的父亲的前世因果【σσЗ8З55О88О√转ihbwel 儿子抑郁症的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺【www.richdady.cn】√转ihbwel 不爱读书的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职场突破【www.richdady.cn】√转ihbwel 前世缘份的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的法律咨询咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的应对策略咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的心理调适【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的解决方法咨询【微:qq383550880 】√转ihbwel 如何识别冤亲债主干扰咨询【微:qq383550880 】√转ihbwel 去世的母亲的前世故事咨询【企鹅383550880】√转ihbwel 深圳营销型网站 (1)计算机信息安全,-1 企业营销网站建设公司 建设企业网站的意义 国防科技大学网络与信息安全研究所 信息安全专业相关工作的通知 展示用网站 武汉网站建设企业 常用的信息安全技术""是哪几种?" 租车网站建设 ids 网络安全防护手段 购物网站建设公司 免费域名网站搭建 杭州网站制 网站制作厦门公司 个人网络安全年度报告 个人网络安全年度报告 网站建设案列 网络信息安全攻防 公安网络安全保卫局 2016网络安全法进展 网站建设学校 企业网站适合响应式嘛 中国网络信息安全大会 营销专业网站 一个网站首页绑定了一个三级域名 一个顶级域名 有坏处吗 什么是网络营销沟通 重庆网站制作公司电话 企业营销网站建设公司 网站沙盒期 企业网站维护 网站模板化 2017年信息安全大事件 网络营销必看 书籍 云南网站推广 武汉网站开发公司 网络营销必看 书籍 信息安全杂志 网络安全宣传 中网办 网络安全错误 一键建网站 公安网络安全保卫局 东莞seo网站优化 镇江网站公司 营销型平台包括哪些内容 企业营销网站建设公司 什么是网络营销沟通 一个网站首页绑定了一个三级域名 一个顶级域名 有坏处吗 学网络营销视频教程 建设企业网站的意义 公安部第三研究所信息安全技术处 空间营销 白帽子网络安全视频 国防科技大学网络与信息安全研究所 服务器网络安全设备方案 信息安全服务 全球 设计网站首页多少钱 信息安全专业相关工作的通知 郑州网站托管 有经验的佛山网站建设 广州 网站建设公司 展示用网站 建设企业网站的意义 网络分享性网站 邮件营销edm 武汉网站建设企业 2017网络安全论坛 个性化营销的作用 法国网络与信息安全局 常用的信息安全技术""是哪几种?" 镇江网站公司 政府网站 欣赏 网络安全500强中国公司排名 租车网站建设 微信小程序做网站 中国网络安全50强 高端网站定制费用是多少 网络营销能力秀互粉 网站面包屑导航设计即位置导航 韶关网站建设 网络信息安全技术网站 重庆网络整合营销培训 泰州全网整合营销大数据信息安全法律法规 全网营销套餐 品牌营销策 2017网络安全论坛 免费域名网站搭建 2017年信息安全大事件 营销网站优点 什么是工业控制网络安全 广州网站建设优化方案 杭州网站制 2017优秀网站设计案例 当今网络安全有四个主要特点昆明网站排名优化费用 重庆网络整合营销培训 成都 网络安全 工作网站代维护 电脑信息安全检测工具,-1 网站制作工具 个人网络安全年度报告 北京知名信息安全公司排名 厦门网络推广建网站 4i营销理论的缺点 中国网络安全50强 个人网络安全年度报告 创一家网站 网络安全厂家介绍 网站制作厦门公司 深圳高端网站制作 网站建设案列 网络安全 运营商交流 网站名词 东莞seo网站优化 常用的信息安全技术""是哪几种?" 福州自适应网站建设 北京信息安全大会 学网络营销视频教程 公安网络安全保卫局 信息安全等同于网络安全 重庆王网站制作 信息安全等级防护 2016网络安全法进展 网站网页 网络营销能力秀互粉 武汉设计网站公司 中企动力技术支持网站 资阳网站建设 福州自适应网站建设 企业网站适合响应式嘛 网上营销有哪些渠道 深圳网站设计 网络营销中4C的特点 网络营销方面做的比较好的企业(产品)的一个经典案例ppt 中国网络信息安全大会 举几个新闻营销的事例 信息安全 化