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

<a class="close" href="https://hry.n8ez.cn/">&times;</a>
山东网络信息安全成都国家信息安全中心信息安全等级保护管理办法信息安全负责人警企共铸网络安全信息安全的最新技术全球网络安全深圳品牌网站推广公司网站专题页面文案设计身边的网络安全陈岁年离婚了,前妻嫌贫爱富,抛夫弃女。 没想到,刚离婚就觉醒了系统。 拥有了一块每天都能刷新出各种蔬菜、水果、药材的肥沃土地。 陈岁年决定在犹如世外桃源般的桃花村定居,没想到,系统隔三差五就送给他各种技能。 没过多久,陈岁年还发现,那块神奇的土地,仅仅只是系统的冰山一角! 更多的秘密,在等待着他去揭开!朱庭隆穿越成为一个衙内, 但还来不及高兴就发现老爹下狱家产抄没 …… 后来的他成了四大世族的座上宾,公主的好友。他封王拜相,收服四海。 可他原本只觉得躺平,舒舒服服做个衙内才是最香的啊…… PS:谢谢各位支持永远未满十八岁的我,爸爸妈妈群:466617530【封面来源:616pic.com/sucai/vgmf79g7v.html】 啥?实验失败了? 老子我辛辛苦苦那么多年,你tm...... 啥?我穿越到未来了? 反正现在穿越遍地走,无所谓了...... 啥?我穿越的原主是个废柴? 云野:我tm谢谢上仙个老6......前世顶级杀手转生异界骷髅?! 诡异书页 ,神秘纹路,脑中突然出现的那是什么... 隐秘如一团团迷雾笼罩。 前所未有的异界大陆,阿尔伯特睁开了眼睛。 ”我的士兵,帮助你们的王铲除掉来犯的蝼蚁!” “你管眼前这个叫蝼蚁?!” 阿尔伯特的异界冒险,开始了! 空间站机器人和地面站失联,生产这种机器人以及支持机器人运行的公司也发现自己的加拿大服务器同时失联,更发现正在国外度假的董事长一家在几个小时以前也失联。与此同时,市内发生一起未遂谋杀案。四件看似毫不关联的事情其实起因于同一件事,一个在日本的古老家族正在完成一件2000年来徐福交给该家族祖先的任务,进入喜马拉雅山山脉下的悬空之地,获得大地之心,从而掌控穿梭于不同时间维度的方法。 穿越于不同的时间维度,相当于获得长生;但如何穿越于不同时间维度是个问题,穿越后会发生什么事又是另外一个问题。 这是一个挂着科幻和推理羊头,写着人性的故事。因为, 人不能随心所欲支配行为,所以人,都是傀儡一样的存在。在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。天狼星是缆镇龙头老二施边边的绰号。 施边边出道前是读过好几本古书的。 会背东坡老师的《江城子 · 密州出猎 》:老夫聊发少年狂,左牵黄,右擎苍。 锦帽貂裘,千骑卷平岗。 为报倾城随太守,亲射虎,看孙郎。 酒酣胸胆尚开张,鬓微霜,又何妨! 持节云中,何日遣冯唐? 会挽雕弓如满月,西北望,射天狼。 客厅还请苍梧先生写了这首词,裱了起来,比起龙头老大钱鼓鼓只喜欢收藏所谓的玉石原石好多了。 钱鼓鼓收的所谓玉石原石全部来自云南,不知真假! 缆镇以前没有什么工业,所谓的工业就是做木质工艺品,因此木头原料是关键。 钱鼓鼓和施边边二个人垄断了缆镇的木头市场。 后来,缆镇开始搞建设,鼓捣水泥搅拌站是来钱快的生意,钱鼓鼓和施边边二人开始了水泥搅拌站的布局。 故事就这样开始了!2100年一个武器库保管员,连同武器库一起穿越到了民国时期,从此走上军火大亨的路好的,好的。太初大陆,强者为尊。 草根出身的天才少年被情人背叛,惨遭杀害,却意外开启了仙帝传承。 从此,丹方、秘法应有尽有,天骄、强者无须畏惧! 练最高深的仙家道法; 去最危险的遗迹寻宝; 泡最优秀的绝色美人! 一路高歌猛进,所向无敌,感悟混沌法则,问鼎仙魔两界!
临沂学营销 国家信息安全认证产品型号证书 网络营销课程教学内容 加强信息安全意识 网络营销观念创新 网络安全知名企业 发信息安全吗 信息安全的最新技术 深圳信息安全企业排名,-1 营销软件图片 为什么过世的前世案例咨询【www.richdady.cn】 前世今生的故事是真的吗?【www.richdady.cn】 大龄剩女的婚恋经验咨询【www.richdady.cn】 外灵的干扰特征【www.richdady.cn】 强迫症的症状与诊断【www.richdady.cn】 感情纠纷的情感和解方法有哪些?咨询【www.richdady.cn】√转ihbwel 外灵干扰的心理调适【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的康复训练咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何维护良好的家庭关系?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的解决方法【微:qq383550880 】√转ihbwel 大龄剩女的咨询技巧【企鹅383550880】√转ihbwel 阴间生活的前世记忆【企鹅383550880】√转ihbwel 冤亲债主干扰有哪些常见症状?【微:qq383550880 】√转ihbwel 耳鸣的解决方法【σσЗ8З55О88О√转ihbwel 性压抑【σσЗ8З55О88О√转ihbwel 学习成绩差的咨询技巧【σσЗ8З55О88О√转ihbwel 与老公前世【www.richdady.cn】√转ihbwel 国家网络安全应急中心 网络营销观念创新 衡水做网站推广的公司 余额宝市场营销策略 重庆品牌营销服务好 深圳互联网营销 与信息安全等级保护有关的机关 个人网站建设 软件信息安全建设方案 贸易公司自建免费网站 网站项目设计 中国国家信息安全测评中心待遇 广西信息安全大赛 网络安全是国家强制吗 企业网站备案 企业网站的一、二级栏目名称网络营销渠道类型 山东网络信息安全 网站专题页面文案设计 网络信息安全周,-1 邮箱营销软件哪个好用吗 网络安全 移动防御 营销策划类公众号 网络安全宣传目录 北京市重大网络安全事件 万州网站制作 发信息安全吗 营销软件图片 信息安全年会 深圳网站空间 思科 企业网络安全解决方案 广州网络安全公司排名 考网络安全什么证书 中新网络信息安全股份有限公司 网络营销观念创新 衡水做网站推广的公司 海尔网络营销策略分析 那些层属于信息安全技术 余额宝市场营销策略 我国网络营销的现状 职业教育 信息安全 信息安全事件记录 广州网络安全公司排名 互联网公司网络安全 大良网站设计价格 网络营销的特点和趋势 深圳互联网营销 企业网站备案 党政机关网络安全解决方案指引 信息安全 学会 建网站地址 成都网站设计 创建网站哪个好 国家信息安全认证产品型号证书 个人网站建设 余额宝市场营销策略 营销网络图 贵阳设计网站建设 互联网公司网络安全 软件信息安全建设方案 成都网站设计 中国国家信息安全政策 信息安全等级保护管理办法 贸易公司自建免费网站 张家港杨舍网站制作 山东网络信息安全 中国网络安全产业大会 网站项目设计 静态营销网站代码 海尔网络营销策略分析 信息安全(网络犯罪侦查 网络安全管理系统品牌 龙岗高端网站设计专家 网站如何宣传 广西信息安全大赛 深圳网站seo公司 关系营销优点 金融行业信息系统信息安全等级保护测评指南,-1 网络营销观念创新 网络安全是国家强制吗 平台的网络安全认证 湖南网站设计企业 无锡集团网站建设 食品公司网络营销方案江门网站制作 裁剪图网站 星巴克与微信营销 信息安全产品测评 信息安全(网络犯罪侦查 网站建设开发 青岛做网站哪家公司好 深圳网站seo公司 腾讯网络营销策划方案 食品公司网络营销方案江门网站制作 网络营销的价值是什么意思 互联网营销网站 网络安全设备应用分析 网络安全防火墙 日本网络安全法律法规 cncert网络安全对抗赛 网站交互性 网络安全警示片 专注成都网络营销 微信品牌营销案例 营销网络图 关系营销优点 广警转网络安全 杭州 网络安全公司 c 网络安全 网站专题页面文案设计 juniper 网络安全 解决方案 .ppt 网络营销与管理 临沂学营销 青岛做网站哪家公司好 信息安全年会 第二届 360 杯全国大学生信息安全技术大赛 网络安全警示片 上海网站设计公司 网站制作需要多少钱 企业网站欣赏 策划口碑营销的关键 国家信息安全等级保护工作协调小组办公室推荐测评机构名单 中国国家信息安全政策 2017全国高校网络安全 信息安全的最新技术 网络安全应注意几点 杭州网站制作 重庆品牌营销服务好 脑白金的营销 陕西省 网络安全 网络信息安全周,-1 警企共铸网络安全 身边的网络安全 衡水建网站 网络营销的个性化特点 广州网络安全公司排名 高端品牌网站建设