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

<a class="close" href="https://ywan.vetpc.cn/">&times;</a>
信息安全技术 等级考试敦煌网营销网站建设服务商成都 网站建设营销师网站陕西省网络安全峰会网站制作软件北京市 网络安全 翻墙信息安全 最新消息易建筑友科技有限公司网站在美丽的梦幻大陆上,分为三界,幻界,灵界和洛界,以九天之河三分大陆,三界争斗,长年不休,却又互相制衡。九天之河每百年现九天秘境,现九天之塔,九天之塔分九天,凡,普,灵,玄,皇,尊,圣,帝以及汣之天,传说闯汣天者得天下,九天之塔每一天都有不同的机遇,每一层都困难重重,每次闯关者都会获得相应的称号及奖励,然而千万年以来,还无人闯入九天之巅。幻界少主与洛界公主因九天之河倒流互相结识,因此展开两届世代之恩怨,两人之情牵动两届之争斗,然而灵界虎视眈眈,在暗中推波助澜,以收渔翁之利,离九天之塔开放还有8年时间,九天之争马上开始,看能否解决三界之乱,争夺九天之主。殊不知九天之巅,只有一把钥匙,一扇天门,上书《梦界》……预知后事如何,且看正文 我天生阴阳眼 ,生来就不同寻常 七岁那年,一次的冒失打死了山上的黄皮子,自从那次之后 我便走上了不非常人的道路.........一个佩镜引人入梦沉沦,为救好友筱筱施法同进梦中却发现梦境非梦,筱筱因此徘徊在生死之路,因缘际会终是修仙成功。 “我已经没办法去留住自己了…”一个女人回头,她眼神看起来十分的哀婉悲凉。泪眼婆娑,欲说不欲言,“阿骁…” 一个女人的声音 ‘轩辕舸洛,赤金战神,是轩辕族坠神之前最高之神。’这个女人是谁?是谁?’以凡人之躯承受神祇之力,她会受不住。’受不住? 他忽觉一顿,如鲠在喉,堰塞难语。他努力再努力,最是说出来了那二字,“妻子。” 带着疲惫的身心和仿佛燃尽的灵魂,苍浩回到了家乡,成了地产公司的普通员工,却惊讶的发现上司是自己的青梅竹马……都市商场,杀机陡现,神秘敌人暗中潜伏,且看苍浩如何突出重围。这不是最美好的世界,但这是一部热血逆袭,用双手创造一个理想年代。农业文明以前恪守的仁者无敌,在进入元宇宙科技风暴时代以后,必然成为组织和个人发展的巨大羁绊。 主角“暃”,从半神级文明,被迫降维到工业革命初期的希伯斯星球,经历科技风暴和文明裂变,一路被暗中保护又被各路猎杀,又随着新的祖国一路升维,只有活下去的人才能回到神级文明… 希伯斯文明被各路势力竞合博弈,来自半神族、变形人族、古文明帝国、传统劲敌、世俗反对者、甚至内部叛变者层出不穷的挑战,在科技边界和文明结界中,无一不想成为唯一幸存的蛊… 元宇宙对星际文明、行星文明、国家文明,对地缘、民族、社会、经济、以及个人…分别意味着哪些新挑战… 主角暃,与他的战斗伙伴一起,用亲身经历为开启一个新的高等生命间的联合给出无声的答案。 也许,答案是每个人…在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。穿越成首富之子,生活乐无边。 某一天,二娘竟然为了钱,逼我娶女魔头。 为了自由,揭竿而起,我从今天起直播带货。 一不小心就暴富了是怎么回事? 在古代直播带货,后宅夫人们,不要太爱我!小人物阿云,痛并快乐的人生历程,学校生活的是是非非……一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心一个现代习武者重生到了平行的全职法师世界。 这里魔法为尊,法师从最基础的星子开始修炼魔法,一步步觉醒新的魔法系,迈向强者之路,和威胁人类的妖魔抗争。 蓝星的一切几乎都能在那里体现,唯独不同的是,这里的一切都用魔法解释,那些令人仰慕的伟人,也都是各系巅峰的法师。 “既然魔法只要远程轰炸就行,那历史书插图上的古人为何还要穿带盔甲武器?”前武者陈平百般不解,直到遇到了一次难得的机会。 “古代的魔法到底是什么,魔法源头又是怎么传承发展的?” “耍帅装13的事有莫大魔王就好,我还是低调而有内涵地钻研魔法吧,在这个奇趣的世界,只知道打打杀杀而不探索其中奥妙,未免太可惜了!” 外表看似平平无奇、内心向往光怪陆离的陈平,有挂而不外露,打算在“低调”的探索中,搞出一番大事业。
宜兴网站建设 营销型网站策划 国家网络与信息安全管理中心官网 郑州营销小公司 中小型网站设计公司 如何创办网站 2017年网络安全案例 上海整合网络营销公司 山东省信息网络安全协会是骗人的吗 百度知道营销专家 灵魂种子治疗咨询【www.richdady.cn】 失业的心理调适咨询【www.richdady.cn】 婴灵的超度与化解【www.richdady.cn】 孩子学习不好的环境影响咨询【www.richdady.cn】 感情纠纷的情感和解方法有哪些?咨询【www.richdady.cn】 莫名其妙感伤的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外事故的应急处理方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解的具体步骤咨询【微:qq383550880 】√转ihbwel 大龄剩女的自我提升【微:qq383550880 】√转ihbwel 孩子不爱读书的原因有哪些?【企鹅383550880】√转ihbwel 4. 财运与事业发展咨询【微:qq383550880 】√转ihbwel 意外的原因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何改善精神不振的状态【企鹅383550880】√转ihbwel 财运不佳的理财技巧有哪些?咨询【σσЗ8З55О88О√转ihbwel 亲子关系的家庭氛围咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的互动模式咨询【www.richdady.cn】√转ihbwel 失业的职业规划咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 什么原因意外的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的前世因果【σσЗ8З55О88О√转ihbwel 腾讯网络安全总监 信息安全风险管理策略 信息安全论文1500 网络安全及等级保护 网络与信息安全pdf系统信息安全要求有哪些内容 大学生网络营销策划书 信息安全技术主要有 福州微信营销培训 营销感言 网络安全字体 南昌网站定制开发公司 网络营销能力秀等级 中小型网站设计公司 信息安全国际会议 网络营销的工具和特点 瓦房店网站建设 宜兴网站建设 手机营销有哪些方式 网站设计公司长沙 三金网手机网站 信息安全大学排名2016 网络安全科普 赣州网站制作 东营做网站 网站设计) 建购物网站 陕西省网络安全峰会 公安部网络安全局官网 营销式建站什么意思 网络安全课程 深圳网络营销学校 南京在线网站制作 国家网络安全周专题 中国风配色网站 网站规划分析的好处 银川建网站 2g网络安全 网站接单 金融网站开发 学校网站模板 腾讯网络安全总监 信息安全设备选型 信息安全与it审计关系 风云网络信息安全渗透测试课程 创新的南昌网站制作 个人网站建设 免费 银川建网站 营销型网站策划 营销活动培训班 病毒营销的定义与特点是什么 网络安全攻防入门 微营销成功案例 昆明网络营销网站 微信网站设计东莞全网营销网络推广公司 平台信息安全险 cdn网络安全加固培训 手机营销有哪些方式 网络营销网站规划建设 网络安全技术的新认识无线网络安全要求 上海做网站 专业的网络营销哪里有 太原优化型网站建设 营销感言 信息安全技术主要有 微营销成功案例 南京在线网站制作 网络营销学文稿 宝鸡做网站 福州微信营销培训 网络安全案例教程 账户信息安全事件,-1 长沙网站空间 信息安全等级保护 谁使用 谁负责 蘑菇街营销 瓦房店网站建设 信息安全实训室 价格 2017年信息安全泄漏事件 瓦房店网站建设 2g网络安全 创新的大良网站建设 微信公众号 网络安全 太原网站开发哪家好 网络安全扫描的内容 有免费的营销软件吗 中国网络安全中心 建购物网站 中国风配色网站 网络安全实验室 注入 山东大良网站建设 全国信息安全服务公司排行 网络安全及等级保护 网络安全教学平台 罗湖网站设计 三大基本网络安全需求 宜兴网站建设 国内ui网站有哪些 合肥seo营销公司 网络信息安全与对抗 信息安全编程语言 上海整合网络营销公司 营销策划或推广 信息安全国际会议 蘑菇街营销 中国网络安全中心 淄博网站优化 网络营销中广告的策略 蓝色网站 东莞网站开发推荐 深圳网络营销学校 东营做网站 信息安全 最新消息 西安信息安全公司,-1 上海整合网络营销公司 网站建设策划书 落地页网站 网站规划分析的好处 个人网站建设 免费 信息安全风险管理策略 国家网络安全周专题 合肥网络营销外包公司 三大基本网络安全需求 网络安全软件应用有哪些 网络营销能力秀等级 深信服 中国信息安全测评中心安全产品证书eal3证书 南京在线网站制作 大连网络营销网站 网站设计) 蓝色网站 怎样创建旅游网站 郑州营销小公司 大学生网络营销策划书 南昌网站建设公司服务器 网络安全技术的新认识无线网络安全要求 中企动力官网网站 如何创办网站