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

<a class="close" href="https://mpv.jushishang.cn/">&times;</a>
网站建设改版杭州 平台 公司 网站建设杭电信息安全网络安全错误信息安全等级保护实验室法国网络与信息安全局网站建设哪家公司好网站数据库信息安全管理系统 范围网络安全监管局搜索引擎优化和搜索引擎营销 宁星文明史上第一次星际战争就此爆发,胜利的天平究竟是倒向龙国还是天神帝国。 战后,一段绝佳的爱恋能否让龙瑞走出暗面,龙瑞也将如何引领龙国走向更远他是世界杀手榜单《死神榜》排名第一的杀神,也是世界上最顶级的间谍,但却因为一次任务惨遭组织出卖。可是上天给他开了个大玩笑让他重生回了六年前。这一世,他要让那个组织付出代价,也要让今生没有遗憾!陈树和大学死党顾清两个人玩游戏喝酒。 输了一轮游戏,死党竟然整活把女总裁拉进了陈树的家庭群。 第二天醒酒之后,陈树才发现女总裁在群里聊嗨了! 本来以为自己被即将被炒鱿鱼了,却发现女总裁的要求一个比一个离谱。 陈树,到我办公室来。 陈树,跟我回家见父母。 陈树,我们同居吧。 面对女总裁的要求,陈树无法拒绝。 直到有一天,女总裁含情脉脉地向陈树求婚。 陈树:不是假扮情侣吗?你怎么玩真的?他闭上了现世的眼睛,在来世睁开,是否能看透黑暗的迷雾,不在异域迷失自己? 他穿越到火山魔法学院,一个穷困潦倒,没有攻击技能的废物身上,无意间的一个举动,得到了一只智商很高,能跟人沟通的猎犬。 在它的帮助下,得到法宝恶魔心索,成为了各大势力竞相收买的红人。 俗话说的好,花无白日红,人无千日好,正当他即将步入人生巅峰的时候,意外出现了…… 十字路口,他将何去何从?原本吴向东作为医院高新人才引进计划的成员而备受瞩目,却因为一场突如其来的医疗事故坠入深渊,不但被医院打上“推诿病号”的烙印,更是在同窗的推波助澜下被医院发配到乡下干起了赤脚医生,耽误了前程。 虽然多年后他凭借精湛的技术在医疗行业中闯出属于自己的一片天地,却始终因为那件事被人诟病,无法将自己的健康理念推向全国,而后在某次醉酒中他发现自己重新回到1999年的那场医疗事故的当晚。 于是那个男人回来了,他凭借前世经验,在那个单纯以治疗疾病为目标的年代,始终坚持以病人本身为治疗原则,在他的带领下,医疗行业发生翻天覆地的变化,而他和自己的团队也在一次次医疗事件中,逐步登上世界医学的舞台并伫立在世界之巅。构述20世纪初新旧思想交织的社会和二战背景下,出身豪门的主人公从学习与成长,到自我打搏,续创豪门的岁月,以主人奔波辗转为故事线轴,与周遭发生的交织与碰撞,有血有肉,斗恶扬善,是一名普通人的超人,以港澳为据点,源于现实社会又高于现实。姜止戈穿越书中成为恶名滔天的反派魔帝,开局就被男主带着女主围攻陷入必死局面。 濒死之际,他觉醒了人生记忆编辑系统,向世人展现他的过往。 于是乎,一段段催人泪下的记忆显现在世人面前。 “柔儿,记住,宁为乞丐,不为人奴,只要我还在一天,便绝不会让你去为奴为婢。” “紫烟,为了你,成魔又有何妨,举世皆敌又有何妨?” ....... 待到一切浮出水面,世人才明白。 恶贯满盈的魔帝,所做一切只为所爱之人,只为庇佑世间安宁。传说如果有人能提出一个足以受到宇宙意志青睐的想法时便会获得名为“刻印”的神赐。自16世纪麦哲伦证明了地球是球形之后,人类正式跻身为可“自我观测”文明之列,文明的发展瓶颈期也开始进入倒计时,有不可名状的存在对这个世界施加了规则:一些过了追溯时效无法证伪的世界未解之谜会结合众生念力诞生出一些对文明发展造成阻滞或破坏的神秘意志或是规则,后世把他们称之为灾厄。或是受制于“平衡”规则的束缚,为中和灾厄带来的影响,人类中第一次出现了获得刻印的个体。大庆典签司,手中御赐镀金长棍,上可打皇亲国戚,下可惩贪官污吏,不在三省六部内,只在皇权棋局中。 刘子希穿越成为了殿前司指挥使的长子,本以为能成一个遛鸟听曲的纨绔,没想到的是,醒来就面临着成为奸杀案凶手的危机。如何自证清白? 世人皆是棋子,可这一次,我想做执棋之人! 少年偶遇流浪上神,倾囊相助,获上神青睐,步入修仙之列。拜良师,交益友,结红颜,多方相助威名显。战强敌,斩悍匪,于战乱之中晋升,于战斗之中成长。率领百万雄师征战四方,建国立业,一统修仙界,位列修仙界之主。刻苦修炼,博采众长,终跻身上神之列。护修仙界和平,战神界绝世高手,平九界之乱,成就不世之功。历劫难,成功名,九劫真神威震九界。
景德镇网站建设 交通标识用品适合网络营销吗? 全国信息安全大赛培训 网络营销能力秀是传销 信息安全等级化保护规范 浦东新区网站建设 外贸营销推广 有经验的佛山网站建设 网络安全工程师论坛 英语网站建设 升迁障碍的原因有哪些?咨询【www.richdady.cn】 孩子学习不好的辅导方法咨询【www.richdady.cn】 强迫症的环境影响咨询【www.richdady.cn】 耳鸣的前世记忆咨询【www.richdady.cn】 老公家暴的心理调适咨询【www.richdady.cn】 存不住钱的案例分享【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何预防过早离世咨询【微:qq383550880 】√转ihbwel 通灵老师预约【σσЗ8З55О88О√转ihbwel 阴间生活的描述与传说【www.richdady.cn】√转ihbwel 前世今生咨询【企鹅383550880】√转ihbwel 无形干扰的前世因果【σσЗ8З55О88О√转ihbwel 投资项目的收益分析咨询【微:qq383550880 】√转ihbwel 头脑混沌的咨询技巧咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的心理调适【σσЗ8З55О88О√转ihbwel 灵魂化解的步骤咨询【σσЗ8З55О88О√转ihbwel 投资项目的前世因果【微:qq383550880 】√转ihbwel 前世缘份的案例分享【微:qq383550880 】√转ihbwel 前世今生的梦境解析咨询【微:qq383550880 】√转ihbwel 学习成绩差的自我提升【www.richdady.cn】√转ihbwel 网络营销工程师书籍 常用的信息安全技术 学做网站网 常用的信息安全技术 搜索引擎优化和搜索引擎营销 信息安全博士干嘛 上海营销推广 信息安全 CC 认证 温州手机网站建设 网路营销 中国大学生网络安全 阜阳网站建设 最新网络安全大会 网络安全误区 云建网站 景德镇网站建设 全国网络安全日 邮箱营销系统哪个好用 信息安全技术标准免费域名网站搭建 网络营销服务协议 email营销的优劣势 阜阳网站建设 ps制作网站过程 何为营销 如何自己建网站 信息安全读研方向,-1 网络营销推广外包 卫龙网络营销 英文营销网站建设 网站的布局 装修营销课程培训班 上海平台网站建设公司 网络营销产品定价 gbt 20984-2007 信息安全技术 信息安全风险评估规范 北京信息安全大会 淄博网站排名seo 网络安全 ppt 2017 假期网络安全分析 信息安全读研方向,-1 网络营销销售渠道 网络安全 飞天诚信 网络安全 飞天诚信 email营销的优劣势 信息安全等级防护 聚美优品事件营销 中国大学生网络安全 网络安全应急响应中心 网络安全宣传 中网办 微信营销软件招代理 网络营销中 ps制作网站过程 网站设计说明书 信息安全 CC 认证 维护国家网络安全英语版 搜索引擎优化和搜索引擎营销 信息安全服务资质认证公司名单 网络安全身份认证有哪些类型 网络安全 最新 方向 北京信息安全大会 专业网络安全公司 网络信息安全的基本功能,-1 网络营销的缺点 优质网站 网络安全监管局 网络安全 ppt 2017 如何自己建网站 装修营销课程培训班 电子邮件营销十大禁忌 软件定义网络安全 从化建网站 陕西省网络信息安全保护网 网络安全形势严峻 聚美优品事件营销 营销与销售有什么区别 甘肃营销型网站制作 小米网路营销目的 微信营销软件招代理 网络安全工程师论坛 可口可乐网络营销视频 信息安全等级化保护规范 网络安全 最新 方向 成都网站建设市场分析 天津网站建设怎么样 网络营销方案步骤 网络安全认证证书下载 内部营销理论 网络安全身份认证有哪些类型 网络安全 飞天诚信 上海营销推广 哇哈哈整合营销方案 小米网路营销目的 学做网站网 什么是工业控制网络安全 保定做公司网站的 网络营销的三个目标 卫龙网络营销 网站注册免费 网站建设报价 网络自由网络安全 公安网络安全保卫局 国家网络安全中心 网络营销的三个目标 有经验的佛山网站建设 网络安全 最新 方向 email营销的优劣势 电商营销培训课程大纲 东莞企业营销型网站策划 外贸营销推广 网络安全等级测评行业 国家网络安全中心 英文 网络安全监管局 市场营销网络调查法 怎么个人网站设计 什么是工业控制网络安全 网络营销方案步骤 网络营销销售渠道 东莞建网站 营销人物 网络安全条例的是 上海平台网站建设公司 信息安全防护技术有限公司 网络安全 ppt 2017 中国大学生网络安全 信息安全等级防护 重庆营销型网站设计 国家网络安全中心 网络安全领域的工作 2015年网络安全预测 微信营销软件招代理 网络营销中 ps制作网站过程 个人网站注册 信息安全 CC 认证 中国电子网络信息安全 jquery html5响应式手机网站左侧弹出导航菜单代码