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

<a class="close" href="https://rag.pieng.cn/">&times;</a>
试听课营销关系营销的优劣性网站类型有网站买空间网站建设的编程技术模板网站不利于seo吗网络安全部队百度知识营销的优势网络安全应急基础平台品牌营销数据分析这里没有炫酷的斗气,也没有奇幻的灵力,只有玄妙的魔法,为您展现的是一个有着现代科技文明发展的修仙文明时代。脑海的画面中夕阳射出一束束金光,照在大地上,照在庭院的一草一木上。一阵微风吹过,许多的草轻轻舞动,风轻轻拂过我的脸颊,“你你傻傻的坐在外面看什么,赶紧去洗手吃饭”我温柔的说知道了,清风,明月,走,我们一起去洗手,明月轻声说道,爸爸,我们都洗完了,就等你吃饭了,快点去快点去“这真的是梦吗”詹白云喃喃自语的说道,可是这梦也太真了吧……秦人席道全偶遇楚人蓝世云,先后错抓进府首府衙行医,不久楚暴发虫病,席道全被召为医者,不少医者因无法治好虫病被杀,席道全逃至楚,与蓝世云重逢,又一同入秦救治民众,得到秦人赞颂。后秦君驱三十万虫病大军伐楚,蓝世匀任拒敌前锋迎战秦军,秦军闻蓝世匀之名,纷纷弃械休战,请求治疗虫病,蓝世云与席道全一同摆汤药阵为三十万秦军治病。但此时虫病传入楚,楚君得知蓝世匀与秦人席道全一同曾为敌军治病,先囚禁了蓝世匀的上司卢世宗一家,又捉拿蓝世匀与席道全,席道全趁机卷走银子逃回秦,秦君也剩机再次驱重兵攻占楚,楚君无奈启用卢世宗,同时命蓝一出与施药救治楚民,卢世宗力退九部联军,席道全也在被俘人之中,又重与蓝世匀一同到民间治疗虫病,此时战败的秦君通过外交召回席道全,其它小国也来求医,不久,在一次聚会中,众王子误杀州首之子,虫病渐渐消失……  大脚从天而降把人类震回了原始时代,到处都是人吃人的恐怖景象……商业微信:zicsnk 同名漫画:https://afdian.net/@1994sr 狂妄野心家,欲在地球上称霸挑起世界大战,银河系几个有人类的星球统治者,贪婪地球美,虎视眈眈要占领,刮起战争风云。奇异事件层出不穷,形形色色的怪异人物,扑朔迷离的各种阴谋频频出现。璀璨星空风云变幻,弄得地球千疮百孔,银河系文明一片混乱。 天降大任绝代双雄,千锤百炼成“圣”,抗起正义的大旗,战胜邪恶,重新建立了银河系文明。 萧子暮重生成婴儿,等反应过来自己已经夺了女帝修为。 “萧子暮,还我的修为。” “不然我让你死的很难看。” “听话,你虽然是女帝,但好歹是妹妹,小心我打你!” 女帝闭嘴,眼泪汪汪。 “乖!把你的修为再给我点吧。” 女帝破口大骂,只想一刀解决这个依靠自己灵力发育的天仙大帝! 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 邪魔入侵,乱世已至。 被杀死的人皇背后隐藏着怎样的秘密? 诸神混战,人族的先辈又去了哪里? 战败的士兵逐渐失去了纪律; 无家可归的流民拿起了镰刀; 混乱逐渐取代秩序; 直到那持刀的少年从火焰中历练而出! 王陵穿越到魂兽横行、全球武魂觉醒的平行世界。 开局绑定外附武魂混元道宫,觉醒王者级双生武魂生灵圣火和混元神火,产生顶级武魂异像,震惊全球! 混元道宫加速时间,魂植成长速度是外界的千倍万倍! 生灵圣火与混元神火更是炼丹神物! 一举成为神级炼药师,复兴华夏炼药事业,成为世界第一! 所有人都认为他只是一名神级炼药师,毫无武力值。 直到有一天,魂兽侵袭生灵涂炭,人族危在旦夕。 王陵从天而降,手持宫殿脚踏神火,大手一挥,轻易化解了魂兽危机。 全世界才恍然大悟,将他供为神灵! 天宫宫主:“妖孽如此子,天佑我华夏!” 米国战神:“我不是他的一招之敌。” 魂兽之王:“如果不臣服于他,我就只有死路一条。” 帕特农神女:“他的炼丹之术让我望尘莫及,希望能与他‘单独’探讨炼药技术和魂植生命的起源。” 王陵:“其实我只想低调的做一名炼药师而已,但实力不允许啊!” 原始大陆乃是一个妖兽统治的世界,强大的凤凰和祖龙各自皆是一方守护强者。 少年十七本是神境强者之子却惨遭血脉剥夺,失去一切的他成为一名废人,直到她的出现将彻底改变他的一生。
网站类型有 信息安全研究 网站类型有 flash网站欣赏 常州网站建设平台 信息安全 政策法规 营销资讯网 网络营销英文ppt 西安做北郊做网站 什么叫企业网站 人际关系不好咨询【www.richdady.cn】 孩子不爱读书的家庭教育咨询【www.richdady.cn】 亲子关系的前世记忆【www.richdady.cn】 与公婆前世的前世案例【www.richdady.cn】 婴灵的前世记忆咨询【www.richdady.cn】 与公婆前世的记忆解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲在哪【www.richdady.cn】√转ihbwel 暗恋的情感释放【www.richdady.cn】√转ihbwel 前世缘份的修行建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 特殊学校的环境影响咨询【σσЗ8З55О88О√转ihbwel 儿子抑郁症的家庭支持咨询【微:qq383550880 】√转ihbwel 与男友前世的前世缘分【σσЗ8З55О88О√转ihbwel 邪灵的防范方法咨询【企鹅383550880】√转ihbwel 心慌胸闷头晕咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的原因及对策【www.richdady.cn】√转ihbwel 升迁障碍的职业发展如何规划?【σσЗ8З55О88О√转ihbwel 迟缓儿【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回理论咨询【企鹅383550880】√转ihbwel 财运不佳的原因有哪些?【www.richdady.cn】√转ihbwel 心特别累的前世因果咨询【微:qq383550880 】√转ihbwel 深圳网络营销|深圳网站建设公司|专业网络营销运营推广策划公司 深色网站怎么写问答营销的策划 网络安全感谢信 国内信息安全 案例,-1 贵阳有哪些可以制作网站的公司 信息安全部全称 网络营销组织是什么意思 信息安全领导小组 西安做北郊做网站 口碑营销的法则是什么 顺德网站建设要多少钱 flash网站欣赏 网络安全必看书籍推荐 什么叫企业网站 网络广告整合营销 浪潮网络安全 西安网站建设有那些公司 建商城网站 微博营销成功的原因 郑州医疗网站建设 2017年的网络安全 免费网站认证 公司网站制作商 珠海门户网站建设 建商城网站 阳江网站建设 什么叫企业网站 2017年的网络安全 网络市场营销 网络安全应急基础平台 潍坊网站优化 关键信息基础设施网络安全检查填报系统 分享型网站 如何制作网站 信息安全认证 安全工程 宜春做网站 制定攻防结合的网络安全战略 网络营销组织是什么意思 做网站 长 网站改版seo 台州做网站公司 企业网站适合做成响应式吗 2017年的网络安全 网络营销推广策略分析 山东省网络安全技能大赛官网 百度知识营销的优势 中山精品网站建设策划 苏州做网站公司 做网站网络公司 2016年 315 信息安全 网站推广优化张店 网络安全运营外包 小游戏营销案例 2017国内网络安全公司 信息安全的主要原则有 上海信息安全师 网络安全管理实践 网站设计工 互联的信息安全 茂名网站建设 黄骅的网站 网站改版seo 宜春做网站 公安系统网络信息安全,-1 试听课营销 网站办公室 龙岗 网站建设深圳信科 网络营销英文ppt 2016年 315 信息安全 手机网络安全方案 网站办公室 制定攻防结合的网络安全战略 汉口网站制作 flash网站欣赏 制定攻防结合的网络安全战略 内蒙做网站 单位建网站的优势 深圳营销型网站建站 精湛的佛山网站设计 龙华响应式网站建设 旅行社网络营销 传统营销的特点是什么意思 关系营销的优劣性 九零专注信息安全 域名注册网站 企业网络安全解决方案 企业营销型网站有特点 甘肃手机网站建设 解放军信息安全测评认证中心哪个标准用于信息安全 山东省网络安全技能大赛官网 网站建设的编程技术 网站买空间 国家网络安全专题 网站买空间 甘肃手机网站建设 传统营销需要改变的原因不包括 如何申请网站 郑州网站优化_郑州网站推广_河南网站建设公司_seo外包顾问服务 茂名网站建设 域名注册网站 关系营销的优劣性 西安网站建设陕icp 郑州网站优化_郑州网站推广_河南网站建设公司_seo外包顾问服务 网络安全管理实践 网络安全必看书籍推荐 2017年的网络安全 网络安全管理实践 flash网站欣赏 在线营销 台州做网站公司 公安网络安全标准 免费pc 微网站模板 网络安全2017大检查 先进网站 试听课营销 传统营销的特点是什么意思 网站改版seo 企业营销型网站有特点 宜春做网站 简约大气网站首页 商城网站都有什么功能 信息安全研究 龙岗 网站建设深圳信科 卫星网络安全 长沙网站设计服务 网络安全管理实践 网站办公室 信息安全服务资质一级 关于网络营销的调查 网站没流量 国家网络安全宣传周周宜昌行动 中山精品网站建设策划 上海信息安全师 珠海品牌网站制作 顺德网站建设要多少钱