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

<a class="close" href="https://div5r.hehu.net.cn/">&times;</a>
网络安全怎样辨别网络安全错误网络营销研究调查问卷昆山高端网站建设互联网与信息安全,-1信息安全管理中心,-1国家级网络安全事件网站设计用什么字体好qq免费建网站亚信网络安全在兵荒马乱的战国时代,人们过着胆战心惊的生活。于姑苏城外几里,杨氏族人根植于此,躲避战乱。杨远之是在战乱之中成长起来的孩子,对于收复故土,安定和平有着远大抱负。既已加冠之时,其父给予传家宝——杨家剑,助七收复故土,安定河山。杨远之不负众望,驰骋沙场,终于收复故土。然天有不测风云,人有旦夕祸福,亲人们一个个离远之而去,他痛恨生命得脆弱以及自己得无能为力,于是遁入空门,从此姑苏城外只有一个故事,只剩一个传说。陆珉本是个浑浑噩噩混日子的烂人,突然外星入侵改变了他,地球人都来到了领主世界,狗屎运却偏偏砸中了陆珉……山水村村民赵阿龙,小名阿斗,被人认为烂泥扶上墙。   哪知道时来运转,偶然得到农神系统,从此开始了开挂的人生。   种田,养殖,总之在农神系统的帮助下,他简直是屌丝逆袭,不但发了一笔笔的财,感情上更是如鱼得水。   ……   不过山水村也是一个关系环境错综复杂的地方,阿斗的事业刚刚开始,能否最终成为小小山村的风云人物,过上逍遥快活的小农民生活,其中充满了不确定因素。华夏青年柳长如,一着不慎穿越仙侠世界长生天。 思乡之情使得他无时无刻不在想念华夏。 仙侠世界,万般皆有可能。 于是他下定心思,想要在长生天登临大道去寻找反穿华夏的一线之机。 而修仙于他而言,就只有两字——搞钱。 他,是世界顶级组织kh的核心精英级特工,原本拥有优质的一切,然而有天,他厌倦了一成不变的生活,虽然条件优越,可必定受制于人,于是他决定,摒弃目前所拥有的一切,重新开始,重新书写他璀璨的一生林青是云城市的重案组成员,是出了名的两面派!对待任何人和事都有不同的态度。一系列的诡异事件发生,随着案件的发展让事件浮出水面,背后的真相让人不敢想象!这是属于我的狂欢,这里是我的家乡,我马上要离开的地方,这里有很多关于我的记忆,在别人眼中我是无赖我是流氓我是一个好人 路就在脚下,走便是了,管他荆棘拦路,管他山石嶙峋,世间有千般难万般险,却无一事可以阻我,只因在那里有我割舍不下的爱人。“萧寒,你金子掉了!” “懒得捡……” “萧寒,突厥又来了!” “哎,来进贡的!不老实,立刻大嘴巴扇他!” “萧寒,棒子来认祖了!” “快!乱棍给我打出去!!!” 唐朝,一个空前强大的王朝! 灿烂绚丽的文化,万国来朝的盛况,儿女情长,英雄辈出! 梦回大唐,长安的夜空是否依旧让我们着迷? 且看一个来自现今社会的平凡青年,回到这个有欢笑有泪水的伟大时代,在这大唐的盛世里写下最华丽的篇章,如何以一己之力,推动整个唐朝滚滚向前! 本书轻yy 走轻松诙谐路线,与正规历史有出入,敬请谅解~每一次抬头看向无垠星空,可知道在那茫茫宇宙有多少无尽的欲望和折磨。遥远的未来,饱受创伤岌岌可危的地球,七道身影,七神座从天而降,好似神灵一般俯瞰着这个世界。一次次的折磨,一次次的伤痛,让他意识到这世界本就是一切欲望构成的。我,必将颠覆世界,找寻生命的意义。
精美网站 数据及网络安全 北京信息安全大会 网络安全设备销售 网络安全错误 公司不需要做网站了 单页网站制作 营销软件代理 路由器无线网络安全设置 青岛免费建网站 查财运专业服务咨询【www.richdady.cn】 婴灵的前世记忆【www.richdady.cn】 莫名其妙感伤的原因分析咨询【www.richdady.cn】 儿子抑郁症的康复训练【www.richdady.cn】 婚姻生活不顺的环境影响咨询【www.richdady.cn】 邪灵的定义与特征【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何解决事业不顺的问题?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 小企业破产的主要原因咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世解析咨询【σσЗ8З55О88О√转ihbwel 学习成绩差的家庭教育咨询【企鹅383550880】√转ihbwel 心特别累的环境影响【微:qq383550880 】√转ihbwel 亲子关系的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场转型【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解决孩子不爱读书的问题咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世修行威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的前世因果咨询【企鹅383550880】√转ihbwel 与女友前世咨询【www.richdady.cn】√转ihbwel 莫名其妙感伤的解决方法【www.richdady.cn】√转ihbwel 孩子厌学咨询【企鹅383550880】√转ihbwel 如何应对冤亲债主的干扰【企鹅383550880】√转ihbwel 饮料创意营销策略 新闻媒体网络营销案例 温州网站制作公司 衡水网站设计哪家专业 光谷做网站 网络营销销售渠道 信息安全暑期教师培训 网络汽车营销策划 太原推广型网站制作 南宁会员网站制作本溪网站建设 外贸网络营销书籍推荐 网络安全错误 服务器 信息安全性 网络安全问题会议 国外优秀网站设计欣赏 2016信息安全泄密案例 网络营销管理 路由器无线网络安全设置 自建网站套现 网络整合营销网络广告 佛山企业网站建设平台 信息安全管理 服务器 信息安全性 《信息安全研究》 全国信息安全技术标准 i春秋网络安全大片app 重庆网站真实案例 网络安全怎样辨别 网络安全实施计划 网络营销策划案例 常见的信息安全事件 网络安全展 网络与信息安全重大事件 中国信息安全问题日益突出的标志是什么 学网络营销 信息安全管理 常州网站建设key de 经典电子邮件营销案例 最优的网站建设 常州做网站的公司 企业之后网络营销对比 最优的网站建设 信息安全等级保护条例 全球信息安全 北京信息安全大会 成都网站设计公司价格 精美网站 行业平台网站建设 怎么检测网络安全 全国网络安全日 昆山高端网站建设 公司网络营销定价策略 网络安全怎样辨别 网络安全管理技术和应用 微博建网站 南京网络安全类公司排名 怎样给网站增加栏目 小红书的营销目的建立自己的网站 怎么学网络营销整合 南京网站制作公司 网络安全数据管理局 网络营销销售渠道 银行 信息安全 案例 天津交通信息安全网 亚信网络安全 南宁会员网站制作本溪网站建设 经典电子邮件营销案例 公安网络安全保卫局 东营专业网站建设 网站客户评价 优势网网站 网络安全设备销售 千度网站 优势网网站 重庆营销策划服务有限公司 服务器 信息安全性 网络营销配送 山石网科网络安全 网络营销研究调查问卷 商务网站建设 国家信息安全漏洞库网络安全建设与维护 信息安全等级防护 网络安全管理流程 网络整合营销网络广告 银行 信息安全 案例 网络安全事件处理案例 内蒙古网站建设 山西省信息安全研究院 国家级网络安全事件 玉林做网站 光谷做网站 青岛免费建网站 中国信息安全问题日益突出的标志是什么 网站权重优化甘肃网站建设 网络营销能力秀是传销 免费网站制作新闻 青岛信息安全企业 南京网站制作公司 网络安全的简介 互联网与信息安全,-1 公安 网络安全 青岛信息安全企业 边界网络安全 信息安全的技术有那些 qq免费建网站 网络安全专家指导 江苏网站建设效果 建网站报价 饮料创意营销策略 重庆营销策划服务有限公司 网络安全实施计划 营销道理 信息安全认证体系,-1 英文营销网站建设 目前个人网民的网络安全状况(结合2013年统计报告说明) 数据及网络安全 网络营销术语ip 公司不需要做网站了 单页网站制作 公司营销软件哪个好 长治做网站 北京网络安全讲师 营销软件代理 信息安全技术 数据库管理 网络营销推广外包 成都网站建设冠辰 借势营销案例 上海网站改版哪家好 工信部信息安全认证中心 中国信息安全问题日益突出的标志是什么 2015年网络安全预测 系统信息安全等级 网络安全专家指导 全国信息安全技术标准 学网络营销