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

<a class="close" href="https://xxv.1465.com.cn/">&times;</a>
网站生成软件网络营销的理论体系网络安全法之等级保护深圳网络营销师招聘小型网络安全维护方案饥饿营销的流程seo网站诊断在线营销型网站制作网站版式设计网络营销连接的爱天地棋盘,众生作子,只为逃离这一世的囚笼。穿越平行世界,开局就被女星污蔑,沦为史上最强渣男。 结果开启搞事系统。 从系统开启的那一刻,就注定严谨是娱乐圈的一股泥石流。 面对媒体: “我说那不关我的事情你信吗?!” “真的,她说要蹭我的流量,所以……主动找我,我真是无辜的啊!” “你们不相信?我审美是在线的,就她那样的……我也瞧不上啊!” 凭借着自己的才华,他让网友又爱又恨。 甚至还被亲切的称之为——娱乐圈质检员!灵魂,存在于宗教思想中,它指人类超自然及非物质的组成部分。但若是Host(宿主)临终前仍心存怨念,其Soul将不死不灭于世间,直到找到新的Host,成为Regulator(监管者)。往往Soul成为Soul的事情是很罕见的,所以Regulator更是屈指可数。雪夜,Dark Knight的Soul意外寄宿到了天野雨果的身上。Dark Knight本是Comers的心腹大患,11世纪战死后,他的Soul逃离了Comers的围杀,苟延残喘至今。Comers被迫赋予Soul,创造出更多的Regulator前往世间猎杀Dark Knight以及他的Host。当Dark降临于宿命的Knight身上,灵魂的潮汐将席卷世间。  “左眼为阴,右眼为阳,日夜更替,阴阳轮换,俱在我身”   浩瀚的宇宙边陲之地,只有无光无明的漆黑。   有一个男子正盘腿悬坐在星空中,而伴随刚才的话语,他的眼睛突然从眼眶里跳了出来,只留下两个空洞的眼眶,   此时这两只眼睛都还覆盖着眼皮,闭着眼睛。   忽然,一只眼睛睁开。   漆黑的星空便有了光明,十分耀眼,光芒照在男子和他前面的一具尸体上。   这时,才发觉这男子和这具尸体竟散发这仙人之气。   男子是这方世界两大仙帝之一的——陆仙帝,而他面前的尸体则是另外一个仙帝——陈仙帝。   两位仙帝大战于此,落得两败俱伤。   陆仙帝左手之上托着一个灵魂,恰是一个女子的模样,不过已经没有了多少灵性,陆仙帝叹了了口气,道:   “便只能转世重生了”   而陆仙帝刚才将自己的灵魂打入这三千世界,转世重生,夺取生机。   灵魂纷纷降落重生,化作小世界中的土著,其中便有一份灵魂便将落在这一方世界——蜉蝣界。   故事就此开始,石庆猛,原名石猛。1993年6月21日出生在罗溪村7组,2014年10月1日正式发布小说,以笔名石庆猛活动在文学界,可以说文网中一朵未绽放的花朵,其作品包括诗歌、传记、短篇小说、长篇小说。被废、被贬、惨死? 李承乾表示,这个三连击套餐,小爷不吃。 二十一世纪的理工男穿越到大唐,成为太宗长子李承乾。 开局只有八岁,不能当太子,更做不了皇帝。 怒刷李世民的情绪值,放烟花帮李崇义追小姐姐,组团阳澄湖抓大闸蟹! 最最舒坦的是,还有七个漂亮姐姐宠着,要月亮不摘星星那种! 那还怕啥,果断上天啊!异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。在这妖魔环视的魔法世界之中,莫羽又该怎么去完成自身的成长,一步步走向那一条特殊的道路呢?踌躇满志考大学,不想2022高考竟是如此之难!考完英语那天下午,林易仰天长啸,痛哭流涕!无颜回去面爹娘,只能凭着手机缓解心绪,谁想一场奇异正向他驰来……一代绝世天才意外死亡,魂穿地球,凭独门功法,纵横都市……
整合营销推广公司 网站需求 北京网络安全培训机构 网站改版方案 怎么做微网站 网站规划的案例 手机网站前 多语言外贸网站设计 网络安全—技术与实践 互联网信息安全要求信息的 前世缘份的咨询技巧咨询【www.richdady.cn】 化解婴灵的最佳时间【www.richdady.cn】 忧郁症的环境影响咨询【www.richdady.cn】 如何知道自己是否有前世缘份?咨询【www.richdady.cn】 莫名其妙感伤的前世影响【www.richdady.cn】 失业的咨询技巧【www.richdady.cn】√转ihbwel 孩子学习不好的心理调适咨询【企鹅383550880】√转ihbwel 与女友前世的影响分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的前世缘分威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的症状与诊断威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel “缺心眼”对人际交往的影响咨询【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的前世影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的职场发展咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰有哪些常见症状?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰对生活有何影响?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣咨询【微:qq383550880 】√转ihbwel 前世缘份的前世案例咨询【微:qq383550880 】√转ihbwel 学习成绩差的案例分享咨询【微:qq383550880 】√转ihbwel 与女友前世的前世案例咨询【企鹅383550880】√转ihbwel 作网站 问答营销的平台有哪些 网络安全服务包括哪些 2015年国家信息安全专项 手机网站前 网站设计psd 福州搜索引擎营销 邮件营销的优点有 安卓网络安全协议 网站制作好在百度里可以搜到吗 对可口可乐营销的思考 枣庄网站设计 小米的传统营销案例 名词解释搜索引擎营销 营销软件开发深圳国唯计算机信息安全技术 付 ctf网络安全比赛证书 青岛做网站的公司排名 成都 做网站 模版 温州购物网络商城网站设计制作 公安局信息安全部,-1 icp网络安全防护 网站建立公司四川 营销网站与传统网站的区别 网站改版方案 2. 网络时代中的企业特别是中小企业应该如何有效地实施网络营销? 网站要多钱 了解凡客企业网络营销现状分析目前企业网络营销存在的问题 网络安全法 等保 网络安全法 等保 2016杜蕾斯事件营销 网站建设seo优化公司 网络广告的整合营销 园区网站建设 网络安全基础 华为网盘 网络营销连接的爱 北京营销策划公司 云平台网络安全 兰州 网站 seo网站诊断 忻州做网站 福州搜索引擎营销 网站设计价格大概是 网络安全—技术与实践 网站改版方案 2016网络安全大会 谷安天下 信息安全意识 信息安全等级认定 学信息安全 做运维 昌平企业网站建设 2015年国家信息安全专项 安卓网络安全协议 无锡网站设计 开展网络安全认证检测风险评估等活动 手机网站前 建设手机网站包括哪些费用吗 西宁网站 专业营销外包公司哪家好 网站设计psd 网络 营销 营销推广公司 西安 宁夏 网络安全和信息化领导小组 福州搜索引擎营销 网络信息安全问题登记 2016杜蕾斯事件营销 网络安全宣传周资料'' 邮件营销的优点有 微信营销那家公司好 网络安全监控 书 忻州做网站 安卓网络安全协议 绵阳建网站 网络安全管理员 二级 怎么做微网站 网站制作好在百度里可以搜到吗 天津做网站 网站版式设计 整合营销推广公司 对可口可乐营销的思考 邮件营销的优点有 平安信息安全 杭州网站优化 枣庄网站设计 青岛做网站的公司排名 2016信息安全大赛 一等奖 网站建设品 小米的传统营销案例 营销推广公司 西安 顺德精品网站建设 聊城市网站制作 名词解释搜索引擎营销 了解凡客企业网络营销现状分析目前企业网络营销存在的问题 虹口做网站价格 淘宝营销技巧 营销软件开发深圳国唯计算机信息安全技术 付 石家庄做网站公司的电话 北京网站设计价格信息安全 软件 红酒网站模板 网络营销八大学 作网站 网络安全大赛 网络营销课程网站 山东网站优化公司 淘宝营销技巧 盈利型网站 dns网络安全框架 平安信息安全 互联网信息安全要求信息的 上海 网络安全宣传周 小型网络安全维护方案 西安 网络安全公司 网络营销八大学 网络营销岗位 遵义网站建设 顺德精品网站建设 筑巢网站 网站双域名 网站建设seo优化公司 建设手机网站包括哪些费用吗 专业网站制作公司 筑巢网站 信息安全如何实现,-1 苏州营销 网络营销工具和方法有哪些 信息安全如何实现,-1 中国信息安全监测中心 网络安全—技术与实践 园区网站建设 北京朝阳网站设计 富阳网站公司专科网络营销课程 婚纱摄影网站建设 专业营销外包公司哪家好 网站建立公司四川 了解凡客企业网络营销现状分析目前企业网络营销存在的问题 库易网网站 2. 网络时代中的企业特别是中小企业应该如何有效地实施网络营销?