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

<a class="close" href="https://trgpcn.shenzou.cn/">&times;</a>
网站专题页面文案设计京东的网络营销方式推广微信营销手机厂家扩展名网站高端品牌网站建设投资网站维护关于网络安全的资料网络与信息安全要求星巴克与微信营销营销网络图国家推进网络安全什么服务体系建设男女主角一起拯救世界的故事?此篇文章并非笔者原创作品。只是近来想到,文言文的书籍对于大多数人来说存在阅读困难,而通用的译本又比较单调乏味,于是笔者便想到何不用另一种手法将那些好的古文故事复写一遍,添加些许自创的情景和想法,尽量让故事看起来更有趣一些。于是首先选定了《聊斋志异》这本书。当然,还是推荐大家去读一下蒲松龄先生的原文,体会一下这个古代文学的写作手法,感受一下那些古词韵句,那是真正的经典绝伦、回味无穷啊。我出生那天,父母上吊自杀,村里人想要拿我祭河神。 洪水围而不退,爷爷将我丢进河里,九龙拖着我回来。 我的命是爷爷给的,爷爷留给我的姻缘和造化,居然有人妄图染指。 人性的丑陋、欲望的贪婪、索命的黄泉。 为了活下去,我必须要完成我的使命!郡主家里养赘婿,弹琴赋诗通文艺,家里男人样样好,就是没个男人样。一位部队退伍的小伙子,机缘巧合做了乡镇书记的司机,从此开始了他在官场上的逆袭之路游戏俱现,五开玩家李长生,突然获得五个号的修为! 别人满级200,李长生:“我1000级什么鬼?” 别的玩家只能选一个职业,李长生:“你见过八块腹肌的法师吗?” 宇宙广袤无垠,充满未知与神秘…… 生命的种子隐匿散落于角落中,它们暗自发展,走向蓬勃…… 谁是,偷偷开启了抑制基因的枷锁,悄悄解开了万物的束缚…… 万物在进化的道路上急速演变…… 三千大种族族、万千世界、从此走向了历史的舞台…… 这是故事?这或许更是一本史记,一部讲述他生平沧海一束的残篇而已……当书店里扫帚自己动了起来,书本可以自动回到原位,书店能自动选择顾客,还能给老板颁发任务,一切都将变的不一样……穿越成大明最后一个皇太子,朱慈烺觉的压力很大。 在这个非外挂不能救的大明,还好神级选择系统降临。 【怒怼当朝首辅,奖励两千戚家军,奖励项羽之力!】 【斩杀贪污正三品府尹,奖励秘鲁铳制作工艺。】 【斩杀临阵脱逃赵国公,奖励神机大炮。】 【不破不立,清洗腐败朝堂,奖励世界地图!】 射程即是真理,口径即是正义。 破敌蔻,除跶掳,解海禁,让大明的荣光响彻世界!“我这人其实没什么才华,论画饼我是专业的。” 面对记者的采访,杨诚大放其词地回答。 “呃...除了画饼,还有别的才华吗?” “馏馍吧,我馏馍挺6的。” 杨诚一脸自豪地回答。 数百名记者面面相觑:“那你对另一半有什么要求吗?” “那必须得会败家,她不败家岂不是浪费我的财华”
至设计网站 山西信息安全技能大赛 无线网络安全性如何 网络安全实验室综合关 静态营销网站代码 投资网站维护 郑州网站优化 高端品牌网站建设 公共网络安全厂家 营销的名词 婴灵的超度与心理安慰咨询【www.richdady.cn】 如何预防过早离世咨询【www.richdady.cn】 外灵的预防措施【www.richdady.cn】 事业不顺的解决方法【www.richdady.cn】 精神不振【www.richdady.cn】 婴灵的超度流程咨询【企鹅383550880】√转ihbwel 婚姻生活不顺的心理调适咨询【企鹅383550880】√转ihbwel 缺心眼的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的咨询技巧咨询【www.richdady.cn】√转ihbwel 孩子厌学的辅导方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产对股东的影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的幸福指南有哪些?咨询【企鹅383550880】√转ihbwel 迟缓儿咨询【www.richdady.cn】√转ihbwel 事业不顺的职业规划如何制定?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场突破技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的案例分享【微:qq383550880 】√转ihbwel 心特别累的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 化解祖灵的仪式流程【企鹅383550880】√转ihbwel 学习成绩差的案例分享【σσЗ8З55О88О√转ihbwel 建网站备案 网络安全数据安全 信息安全测试方法 2017全国高校网络安全 2014年第二届信息与网络安全国际会议 网络安全实验室综合关 国家领导人信息安全 微博营销文案案例 西电信息安全专业排名 公司信息安全ppt 中国网站建设公司百强 企业网站欣赏 网站建立需要多少钱 互联网产品营销 常用的信息安全技术""是哪几种?" 海安做网站 沈阳做网站有名公司 浙江网络安全宣传周 全网营销套餐 微网站和微信 国家信息安全实验室 网络信息安全周,-1 网站建设教程 网络安全培训机构 网络信息安全设计方案 信息安全技术研究中心,-1 顺义广州网站建设 国家信息安全师 公安部 2017年国家网络安全周活动主题 企业网站改版升级 信息安全等级保护管理办法 信息安全的最新技术 上海众人网络信息安全 国家领导人信息安全 小企业网站免费建设 信息安全事件记录 投资网站维护 网络安全 律师 营销销售 武汉做网站最牛的公司 移动宽带营销信息报道 公安部第三研究所信息安全技术处 中国密码与信息安全 汉邦信息安全 综合强审计监控系统 云南网站设计 网络安全公司 江苏 网络安全 数据分析 软文营销的推广技巧 广州网络安全学校 微信品牌营销案例 贵州网站优化 网络世界 网络安全 网络信息安全课程报告 网络安全用户信息包括 直接网络营销和间接网络营销 营销的名词 网络安全展台 网络营销外包协议 网站建设咨询公 网络安全网站有哪些 软文营销的推广技巧 中国中央网络安全和信息化领导小组办公室 网络安全 端口 qq推广营销方案 信息安全年会 国家信息安全实验室 网络安全 存在问题 2016网络安全峰会 公安部第三研究所信息安全技术处 信息安全年会 公安部网络和信息安全处 邮件营销edm 西电信息安全专业排名 2014年第二届信息与网络安全国际会议 casb 网络安全 直接网络营销和间接网络营销 传统营销和内容营销 中国密码与信息安全 搜索营销 网络安全实用宝典 小企业网站免费建设 网络与信息安全要求 海安做网站 信息安全测试方法 公司网站url 网络安全数据安全 网络信息安全攻防 无锡企业网站制作公司 汉邦信息安全 综合强审计监控系统 信息安全包括数据安全和 网络安全实用宝典 网络信息安全特点有 互联网营销网站 企业手机网站建设信息 最新网络安全故事 网络信息安全的图片,-1 信息安全技术研究中心,-1 珠海营销 网络安全展台 沈阳做网站有名公司 2014年第二届信息与网络安全国际会议 上海交通大学信息安全服务技术研究实验室 佛山网站建设的首选 《信息安全服务资质》安全工程一级 学网络营销的好处如何解决网络安全问题 微营销运营 网络信息安全的图片,-1 如何黑网站 信息安全的最新技术 常州网络营销外包 2016网络安全峰会 基于区块链的信息安全,-1 cncert网络安全对抗赛 网络安全 数据分析 武汉做网站最牛的公司 中山网站建设文化策划书 信息安全等级评测师 网络营销方面做的比较好的企业(产品)的一个经典案例ppt 网络安全专利 常用的信息安全技术""是哪几种?" 网络营销渠道的特点是 网络安全应急中心 武汉信息安全与人才 南阳手机网站建设 网络安全区域划分 不用防火墙 策划口碑营销的关键 全球网络安全 星巴克与微信营销 网站建立需要多少钱 网络安全攻击例子 上海交通大学信息安全服务技术研究实验室 湖南省公安厅网络安全 微信营销文案 网络营销证书在哪可查 关于网络安全的资料