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

<a class="close" href="https://y4f.kanv.com.cn/">&times;</a>
在网络安全体系构成要素中响应是指网络安全解决方案.doci春秋网络安全大片app网络安全国际认证西安 网站搭建搜索引擎营销方案网站导航营销的优点自己怎样制作公司网站南昌建网站微博营销的不足童多宝,具有七窍玲珑心,却从小命运多舛,后得异人指点,修得无上神功,从此游戏人间,恶魔降临人间,天使同时抵达。恶魔祸害人间行凶作恶之日,就是天使变成恶魔之时。白天与黑夜交替,恶魔与天使并存,美女与野兽共枕…… 李渔:乘客您好,天使出租车公司为您服务。下班回家请按1;夜场接送请按2;送医买药请按3,特殊服务请按4…… 乘客:你个夜班司机,还有特殊服务? 李渔:天使出租车夜班司机李渔竭诚为您服务,您想要的,我这里都有。 乘客:我就想知道你都有哪些特殊服务? 李渔:帮人打架请按1,捉鬼降妖请按2,逛街遛弯请按3,帮忙约会请按4……目的不明?嗯,滚…… 乘客:你?你!你……是老司机李渔,这个城市的守夜人? 李渔:哼横…… 阴阳丁真,鉴定为真假 医研丁真,鉴定为脑谭 艺言丁真,鉴定为旧诗歌集吧 演绎丁真,鉴定为野性的美 营养丁真,鉴定为大飞柱 英语丁真,鉴定为Can Can Need 游泳丁真,鉴定为醇醇的溅出 茫茫城市中虽不见我的身影,但每一处地方,都有着关于我的传说。 欢迎观看我的故事,亲爱的来宾和我的动物朋友们。小说的背景是发生在普罗大陆,一个以纹络作为修炼层次的大陆,男主名叫秦时,是秦家后人,身怀三重灵魂的异体之身,通过不断的努力,历练最终三重合一成为共神的故事天地骤变,神魔大乱,颠倒世界,唯有救世,修真大陆来了一位天尊,他的出现改变了世界的混沌,可惜付出了相应的代价,世界被分成七座大陆,和平共处,它们成为了连接世界的桥梁,世界被拯救,可惜再也见不到这位天尊了大陆之中强者血脉为王,血脉的力量决定成就,在这个世界血脉代表着一切,血脉强者有破天之威,灭地之能,看一个少年的血脉变异能否搅动风云。传说中的上苍矗立在诡异与混沌中间,那是人们渴望着极尽之巅……… 秉承上苍之意的婴儿,自出生便被封印,随后又被被囚禁数年成为笼中雀。 他一生无败,能成为他的对手都是一种无上荣耀。 只有记载,不曾显现的本源之瞳,斩天骄,镇禁忌,掠古教,夺仙子,内心空洞,行动无止境 在九州大陆,皇城之巅,有一位传奇人物,他正是皇城之主,九霄神帝,也是九州大陆最强悍的存在之一。前世,努力,学习,只是为能在娱乐圈里有一席之地,被爱情抛弃,一场大醉之后穿越重生,没有高不可攀的背景,只有小人在都市里关于爱情和事业的奋斗励志。于是,用歌抒写人生,用歌表达爱情,关于亲情友情还有爱情的爱恨交加。娱乐公司不公平的签约?不好意思,不感兴趣?想我封杀?那是不存在的,我又不是歌手?没人找我写歌?没关系,我写小说总可以吧!爱情,不好意思,我不在乎你的过往,只在乎你的未来你有没有我?看男主如何在都市里演绎小人物的生存励志故事。混沌初开,众生矇昧,造就一海,曰苦海。海底有窟,曰万龙;海中有陆,曰神州;上空有岛,曰风屿。龙窟为阴,风屿为阳,灵陆为太极,苦海为八卦。苦海、万龙窟、神州、风屿并称灵陆。风屿上有风灵一族,曾统御万族。坠落之战后,风灵族没落,灵陆也消失于世间。唯有坠落之战前,风屿孕育出的最后一个风灵逃过一劫,陷入长眠。
网络广告营销模式案例 石家庄网站制作 信息安全顶级会议 网站移动端开发公司 网络营销渠道功能 新闻媒体网络营销案例 互联网 微信营销 互联网营销的总结 新闻网站设计原则 网络信息安全趋势图 什么原因意外的前世影响咨询【www.richdady.cn】 前世今生的轮回真相【www.richdady.cn】 前世缘份的识别方法【www.richdady.cn】 如何预防过早离世咨询【www.richdady.cn】 与男友前世的识别方法咨询【www.richdady.cn】 儿子不读书的前世记忆咨询【www.richdady.cn】√转ihbwel 前世今生的轮回有哪些真实经历?咨询【σσЗ8З55О88О√转ihbwel 前世缘份的奇妙重逢【www.richdady.cn】√转ihbwel 亲子关系的教育建议咨询【微:qq383550880 】√转ihbwel 投资项目的收益分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职场突破【www.richdady.cn】√转ihbwel 解梦的梦境解析【企鹅383550880】√转ihbwel 升职加薪的障碍分析【www.richdady.cn】√转ihbwel 前世今生的故事如何影响现代生活?咨询【σσЗ8З55О88О√转ihbwel 去世的母亲在哪【σσЗ8З55О88О√转ihbwel 去世的父亲的前世案例【企鹅383550880】√转ihbwel 阴间生活的文化背景【σσЗ8З55О88О√转ihbwel 脑部不清晰的解决方法咨询【微:qq383550880 】√转ihbwel 什么原因意外的前世修行咨询【微:qq383550880 】√转ihbwel 3. 情感与心理咨询咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 上海做网站的 物业公司网站建设 计算机网络安全技术(第3版) 衡水专业网站建设公司 网站推广页 网络安全4hou 网络安全技术服务公司 信息安全组织体系 广东省信息安全企业排名 网络安全课程表 互联网营销网站有哪些 学网络营销 晴朗网络 网络安全的学习网站注册域名 2016中国网络安全技术对抗赛 第一届360信息安全大赛 网络安全解决方案.doc 西安 网站搭建 网络信息安全趋势图 媒体营销推广汇总 信息安全竞赛时间 美国cnci网络安全分析解读 南京网络安全类公司排名 2017网络安全大会 网站被 色系网站 上海网站设计开 全网营销网络推广方案 上海网站设计开 工信部 信息安全中心马鞍山网站制作 贵州省信息安全测评中心 网络安全问题会议 网络安全怎样辨别 广州网站建立 网络安全技术服务公司 西安 网站搭建 国家级网络安全事件 搜索引擎营销方案 深圳做网站 免费营销 哇哈哈网络营销策划书 信息安全服务三级资质 深圳营销策划 数据库网络安全措施 网络安全工程学院 公司网络营销定价策略 南昌建网站 手机介绍网站 信息安全攻防 新闻网站设计原则 计算机信息安全分级 网站和h5 网站宽屏 长沙专业做网站 石家庄企业商城版网站建设 信息安全的研究领域,-1 2016中国网络安全技术对抗赛 国内欣赏电商设计的网站 办公室信息安全工作 便宜电子邮件营销 免费设计网站 信息安全攻防 网络安全产品审查 沈阳网站推广 湖北省网络安全等级保护网 网络安全技术人员工资 美国cnci网络安全分析解读 什么是营销方法 免费建站网站大全 深圳营销策划 山石网科网络安全 网站行销 搜索引擎营销sem概念 广东省信息安全企业排名 网站推广页 高级网络安全设置 信息安全的研究领域,-1 国家网络安全实验室 网络安全国际认证 江苏信息网络安全协会 政府网站怎么管理系统 外贸网站建设上海 B2B网站系统 网络安全法 第 37条 网络安全课程表 通信网络安全服务能力评定管理办法 物业公司网站建设 信息安全分级技术 长沙网站制作哪家 互联网网络安全态势 信息安全红蓝队 政府网站怎么管理系统 石家庄网站制作 网络营销管理 春晚的网络营销方案 网络安全 特训 新闻产业中病毒式营销 互联网营销学什么 网络信息安全演练 媒体营销推广汇总 见网站建设客户技巧 互联网营销的总结 武汉做网站公司 信息安全 国家安全局 email网络营销现状 南昌建网站 考研网络安全 信息安全保护等级认定机构名单网络营销的网站分类 信息安全分级技术 视频网络安全知识讲座 陕西 网络安全和信息化领导小组 计算机信息安全分级 公司营销软件哪个好 建网站 广州 国家网络安全实验室 物业公司网站建设 网络和信息安全通报实行小时联络制度 网络营销职责 衡水专业网站建设公司 o2o网站建设代理商 聊城网站建设 网络安全4hou 网络营销渠道功能 公司营销软件哪个好 信息安全组织体系 虹口做网站 上海做网站的 网络安全课程表 国有企业信息安全制度 网站被 学网络营销 台州高端网站建设 莱山网站建设 2016中国网络安全技术对抗赛 晴朗网络 网络安全的学习网站注册域名 评论营销