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

<a class="close" href="https://agwiy.duqo.cn/">&times;</a>
莆田做网站网站设计 广西南通网站建设 南大街网络营销一般学多久网络安全证书信息安全保护技术措施深圳网站制作公司网络安全 维基上海学网络营销的地方病毒营销模式有哪些南宁做网络营销一位名为梅尔的青年,决心要学习神魔器,报效国土,于是便报入了神魔学院,面对新环境,他该如何选择?逃避?迎接?放弃?坚持?   “嗨!少年,记得要感谢我哦~”   “决定好了吗?这可是你以后最终的选择。”   “乃至吾世间罪恶不赦,跨之越偏德厚不至颜,哈哈哈!你果然做到了!”   (原名其实是神魔学院的,但是由于本站还有其他作品书名重复,所以只能设定这个名字)【迪化】+【无敌】+【搞笑】,叶凡穿越到修仙界,经过千辛万苦方才踏入修仙一道,本以为自己只是个刚刚踏入修行的炼气境小修士,殊不知他早已无敌,外面的修士见了他全都尊称一声前辈.......叶凡表示有些懵逼,原来练气境也可以无敌于世间.........最新新闻:一位普通父亲的坚持,竟攻克了医学界百年难题。 ...... 上一世,女儿小彤身患溶血性尿毒症晚期,无药可治。江辰为女儿换肾,却并未挽回女儿的生命。 重活一世,江辰获得医学推演系统。 这一次,他无论如何也不会重蹈覆辙。 他拒绝了妻子离婚前的换肾提议,决定以自己的方式挽救女儿的生命。 所有人都在骂他自私,怕死,连女儿都不救,不配当父亲。 可江辰却用实际行动打了他们的脸。 他苦心钻研医学知识,认真推演各种救治方法。 一年后,女儿康复。 事情曝光,夏国医学界震动。 数年后。 一道道医学难题在江辰手中攻克,世界轰动!一个奇葩掌门,带领一个微末门派无尘山宗,在瞻洲修仙大陆苦苦挣扎的故事,颓废的陆回穿越到20年前的初中,重拾激情。在他奋斗的过程中,历史也悄然改变。陆回不仅成就了一番事业,也获得了众多芳心。面对死灵族,封印着怪兽八梼的佣兵,最后能否成为拯救世界的力量?神秘的空间系元素亲和力,诡异的星辰剑,亚夏人的先祖吴道轩视乎留下了什么秘密……父母之仇,断指之痛! 少年凌宇,手指在被斩断之后,逆天重生,而这一根手指,竟拥有着改天换地之能。【轻松+搞笑+社交牛逼症+嚣张+成长+架空历史】 作为名校毕业的李羡穿越到了大玉皇朝; 穿越过来的身份让他很头疼: 家穷没系统,自己还只是个十岁孩童; 李羡凭借前世满腹才学,考进文政院,成了熊孩子。 教书先生:“这熊孩子好气人啊,好想打他!” 院长:“算了吧,人家可是正经孩子,要不你忍着点?” 从童生到参加科举,再到做官,谁都没想到,李羡这官越做越大…… “羡公!陛下有请!” “跟陛下说一声,我在钓鱼,让他来找我吧!” 天子:“谁这么大胆子,还想让朕过去?” 老太监:“启禀陛下,是羡公。” 天子:“来人啊!速速备车!” 老太监:“陛下……鞋~”2235年,两个种族的斗争爆发后,竟牵扯出恐怖的幕后黑手。玛雅、亚特、地心、上古部落……各个阵营浮出水面,他们有着共同的目的——“迎接”他的重生……穿越平行世界,开局就被女星污蔑,沦为史上最强渣男。 结果开启搞事系统。 从系统开启的那一刻,就注定严谨是娱乐圈的一股泥石流。 面对媒体: “我说那不关我的事情你信吗?!” “真的,她说要蹭我的流量,所以……主动找我,我真是无辜的啊!” “你们不相信?我审美是在线的,就她那样的……我也瞧不上啊!” 凭借着自己的才华,他让网友又爱又恨。 甚至还被亲切的称之为——娱乐圈质检员!
网站主题下载 权威的网站建设 网站尺寸 信息安全方针是一个组织实现信息安全的目标和方向它应该 迭代思维 营销 如何建立企业网站 镇江网站制作 网络安全证书 免费网站建设 百度一下 南宁做网络营销 投资项目的财务规划咨询【www.richdady.cn】 事业不顺的职场突破【www.richdady.cn】 内心恐惧胆怯的前世影响咨询【www.richdady.cn】 通灵老师预约【www.richdady.cn】 与老公前世的前世案例【www.richdady.cn】 事业不顺的职场提升咨询【σσЗ8З55О88О√转ihbwel 解梦的前世因果咨询【σσЗ8З55О88О√转ihbwel 暗恋的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职场突破方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的前世修行【微:qq383550880 】√转ihbwel 改善脑部不清晰的方法【微:qq383550880 】√转ihbwel 儿子抑郁症的自我提升【σσЗ8З55О88О√转ihbwel 迟缓儿的心理调适【www.richdady.cn】√转ihbwel 维护良好家庭关系的秘诀咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职业规划如何制定?咨询【www.richdady.cn】√转ihbwel 人际关系不好的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何知道自己有前世缘份?咨询【微:qq383550880 】√转ihbwel 长期耳鸣可能是哪些疾病的信号【企鹅383550880】√转ihbwel c 网络安全编程 密码学与网络安全实验室银行网络安全风险评估 南宁做网络营销 游戏的营销 平安信息安全 手机打开一个网站说你的浏览器不支持javascrip 上海学网络营销的地方病毒营销模式有哪些 重庆企业口碑营销 广州网络安全公司排名 专业开发网站公司 主机 信息安全风险评估报告 网络营销一般学多久 网站建设及优化 赣icp 中国信息安全测评中心主任 镇江网站建设机构 提供商城网站制作 如何建立企业网站 网站单子 莆田做网站 信息安全指标 商业信息安全 互联网公司 营销 西安网站挂标 网站建设合同 昆明做网站哪家好 上海的外贸网站建设公司 网络安全证书 国网营销 易企网站建设 网络营销的市场定位 平台营销推广方案 商业信息安全 网络信息安全备案表 创建免费网站 网络安全需要破除 信息安全性测试 深圳网站制作公司 网站设计技术 信息安全指标 企业网站需要多少钱 成都网络营销公司 重庆九龙坡营销型网站建设公司推荐 王老吉营销成功的理由 网站单子 架设网站 中新网络信息安全股份有限公司怎么样 什么叫网络的软营销 成都网络营销公司 中央网络安全小组t图片 信息安全服务(安全 学校网络信息安全管理组织机构 学校网络信息安全管理组织机构 成都网站设计哪家好 监控平台网络安全部署 网站制作教程 网络安全 维基 平安信息安全 广州网络安全公司排名 福州网站制作好的企业 网络安全攻防内容 手机打开一个网站说你的浏览器不支持javascrip 上海的外贸网站建设公司 重庆企业口碑营销 单位信息安全等级保护工作是否做了部署 谈谈数据库营销的特点 王老吉营销成功的理由 网络营销的国内外研究现状 织梦cms 网站所有的链接target属性 怎么统一修改 对网络安全你怎么看 南通网站建设 南大街 主机 信息安全风险评估报告 国网营销 网络安全调查报告 佛山新网站建设平台 河北网络安全事件 权威的网站建设 重庆九龙坡营销型网站建设公司推荐 精站邮件营销专家 中国信息安全测评中心主任 关于网络安全公告 国家网络安全管理部门 网站定制 天津 营销qq好友群发消息 分享经济营销 织梦cms 网站所有的链接target属性 怎么统一修改 防火墙在网络安全的作用 信息安全性测试 事件营销和公关区别 icp信息安全评测报告 莆田做网站 信息安全指标 白城网站建设 济南模板网站制作 全国信息安全邀请赛 什么是网络营销组合 广东省信息安全等级保护协调小组办公室 c 网络安全编程 网络安全协议分析实验 镇江网站制作 镇江网站制作 防火墙在网络安全的作用 网站建设及优化 赣icp 全国信息安全邀请赛 架设网站 营销短链 深圳网站设计 建设元 网站的建设枣庄网站制作 2017网络安全周 网络安全需要破除 网络营销的国内外研究现状 婚纱制作网站 互联网营销可以做什么的 网站制作教程 浙江网络营销好的公司 全网整合营销公司 使用微博营销工具应该注意哪些问题 网络公司制作网站 中国信息安全评测中心 织梦cms 网站所有的链接target属性 怎么统一修改 手机打开一个网站说你的浏览器不支持javascrip 重庆企业口碑营销 保定投递网站建设 易企网站建设 icp信息安全评测报告 信息安全 产业 权威的网站建设 网站转换率 风雨同舟网站建设 上海的外贸网站建设公司 网站制作教程 网站尺寸 济南模板网站制作 中国信息安全评测中心 信息安全应用技术,-1 如何设计网站域名