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

<a class="close" href="https://2ak.pieng.cn/">&times;</a>
遂宁网站建设小满借势营销海报外贸全网营销方案网站变灰色本地网站建设网络安全法 讲解网站建设团队网站互动在网站中添加百度地图昌平网站设计 叶凡,一个普通的上班族,偶然穿越到大雍修仙世界,成为师门里唯一的男人。 原本天上人间的生活却因系统的奖励让叶凡十分头疼。 “十世元阳之体?!” “童子功?!” “系统,你特喵玩我呢!” 【叮,宿主顶住了四师姐诱惑,道心稳固,童子功等级上升。修为上升!】 【叮,宿主顶住了宗主的诱惑,道心稳固,童子功等级大幅度上升,修为大幅度上升!】 …… 四师姐绿蔓儿:“小师弟求求你了,跟师姐双修吧!” 宗主冷清玄:“乖徒儿,你与为师双修才可振兴宗门,请你务必做出亿点牺牲!” 叶凡:“呔,妖精,休想乱我道心!” 身为挂逼,叶凡身在花丛中,片叶不沾身,一路带领师门成为世上最强! 一桩案件被警察轻易结案。随着遗书的流出,事件有了新的进展。真相到底是什么?到底是道德的沦丧还是人性的扭曲呢? 穿越到文娱行业刚刚起步的平行世界,方淮南激活了影帝系统,可以获得前世任意一位影帝级人物的表演经验! 他一个人就开创了华娱影坛十年的辉煌时刻! 他是《无间风云》里城府深沉的黑帮老大琛哥; 也是《枪燃》里忠义痞气交织的打手阿来; …… 正当所有人都以为方淮南只会演反派角色的时候, 他跑到横店去出演了《猫妖传》里五分钟的配角, 将盛唐气势下,那位如醉似癫的李白演出了神韵! 这时,所有人才知道方淮南的戏路宽阔到何等地步! …… 面对采访,融合了上百位影帝经验的方淮南很谦虚的表示: “我,不过是站在了巨人的肩膀上罢了。”一个乡村少年,在去祠堂的路上,遇到一位道士,而结下不解之缘,命运发生了离奇的变化;他还是个学生,手上却掌控着一只精锐的特战队;一次偶然的战斗经历,给他带来灵感,研发的产品给他带来巨大的财富,终究成为一名红顶商人。黑暗势力为了摧毁药厂,派了大批高手前来破坏,一场硝烟弥漫的消灭与还击的战斗就此展开。不变的乡土,校园的青春,流离的都市,血腥的残杀,一场腥风血雨的历史传奇就此上演…… 本书以男主角,一个农村少年的传奇经历,为线索人物,描写民国时期下通过自己努力而达到事业巅峰的草根励志故事。全书荡气回肠,洋溢着满满的正能量,既有细腻的民生呈现,也有大的家国情怀,场景感人,有泪点,有喜感!希望大家喜欢! 本书由17k小说网首发,请勿转载!一直的不甘,现实的残酷与无奈,生活职业家庭,明明就是为飞扬而生,偏就浑浑噩噩的走近终点个,奇妙的经历后,居然能够大器晚成? 年少的懵懂无知与清贫的前行,青春的躁动却总是无疾而终,内心狂躁却又总是克制的波澜不惊,处处矛盾冲突,这也许就是扭曲的人生.本书描写了葛二两跟师父须菩提学了三十六般变化和高超的武功,携孙悟空、猪八戒、关羽关云长穿越到亘古洪荒的年代,帮助蚩尤和黄帝争夺天下的故事。富二代穿越到红楼世界,成为皇子,本来以为又是躺赢的一生,但‘外挂’降临,主角被迫走上无敌诸天万界的道路。这是个修行琴棋书画就能够获得文气,修炼文道的世界。 在这里挥笔可化万千利剑,杀人无形,弹琴可化天地大道,镇压万世。 读书人口诛笔伐,可化唇枪舌剑,以画勾勒诸天万道。 秦尘心言出法随,才气化剑,笔化龙蛇,开口便是天地规则。 我携三千诗书,可练就无上文道,成就万古圣人。[无限流+灵异+悬疑+鬼怪。] 数十年前,袁文锦的爷爷因为一己私欲,与恶鬼做交易。 把自己孙子献祭给它,便保他一生福贵。 在袁文锦出事后他的爷爷便反悔,他要保下袁文锦。他借助黑暗的力量把袁文锦与一个神秘的地方链接起来。 恶鬼恐惧那力量,一怒之下便屠了他满门。只留下袁文锦一人苟活在世。穿越到玄幻世界,好不容易加入了圣地宗门觉醒了御灵系统 谁想到攒了几个月家底贷款炼制出来的御灵丹就被圣地的圣女师姐误食了 结果因祸得福,获得隐藏奖励 但是接下来的和灵宠服从性测试任务让白云琦傻眼了 “首先是原地转圈!” “然后是摸头舔手!” “最后是以坐骑形态出击!” ....... “师姐,你也不想你在大庭广众之下做服从性测试吧?” 本以为一次是意外,但一次接一次的被其他美少女吃下御灵丹,白云琦的心态发生了微妙的变化:这是御灵还是御人啊......
免费网站模板下载 最强的网站建设电话 网络安全发的基本 本地网站建设 www的网站怎么申请 信息安全工作组 大型手机网站制作 网络技术网站 达内网络营销要学多久 信息安全管理ppt 财运不佳的原因有哪些?咨询【www.richdady.cn】 升迁障碍的职场建议咨询【www.richdady.cn】 有官司的调解技巧【www.richdady.cn】 与老公前世的记忆解析咨询【www.richdady.cn】 塔罗牌占卜与心理分析【www.richdady.cn】 冤亲债主干扰有哪些案例?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺的原因分析咨询【企鹅383550880】√转ihbwel 缺心眼的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的前世因果咨询【www.richdady.cn】√转ihbwel 前世缘份的续写有哪些方法?【www.richdady.cn】√转ihbwel 忧郁症的自我提升【企鹅383550880】√转ihbwel 阴间生活的文化背景【微:qq383550880 】√转ihbwel 升迁障碍的咨询技巧咨询【企鹅383550880】√转ihbwel 冤亲债主对生活的影响咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的自我提升咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的咨询技巧咨询【企鹅383550880】√转ihbwel 婴灵的超度与心理安慰威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的自我提升咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的心理调适咨询【σσЗ8З55О88О√转ihbwel 亲子关系的教育理念有哪些?咨询【www.richdady.cn】√转ihbwel 外贸全网营销方案 网络安全培训 记录 绵阳的网站制作公司 第三方营销平台的发展 b2c网站开发公司网站备案教程 武汉网站开发 4.29网络安全eid 中国信息安全小组成员,-1 定制网站的好处有哪些 下载免费网站模板下载安装 外贸营销邮箱 小满借势营销海报 网络安全公司 获客 枣庄做网站 邮箱营销案例 宁夏网站设计 网络安全发的基本 长春微信做网站 无锡网站建设原则 网络营销学习 金融网站建设 www的网站怎么申请 一个网站的主题和设计风格 网络安全学院 清华大学 网络安全协议:原理、结构与应用 大型手机网站制作 遂宁网站建设 大型手机网站制作 全球网络安全企业500强 信息安全未来10年,-1 医药企业网站设计制作 免费建立自己的网站 2015年网络安全形势 2015年网络安全形势 网络安全发的基本 什么是营销型手机网站建设 中国信息安全测评中心属于 信息共享与信息安全 达内网络营销要学多久 信息安全认证包括哪些 中国信息安全小组成员,-1 网络营销开始先怎么做 网络安全审计终端 信息安全产品与方案 自己做网站 万州网站建设 iscc信息安全与对抗 电器 网络营销 网络营销售后服务 网站建设 中企动力公司 医药企业网站设计制作 东软网络安全工作室 遂宁网站建设 网络营销售后服务 一个网站的主题和设计风格 信息安全 全球排名 免费建立自己的网站 国务院负责统筹协调网络安全工作 分析公众平台营销策略 营销宏观环境分析因素分析 达内网络营销要学多久 企业网络安全体系建设 4.29网络安全eid 如何宣传网络安全 微黄式营销 北京企业建立网站 网络安全信息安全实验室 网络安全运维管理系统 iscc信息安全与对抗 俏江南营销 www的网站怎么申请 金融网站建设 网络安全培训 记录 什么是营销型手机网站建设 高端网站设计建设 网络安全协议:原理、结构与应用 如何宣传网络安全 网站定做 国家网络营销师 旅游网站设计模板 通州网站建设 信息安全产品与方案 简述网络营销组合内容 定制网站的好处有哪些 小满借势营销海报 网站创建公司 什么是信息安全保密 自己做网站 最强的网站建设电话 网络安全名词 网站建设发布 www的网站怎么申请 网络技术网站 大学营销部 中国信息安全小组成员,-1 信息安全管理ppt 长春微信做网站 达内网络营销要学多久 加建网网站 中国信息安全网组长 网站代理维护 杭州 网站建设公司排名 公安部网络安全规定 昆明网站开发多少钱 第三方营销平台的发展 百度营销部 信息安全管理ppt 信息共享与信息安全 国内网络安全研究机构 宁夏网站设计 嘉兴网站设计999 999 旅游网站策划书 万网做网站 网络安全专家 常州网站制作企业 万州网站建设 cdn网络安全 网络信息安全硬件设备 重庆网站制作 如果做到信息安全 企业网络安全体系建设 下载免费网站模板下载安装 枣庄做网站 公安部网络安全规定 信息安全认证审核员 无锡网站建设原则 北京企业建立网站 网站互动 网络安全审计终端 网络技术网站 杭州 网站建设公司排名 万网做网站 成都营销策划 网络营销研究目的 网络安全法 讲解