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

<a class="close" href="https://melz.13334.cn/">&times;</a>
上海培训网络营销中国信息安全认证中西网络安全 香港网络营销信息源有宁德营销策划 优帮云flash网站制作商业网站设计信息安全防火墙标准信息安全审核员待遇德国 网络安全路维上一秒还在小门派的最底层摸爬滚打,下一秒就成为了魔皇…… 有谁能告诉他这是什么情况? &amp;quot;魔皇大人!请带领我们重振魔族吧!&amp;quot; &amp;quot;呵呵&amp;quot;路维内心冷笑&amp;quot;这梦也太他妈真实了。&amp;quot; 且看疑似魔皇的少年如何走向巅峰。在港岛的乡下有一个九叔,收了两个徒弟,替人驱邪伏魔。 在济州岛有一个风叔,虽然是警员,但是却擅长利用道术破案。 还有在郊区一处人迹罕至的地方,有一个和尚和一个道士,传说身居神通,能驱邪灭鬼。 还有一个茅山弟子名曰傲天龙,在港岛各处游历,无数厉鬼僵尸死于他的剑下。 还有所谓的南毛北马,毛小方和马小玲,那更是灵幻界的扛把子,类似于前世武林盟主一样的人物。 一个鬼怪横行的世界,还有这么多大佬的存在,让李峰想要混吃等死的愿望彻底落空。 塑圣魂,觅长生,热血前行,登仙道!我天生的碧蓝眼睛,人们说是因为我祖奶奶是妖怪的原因。可我不信,世界上哪有妖这中东西。后来为救亲人,我开启了一段神奇之旅,揭秘开了这世间的第二空间,找到了心灵的归宿少年,赵乐,自小生世显赫,奈何北宋风雨飘摇,危在旦夕!赵乐将何去何从?重生丧尸即将来袭: “杨老板,您购买的十吨大米到了!还有五吨的小米,三吨黄豆……” ?“杨老板,您订购的一吨牛肉,和一顿猪肉,还有……鸡肉,鸭肉,都到了!” “杨老板,您加急订购的防弹玻璃,还有钢化门,还有加大款的太阳能发电板……已经全部运送到了。”? ?谁说凡人就不能修仙?谁说凡人就是鱼肉? 看我逆流而上,逆行伐仙! 在一片大陆上,一位神灵四处游荡,它走过之处都生出了无限生机。神灵的身上四散出灵,这些灵跟着神灵游荡,不同的旅程使灵不断变化,逐渐化为各种形态,形成了灵族和妖族… 一处灵在游历的时候不慎相互融合,亦为吞噬。吞噬后,幸存下来的灵成长速度异常加快,吞噬灵也渐渐痴迷上了这种成长方式。大量的吞噬灵不断吞噬,不断变化,逐渐形成了魔族、血族与鬼族。三族都需吞噬其它灵才能成长,若不愿再吞噬,轻则灵能枯竭,消逝加快;重则耗尽,在痛苦中死去…… 那位神灵总结了旅途中的所见所闻,被自然选择成为了自然之神。与此同时,它看见了人间的自然愈发恶劣,无奈无法干涉,它借梦的方式让部分人类来到了芸灵大陆,学习如何保护自然界的方法。芸灵大陆中的灵也感受到了人形的便利之处,渐渐都化为了人形。一些人在这里诞下子嗣,这些人类与灵或妖之子,集合组成了人族,而这一变化也被魔、血、鬼三族窥视着。在种种原因的促使下,第一次灵魔大战开始了……一代帝师,遭遇自己十位爱徒的背叛,复苏后彻底迈上魔道之路…… 刀劈帝宫镇四方,掌灭星辰踏踏苍穹,诸天万道群雄起,看尽英豪我为尊! 就你这个废物,连二星武者都没达到,还敢追求我们王雨彤校花?你也不照着镜子看看自己的怂样! 我~我是你的转世重生?是的,八千多年前我被原始海神重创,导致不得不转世重生,道基化为你的丹田。 林萧,我可是跟婉儿说好的哦!有男朋友要一起分享的哦! 小弟弟,今晚是跟姐姐睡哪?还是跟姐姐睡哪? 汪姐!我还小哪,还未成年哦!我委屈的说道: 哪好吧,那就在养你一年,等你十八了在吃了你,咯咯! 因为跟你接触就知道了啊,我是先天本源之体,你我都是因天地而生,跟先天道体是同根同源,你身上的气息让我着迷,跟你在一起就跟家人的感觉一样,不自觉的就想跟你接触,而且跟你在一起有助于我的修炼。 随后又看了一眼王雨彤对寒冬说道:(这种女人送给我都嫌脏,你居然能看上这种女人?)
国内信息安全公司排名,-1 网站配色方案 对比色 唯品会营销理念 国内信息安全公司排名,-1 信息安全公司资质 网络安全工作实施流程图 网络安全法漫画 石家庄网站营销 东城网站设计 西宁做网站 暗恋的案例分享咨询【www.richdady.cn】 大龄剩女的职场发展咨询【www.richdady.cn】 解梦的心理学意义咨询【www.richdady.cn】 儿子不读书【www.richdady.cn】 强迫症咨询【www.richdady.cn】 强迫症的康复训练咨询【www.richdady.cn】√转ihbwel 孩子厌学的辅导方法【www.richdady.cn】√转ihbwel 事业不顺的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系中的矛盾解决咨询【企鹅383550880】√转ihbwel 人际关系不好的前世记忆【σσЗ8З55О88О√转ihbwel 如何化解婴灵带来的负面影响?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的和谐之道咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的情感释放咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状咨询【微:qq383550880 】√转ihbwel 投资项目的前世因果【微:qq383550880 】√转ihbwel 莫名其妙感伤【www.richdady.cn】√转ihbwel 干扰对人的心理影响【www.richdady.cn】√转ihbwel 为什么过世的前世案例【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的故事如何影响现代生活?咨询【企鹅383550880】√转ihbwel 精神不振的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络安全的五大特征 企业网络安全方案设计 思维营销 成都网站创建 美发营销型网站 信息安全导航 家教网站建设 信息安全审核员待遇 信息安全审核员待遇 珠海企业网站制作费用 信息安全导航 网络营销模式的特点是什么意思 2017年网络安全会议 好的互联网资讯网站 什么是搜索营销?搜索营销sem主要有网页优化seo和竞价ppc 网络安全监控软件 网络安全类上市公司 SDN与网络安全 脑白金的营销理念 网络安全工作实施流程图 手机网站建设动态 北京网络信息安全小组 2017年网络安全会议 网站建设陕icp 常州网站制作机构 网站开发流程图 成都网站创建 网站权重优化 2017年网络安全现状 网络安全法漫画 信息安全供应关系 国家信息安全证书 江苏网站建设效果 免费网站制作新闻 西安制作网站 做网站程序 网络安全类上市公司 东城网站设计 一张图读懂网络安全法 个人信息安全评估办法 青岛网站建设‘’ 一张图读懂网络安全法 卡通型网站 常德网站建设 信息安全经典面试问题 网络营销信息源有 网络安全 香港 信息安全导航 宁德营销策划 优帮云 网络安全内部威胁 信息安全供应关系 什么叫做网站维护 成都网站创建 网络营销中文版 2017年网络安全会议 成都好网站 脑白金的营销理念 网络安全保险是什么意思 什么是搜索营销?搜索营销sem主要有网页优化seo和竞价ppc 微博进行营销的好处 信息安全标准规范 网站建设费用预算 网络营销模式的特点是什么意思 德国 网络安全 美食城营销学互联网营销会后悔吗 网络营销信息源有 常见信息安全技术 网站设计报价 响应式网站建设信息 西宁做网站 邮件营销的有点 2013年的重大网络安全事件 青岛网站维护 网络营销中文版 工业信息安全产业联盟 深圳网站制作公司资讯 网络安全裤子 网站建设陕icp 超炫的网站 最新网站建设语言 长沙高端网站制作公司 便宜做网站 设计有关的网站 成都大牌广告网络营销 家教网站建设 企业营销网站建设公司哪家好信息安全与网络管理专业 银川网站建设 海宁网站建设 设计云网站 app企业网站 最新网站建设语言 网络营销模式的特点是什么意思 青岛网站建设‘’ 冀州建网站 大数据信息安全分析师 app企业网站 网站开发流程图 中国信息安全认证中西 商业网站设计 2014网络安全报告 太原推广型网站制作 常德网站建设 网站设计 广州 卡通型网站 网站制作前期所需要准备 网站设计报价 网盘建网站 机关网络信息安全管理制度 国家信息安全证书 什么叫做网站维护 南宁网站制作 网站的制作 思科2017网络安全报告 公示 个人信息安全,-1宝安网站设计 网站制作性价比哪家好 网盘建网站 网络安全保险是什么意思 互联网信息安全的解决最终还是要 网络信息安全法律法规 网络安全类上市公司 专业信息安全,-1 免费建站网站有哪些 虚拟化网络安全 定制型网站建设平台 网络营销模式的特点是什么意思 什么是信息安全与管理中心 什么叫做网站维护 信息安全保护 营销培训视频 网站制作前期所需要准备 国家信息安全证书 网站配色方案 对比色 北京网络信息安全小组 营销培训视频 最新网站建设语言