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

<a class="close" href="https://26nno.yaonang.cn/">&times;</a>
对中华人民共和国网络安全法的认识发生网络安全事件后北京营销培训课程网络安全软件滨江企业郑州网站优化公司响应式网站设计的要求青岛外贸网站建站公司上海做网站的公外贸网站建设及推广网站快速收录陈东一觉醒来,发现自己重生到遍地是黄金的1990年。 带着前世的遗憾,从卖茶叶蛋开始…… 金融危机,石油危机,粮食危机…… 在一次次黑天鹅事件中,陈东弯道逆袭。 他用敌人最擅长的资本告诉大家。 此刻,东方的巨龙已经觉醒!我本是一个默默无闻的高中生,没有帅气的外貌,没有显赫的家庭,每天的生活也平平淡淡,只有学习陪伴着我,直到高二时我们班来了一个转校生……这里才是战鹰战隼的正文,上一部是序章。如果想了解故事情节,请看上一本书。 公司突然把丁海调到一个岛屿上面,丁海如何见证空军部队从二代转为三代的历程。请看本书。奉师命下山治病的叶秋,凭借亿点点高强医术,让各路美人闻鸡起舞,无法自拔。 “叶秋,你除了医术高强,精通道卦玄术,有一堆国色天香的女人拥戴以外,你还是个啥?” “抱歉,我还是个美男子!”拥有【满级肉身】的苏叶,穿越异界,成为显魔宗疯魔院的杂役弟子! 被女魔头吊着打,获得天魔神掌。 被老魔头拿头撞,获得种魔大法。 被小魔头当沙包,获得霸王神斩。 …… 在疯魔院当杂役这些年。 有郁郁寡欢的师妹,来疯魔院供奉魔头,经苏叶指点,修成九世女帝! 有身世卑微的凡人,来疯魔院供奉魔头,经苏叶调教,成为天下共尊的魔皇! 有朝廷弃徒的皇子,来疯魔院供奉魔头,经苏叶点拨,成为横扫大陆的一代帝王! * 六十年后,魔道天榜揭示,排序魔道强者,苏叶独占鳌头! 榜单备注——神魔共主! ……云起龙骧,化为侯王。 华夏龙隐特种大队指挥官云尘意外魂穿平行时空,成了北赵逍遥侯嫡子云尘。 本想寻一处山水,结草庐一间,忙时种田,闲时钓鱼,如此,一生。 奈何逍遥侯云擎阵前重伤坠马不知所踪,一时间朝堂诡谲,暗流涌动,江湖动荡,风起云涌。 一脚踏入上京棋局的云尘,真的只是一枚棋子吗? 且看纨绔世子如何搅动九州风云! 云尘:本世子力保皇子赵政继承帝位,谁赞成?谁反对?! 西秦:亡我国朝者,无耻之徒云尘也! 南齐:瑟瑟发抖+1 东吴:瑟瑟发抖+2 胡虏:瑟瑟发抖+10086 江湖:……这里,现实与虚幻的分界点,而外边,是逐渐笼罩的黑暗。 你们这群疯子,都想探寻真相是吧?那就去吧,真相藏在外边,藏在历史和迷雾中!被自己师父带到本不属于他的世界中,师父的失踪让他知道了曾经对他们百般照顾的人类是有多么虚伪。“你们都只是相信你们想相信的,根本不管真相是什么!” “什么善与恶,什么正与邪,都**是狗,屁!” “利益,这才是你们最关心的吧?” “什么,种族不相同?人,魔两立?扯淡!” “你们才是最应该从这个世界消失的!所以,安静的消失吧!”一个失去记忆的年轻人为了生存加入拾荒者大军,随着不断地探索,记忆也在慢慢恢复。时间流逝,脉络日渐清晰,彼时他才恍然,谁都无法逃脱命运的拨弄……顾八方携带《武学加点系统》穿越异界,本以为是低武世界,谁知竟然遇到了邪灵妖魔。 面对武者完全无法对付的邪灵,顾八方丝毫不慌,他开启武学加点提升,无限变强之路。 四十年功力! 八十年功力! 一百二十年功力! 当顾八方横推一切,拳裂天地,脚踏苍穹之时,高高在上的至尊们才彻底惊醒。 大乾人皇:谁言邪灵不可灭,八方一出天地清! 浩然宗主:顾八方,天下第一奇才,我愿称他为武道最强。 岳麓院长:见过顾八方,我才知道什么叫勇、悍、莽! 邪灵宗主:我和顾八方,到底谁才是最大反派啊?
营销项目的推广技巧 网站推广策略 网站顾客评价 全国信息安全等级保护技术大会,-1 网络安全大赛视频下载 信息网络安全学院 外贸网站建设及推广 营销销售的区别是什么意思 郑州网站优化公司 浙江网站建设企业 官司的案例分享咨询【www.richdady.cn】 脑部不清晰的环境影响【www.richdady.cn】 精神不振的解决方法咨询【www.richdady.cn】 前世今生的缘分再续咨询【www.richdady.cn】 解梦的前世影响【www.richdady.cn】 灵性成长工作坊咨询【σσЗ8З55О88О√转ihbwel 存不住钱的前世因果【www.richdady.cn】√转ihbwel 孩子厌学的自我提升【企鹅383550880】√转ihbwel 婚姻生活不顺的前世记忆咨询【微:qq383550880 】√转ihbwel 前世今生的故事解析【企鹅383550880】√转ihbwel 解梦的案例分享【企鹅383550880】√转ihbwel 婴灵的存在有哪些科学依据?咨询【企鹅383550880】√转ihbwel 事业不顺的解决方法【www.richdady.cn】√转ihbwel 孩子压力大威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的识别方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世故事咨询【微:qq383550880 】√转ihbwel 家宅磁场对居住者的影响咨询【微:qq383550880 】√转ihbwel 过世前可能出现的征兆咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的常见案例咨询【企鹅383550880】√转ihbwel 怎么在网站上添加地图 济南网站建设和维护 网络安全 培训内容 网络安全 闭环 网站视频主持人 蓬莱做网站 信息安全等级培训教程 教育网站设计 信息安全等级保护大会 微博营销网 单位信息安全等级保护工作的组织领导情况认识网络营销调查的基本方法是 网络安全防护方案 网络信息安全的小说 阿里营销网 山东网络安全大赛 信息安全 口令 好模板网站 微信网站模板 网络安全研究趋势 对中华人民共和国网络安全法的认识 网站怎么建 深圳做企业网站的公司 重庆公司建网站流程 cmmi 网络安全 郑州微网站建设 沈阳谷歌网站建设 郑州网站优化公司 网站访问者 郑州网站建站 口碑会员营销经典案例 建网站代码 网络安全信息工作协会 石家庄做网站 番禺网站建设专家 信息安全需求不包括 网站访问者 青岛外贸网站建站公司 百度知识营销是什么 动态网站怎么做 怎么在网站上添加地图 网络营销公司 深圳专业集团网站建设 信息安全等级保护 挑战 互联网金融与网络安全 济南做网站 信息安全亮点 深圳 网站制作 网络安全 培训内容 建立免费公司网站 社区网站信息安全 网络安全评价标准 信息网络安全学院 信息网络安全学院 模版型网站是怎样的 顺的网站建设信息 网站视频主持人 苏州网络营销公司 网络安全工程师和黑客网络安全重点保障单位 信息安全员证书 新疆信息安全测评中心 网络安全论坛 网络对营销的好处 全球网络安全会议 信息安全等级培训教程 网络安全艺术字 网站本地调试用localhost上传服务器该如何修改 社区网站信息安全 全国网络安全等级保护测评机构推荐目录 不属于网络安全技术 网站托管费用 公司建网站流程 网络安全 要求 信誉好的龙岗网站设计 网络安全企业50强2017 网络营销论文 微博营销网 公安部网络安全对抗赛 南京做网站的有哪些 网络安全 敏感数据 单位信息安全等级保护工作的组织领导情况认识网络营销调查的基本方法是 信息安全技术与产品 安徽信息安全测评中心 计算机网络安全漏洞 网络安全防护方案 网络安全防护方案 网络安全论坛 网络安全信息工作协会 口碑会员营销经典案例 包头市计算机公共网络安全协会 网络安全学啥 响应式网站设计的要求 网站建设及优化 赣icp 企业网络安全发展 网络科技信息安全制度 佛山h5网站公司 北京信息安全等级保护,-1 网络安全学啥 网络营销的微观因素 微博营销网 快速网络营销 网络营销 实践 360wifi网络安全密钥 信息网络安全学院 浙江网站建设企业 python 网络安全顾问 信息安全员证书 教育网站设计 蓬莱做网站 信息安全等级保护大会 大学生与网络信息安全 网站怎么建 阿里营销网 信息安全监管机构清单 租网站空间 手机网站开发制作 重庆綦江网站制作公司推荐 网站备案流程 2017网络安全现状 网络安全主要涉及信息存储安全信息传输安全 网络安全论坛 关于共建网络安全的文章 义乌做网站 建网站代码 外贸网站建设及推广 信息安全等级保护 挑战 深圳 网站制作 公安部网络安全对抗赛 南阳做网站 北京信息安全等级保护,-1 顺的网站建设信息 蓬莱做网站 延安网站建设公司电话 网站设计公司 无锡 全国网络安全等级保护测评机构推荐目录 网络信息安全监测