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

<a class="close" href="https://xpxf.71119.cn/">&times;</a>
黄鑫信息安全竞赛网络安全 江苏信息安全联合实验室网络安全法 正式互联网推广营销学院全国信息网络安全协...网络安全 g20保定 网站建设全球网络安全市场报告信息安全有关的专业别条龙都是纯种的,生来高贵,而江尘只能从最底层向上爬; 别的修士可以拼法宝,势力,而江尘唯有拼命; 别人天赋异禀,而江尘则是资质平庸; 但江尘还有她!重生武宗世界,张三丰、东方不败、上官金虹、小李飞刀、剑神谢晓峰等群雄并起,左冷禅表示惹不起惹不起,先苟为敬。 且看左冷禅用现代管理知识武装门派,打造最强嵩山的故事。魂穿崇祯却发现自带华夏图书馆,整顿吏治,训练新军,平内安外,科技强国第一步先从留住魏忠贤开始。 东林意图众正盈朝?可曾问过厂卫刀还利否? 鞑子于辽东意图糜烂中原?可曾听闻枪与火炮轰鸣? 东瀛时常滋扰海防?与其日日提防不如给大明添座石见银山? 知识改变世界,放牧北美,开矿澳洲,殖民印度,脚踩东欧。 枪炮铸我铁血大明,科技铸我宏图盛世。 朱由检:海内诸国,皆为臣属,有明一朝,日月不落。被鲜血洗涤, 也不能使信念动之分毫 被黑暗笼罩, 光芒永不熄灭! 千年过往,揭露自己身世。 迪诺外传,暴露任务秘密~ 一切都是骗局? 不,你所想象的,远不及那一切的真相! 《米瑞斯之诺亚光辉》第二部强势来袭。 拯救阿玛迪斯星的征途中,也不妨一起来探寻,米瑞斯与米梦樱的秘密吧!“别人是被炮弹追着轰,我特么是被核弹追着炸!” 核弹灭世之后,主角被迫寻找修道寻仙之路。 然而作为一位修仙小白,遭受修仙门派收徒时的白眼。 “小白!你境界都没有!”守护修士冷眼看了过来。 “没有资格入门。” 可是主角我有金手指啊! “我特别强调一下:打我的时候需要控制力量,不许使用超过一成的力量!” “你们总是不听话!” 安临渊把头仰起,45度朝向天空, “我说不许使用超过一成的力量是在保护你们!” 在凡人地界,核武末世下走投无路的安临渊,迫不得已,被逼入进入阿尔卑斯门,寻求庇护。 安临渊开始走向修仙道路。 即使安临渊已经遁入阿尔卑斯门修仙求道,凡人地界依然未放弃对安临渊的追杀。 安临渊不断遭遇各种追杀。随着修仙境界的不断提升,被追杀的同时,也展开自己的复仇行动。时间的滚轮在某一刻轧过,将无数人的命运牵入其中。堕落天使看见了涯角的希望。裂空中传来的号角声,揭开了冒险的帷幕,故事从亘古已经开始,关于第四大陆的秘密,将被揭开。 封林是一个在北京潘家园旧货市场开旧物店的小老板,一次在给店里的老房屋装修的机会,竟然在家里墙壁地下暗格发现一个密室,不太大的密室角落里有着一口上了锁的红色的木箱子,盒子打开后里面有着几样东西,一块巴掌大纯金的腰牌。 一本非常破旧的遁甲巫术古书, 还有着一本记录了很多秘事的明朝古书,还有一张残缺不全的地图,箱子里面藏着很多的秘密,让他知道了自己的家族竟然是一个传奇盗墓家族的后人 从古至今的家族秘密缓缓的被揭开,父亲的突然消失,也与此事有关,是为了寻找哪些传说中的东西。 自己兄弟的回归,退役特种兵赵雷,去追寻着父亲的脚步去寻找那传说中的古遗迹,不得不踏入那些恐怖之地。 入活人的禁区,与僵尸斗法,与活人斗智,有一张尸面的鬼狐仙,荒冢野坟墓里的媚女,害人的白皮千年老狸子,披着美女人皮的行尸走肉,几十年难得一见沉没在海里的幽灵鬼船。 一张残破不全的地图,一截刻满符文的龙骨,到底藏着什么秘密? 鬼事悬疑,原于阴集,大道降服,魔鬼怨积……胥.小康十三年。 寒门少年韩复,携一纸婚约,叩开随国公府门,欲娶玉面罗刹、扫眉将军秦昭宁为妻。 哪知秦家当面悔婚,且言语羞辱,并施舍千贯铜钱。 志在帝王的穿越者,只取三文予以回击。 恰逢秦周两家意欲联姻,合谋摆擂、比诗招亲。正得意之际,韩复登擂。 “秦平,你儿辱我骂我,你也不曾正眼瞧我,我抢你个儿媳,不过分吧?” 个人V信:guoxiying486新历二百三十年,一切发生的太过突然。 以游戏形式相连的异世界,紧随其后突然出现的秩序。 恍若隔世般,这个世界变得愈发魔幻。 死亡不再是人的终点,遗忘才是。 能源不再是人们需要忧虑的,能量不再守恒。 这里,被迫和平。那边,乱世方才拉开帷幕。 “我没有什么追求,能看到自己有什么东西继承下去,就心满意足了。”
创新的南昌网站制作 泰安网站建设公司 网络安全科技公司 信息安全联合实验室 美国网络安全立法 蓝色网站 成都网站设计制作工作室 长春网站优化 网络安全培训过程 中华人民共和国计算机信息安全保护条例 如何应对冤亲债主的干扰?咨询【www.richdady.cn】 化解咨询【www.richdady.cn】 忧郁症的咨询技巧【www.richdady.cn】 如何维护良好的家庭关系?【www.richdady.cn】 婴灵的超度方法【www.richdady.cn】 婚姻生活不顺的解决方法咨询【企鹅383550880】√转ihbwel 如何改善财运不佳的情况?咨询【企鹅383550880】√转ihbwel 前世今生的轮回存在吗?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职业发展如何规划?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财富增长威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何发现前世缘份【企鹅383550880】√转ihbwel 家庭关系的自我提升【σσЗ8З55О88О√转ihbwel 有官司【www.richdady.cn】√转ihbwel 学习成绩差的自我提升【σσЗ8З55О88О√转ihbwel 感情纠纷的情感疏导【微:qq383550880 】√转ihbwel 前世缘份的重逢有什么迹象?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场突破咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的家庭支持咨询【微:qq383550880 】√转ihbwel 广州南方信息安全产业基地有限公司 汉中建网站 佛山微信网站建设 个人网络安全的重要性 重要保障期间网络安全保障方案 信息安全应急处理服务一级资质 互联网信息安全解决 网站营售 天津个人做网站 如何建立个人网站 网络信息安全实施意见,-1 南昌企业网站设计 6p营销要素 信息安全系统控制,-1 国内网络安全问题事件 微信营销的特点有 免费企业营销网站制作 网络安全 主动出击 教育数据中心网络安全方案 网络安全科技公司 网站写文案 蓝色网站 香奈儿网络营销策划书 衡水移动端网站建设 哈尔滨的网站设计 信息安全资质 咨询 全国大学生电子设计竞赛信息安全技术专题邀请赛,-1 信息安全资质 咨询 信息网络安全答案 网络安全法 正式 江苏省网络与信息安全协调小组 网站制作字体 腾汛网络安全赛 信息技术与信息安全 防范系统攻击的措施包括 乐清网站推广公司 深圳外贸响应式网站建设 信息安全评估多长时间 网络营销理解不正确的是 第三方信息安全评测 外卖营销方式 信息网络安全答案 信息安全有关的专业 掌握网络安全技术 全球网络安全市场报告 创新的南昌网站制作 公共网络安全 网络营销小案例分析 房地产 网站 设计制作大连建网站公司 你在平时是否遭受过网络安全问题?是怎么解决的? 网络安全培训过程 网站建设教程浩森宇特 中华人民共和国计算机信息安全保护条例 2017 信息安全展会 教育数据中心网络安全方案 江苏省网络与信息安全协调小组 信息技术与信息安全 防范系统攻击的措施包括 网络安全科技公司 全国大学生信息安全竞赛2017 合肥网站设计高端公司 第三方信息安全评测 建网站中企动力 网站做好了每年都要续费吗 信息安全是程序员吗 网站建设信息 网站大小 营销培训基地 网站营售 网络关键设备的网络安全专用产品 广州网站设计公司排名 宜昌网站制作 广州南方信息安全产业基地有限公司 网站制作字体 上海信息网络安全备案 中国信息安全测评中心 上级主管部门 网站建设信息 互联网信息安全解决 网络营销项目管理策划方案 搭建网站 网页 深圳外贸响应式网站建设 网站站内优化 信息安全资质 咨询 自建网站平台的页面功能 网络安全管理局巡视 免费企业营销网站制作 全国信息网络安全协... 信息安全峰会2017 python 3.5网络安全 信息安全是指 网络安全技术文档 中小企业营销培训 佛山微信网站建设 广州南方信息安全产业基地有限公司 信息安全 ssl 保定 网站建设 邮件营销合法吗 一个网站做几个关键词 个人网络安全的重要性 建网站中企动力 宜昌网站制作 上海营销推广公司 网站和app的关系 网络安全 江苏 信息网络安全接入技术规范 国内网络安全问题事件 密码技术是网络安全 中国网络安全技术 一个网站做几个关键词 校园网网络安全的动能 汉中建网站 四川网站建设 网络关键设备的网络安全专用产品 深圳网站备 香奈儿网络营销策划书 网络营销的职务与职责当前php环境关闭了文件上传功能网站将无法上传图片和文件 第十届信息安全 首例网络安全法 外卖营销方式 郑州做网站的外包公司 国家网络与信息安全信息通报中心网站家具公司想组建一个电商团队做一个b2c网站需要那些人员 北京做网站公司 网站做好了每年都要续费吗 信息安全框架示意图,-1 各类企业网站案例 信息网络安全接入技术规范 网站seo外链 如何建立个人网站 营销培训基地 太原建网站 朋友圈信息安全 信息安全是程序员吗 网络安全 江苏 邮件营销合法吗 网站建设教程浩森宇特 你在平时是否遭受过网络安全问题?是怎么解决的? 重要保障期间网络安全保障方案