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

<a class="close" href="https://4vi.xevi.cn/">&times;</a>
微网站欣赏建设企业网站平台主要的目的是淘宝营销培训网站ueo长春网站设计网络安全数据分析内蒙古 网络安全和信息化领导小组工信部网站备案网络信息安全专题自助建立网站唐明最终还是选择了自我了解,他没有放弃,而是带着执念来到了地下大陆。在那里获得了许多值得信任的伙伴,可在这个弱肉强食的世界里,拥有伙伴,有什么用呢? 在杀手行业闻名遐迩的顶级杀手乔森对自己身世始终一无所知,在一次意外中,扑朔迷离的真相浮出水面,对自己身世的调查在悄悄展开,他能否在一次次危险的行动中脱身并找寻到自己身世的线索?到底什么才是他的归宿!!!那就成为avenger!为了爱的复仇者!演唱会上,天后苏柒随机抽选了一位幸运观众,邀请与其一起合唱。 没想到,竟然点到了一个假粉丝! “那个,我能唱首原创吗?” 面对这种“冒犯”的要求,天后哭笑不得,但还是允许了。 没想到,这观众一开嗓,便是惊艳全场! “好家伙,来砸场子的?” …… 他就是写出《平凡之路》的顾城! 一个天才作家,网剧鼻祖,流行天王…… 还有,天后的老公!偷取九彩鼎,穿越异世界,前世的异瞳,现世的九瞳。叶瞳带你穿越异世,体验修仙,这究竟是涅槃重生,还是阴谋。(这是我的弟一个作品,希望大家喜欢)(这是一部 经典港式剧情 的反转、反转再反转的故事,其间警察不是警察、兄妹不是兄妹,父子不是父子,恋人不是恋人,想死的时候死不成,不想死的时候却无力回天的烧脑故事。) 港岛警方追查一件连环催眠自杀案,受害者已有多人,死者都跟未来集团有关,而未来集团的创始人顾长孝,将会是下一个目标。 顾长孝 自小就有【针眼恐惧症】的心理病,惧怕尖锐的东西,因此从来不去医院看病,但是确诊肺癌晚期,儿女们为了表现孝心好分得更多财产,强制把顾长孝送到医院治疗,从而上演了一出家庭战争。 顾长孝逃出医院,被一个叫鬼点子的人催眠,并执行了一次疯狂的自杀,那就是同一时体验跳崖而死、上吊勒死、毒死、火烧、水淹而死 5 种死亡。 疯狂的自杀方式,让顾长孝很兴奋,但是,在临死时,他发现了最终的阴谋,不甘就这么死了,最终出意外,顾长孝被送到医院,醒来的时候,看到护士给他打针,他的【针眼恐惧症】顿时犯了,活活把自己吓死。 从此,复仇的大戏被拉开! 【元宇宙-惊悚世界】 “我不想死啊!” “妈妈救我,我不要进入惊悚游戏!” “救命!救命!有没有人,快把我放出去!” “我是XX大明星,谁愿意救我,你要我做什么都可以!” 惊悚游戏降临全球,每个月随机抽取大量人类进入游戏世界与厉鬼为伴。 当所有人都在惶恐、害怕、恐惧中苦苦求生的时候,第一次进入游戏的陈凡发现,他每次开始游戏前居然能先抽取一件强大鬼物! 鬼外卖游戏中,当别人还苦哈哈骑着纸扎的电动车给鬼送外卖时,陈凡已经骑着猛鬼摩托在大街小巷风驰电掣,单单好评。 当别人好不容易与一只鬼签订契约的时候,陈凡已经拥有了一堆鬼王,组建了第一支人类为首领的鬼军!震撼两个世界! 他麾下的女鬼,实力无比强大,更是个个国色天香,对林风死心踏地。 赚取无数金钱的女鬼总裁,神秘强大的幽界之主,拥有僵尸大军的飞僵女王,修炼千年的倩魂姐妹……渊下的帝国刚刚成立,渊上的兽族找到机会一举南下入侵,自此由元年之初开始长达十年之久的墨云之争便开始了! 结婚三年,陈青牛被泼辣老婆驱使,受尽丈母娘一家子窝囊气。   一朝得蚌仙传承,从此鲤鱼化龙,媳妇变成了小乖乖,岳母一家逢迎。   带领全村人搞特色养殖,种植,发展旅游村,过上幸福日子。萧阳绰号&amp;quot;杀破狼&amp;quot;,为兵部第一人,因任务失败入狱五年,出狱后本想过平淡生活,谁知接连不断有人招惹陷害他,震怒之下,长啸琼霄,血染长天,抵穷山恶水进行万里击杀,直至双方见面后最终一搏!李佑前世是京都大学历史系高材生,一朝穿越,别的穿越者什么金手指都有,唯独他带了个摆烂系统。好不容易靠自己努力开了家酒楼,这天三个中年男子来到酒楼,为首的自称老李,从此之后一切都变了,李佑说出任何决策,没多久就会被执行。不久后的某一天,老李说道:“其实我是你爹!”李佑心中一万只草泥马跑过,我帮你那么多,你居然想当我爹!!!
教委高校网络信息安全 深圳罗湖网络营销 成都活动网络营销 形象型网站 全国大学生信息安全竞赛成都 企业如何做网站建站 深圳网站平台 网站建设高级开发语言 网络信息安全认证证书 2017全球网络安全指数 亲子关系的前世记忆咨询【www.richdady.cn】 自闭症的心理调适【www.richdady.cn】 与女友前世的影响分析咨询【www.richdady.cn】 亲子关系的改运方法【www.richdady.cn】 脑部不清晰的案例分享【www.richdady.cn】 学习成绩差的家庭教育咨询【微:qq383550880 】√转ihbwel 如何克服“缺心眼”的问题【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 工作压力大导致的精神不振咨询【企鹅383550880】√转ihbwel 前世老公的前世影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 莫名其妙感伤的前世影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职业发展咨询【www.richdady.cn】√转ihbwel 意外的前世解析咨询【微:qq383550880 】√转ihbwel 失业后如何快速找到新工作【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋建议咨询【www.richdady.cn】√转ihbwel 投资项目的选择方法【www.richdady.cn】√转ihbwel 大龄剩女的婚恋故事【企鹅383550880】√转ihbwel 升迁障碍的职场策略【www.richdady.cn】√转ihbwel 心慌胸闷头晕的心理调适咨询【企鹅383550880】√转ihbwel 无形干扰的前世故事咨询【企鹅383550880】√转ihbwel 干扰的自我感知方法咨询【微:qq383550880 】√转ihbwel 服务营销4p理论甘肃网站建设公司 桌面端的信息安全 任丘网站优化 网络营销及就是seo2015网络安全峰会 运维网络安全宣传图 衡阳网站建设 建英语网站 2017全球网络安全指数 电子商务网站建设内容 网站地图制作 朝阳企业网站建设 建网站赚钱 有哪些软文营销例子 智慧城市与信息安全,-1 长沙企业网站建设 微汇通微信营销软件 教委高校网络信息安全 微网站页面 第七届cncert网络安全应急服务支撑单位 深圳营销 互联网营销网站有哪些内容 互联网营销公司 互联网产品营销计划 烟台网站建设设计 网络安全都有什么安全 网络信息安全专题 中国信息安全测评中心待遇 网络信息安全专题 广州的服装网站建设 北京大学网络与信息安全实验室 百万网络营销 番禺网络营销外包 桃城区网站制作公司 形象型网站 建网站 南京 德州网站建设 大数据与信息安全报告 智慧城市与信息安全,-1 网络安全监测设备有哪些 网络安全基础:应用与标准 重庆綦江网站制作公司电话 常州专业网站建设推广 形象型网站 福州网站制 高端的佛山网站建设 信息安全管理体系实施案例及文件集 湖南 信息安全公司排名 互联网营销网站有哪些内容 互联网与网络营销 有关互联网网站 响应式网站建设 中国国家信息安全漏洞 网络安全评估报告 南京专业做网站的公司有哪些 电子商务网站建设内容 运维网络安全宣传图 病毒营销传播渠道 大数据与信息安全报告 网络信息安全等级保护 国内ui网站 天津网站建设包括哪些 企模网站 信息安全的基本属性 福州网站制 中国计算机网络安全 开展网络安全检查工作 信息安全管理体系实施案例及文件集 远程教育信息安全技术答案 山西大学 信息安全 网络信息安全技术措施 教委高校网络信息安全 山西大学 信息安全 网络营销流量的重要性 家居企业网站建设平台 网络安全等级保护评定 网络安全员培训证书 有企业邮箱案例的网站 第七届cncert网络安全应急服务支撑单位 西安营销型网站建设 亿阳信息安全部门咋样 内容营销与传统营销的区别吗 自助建立网站 网站特效 网站调试 深圳互联网营销 建网站 南京 中国信息安全测评中心待遇 政府网络安全标准 网络安全认证证书下载 信息安全等保建设资质,-1 网络安全监测设备有哪些 社会媒体营销 网络安全公司产品策划 什么信信息安全,-1 朝阳企业网站建设 长沙企业网站建设 深圳营销 营销网站手机站 做好的网站如何上线 网站ueo 做一个网站需要多少钱 深圳网站平台 免费的网络营销手段 营销课程图片 信息安全优秀教师 深圳互联网营销 电子商务网站建设内容 网络营销流量的重要性 网络安全数据分析 信息安全保障计划 深圳罗湖网络营销 内蒙古 网络安全和信息化领导小组 网站调试 朝阳企业网站建设 网络安全提供 网络信息安全主动防御 北京大学网络与信息安全实验室 病毒营销传播渠道 高端的佛山网站建设 北京大学网络与信息安全实验室 app/网站建设 网络营销特色化描述 做一个网站需要多少钱 湖南 信息安全公司排名 信息安全专业建设方案 网络营销及就是seo2015网络安全峰会 网络安全评估报告 新加坡网络安全局 学校网站建设哪家好 网络安全基础:应用与标准 微网站页面 建英语网站 西安营销型网站建设 免费网站注册永久 信息安全方案