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

<a class="close" href="https://tvf.1200.net.cn/">&times;</a>
网络安全讲师广州域名企业网站建站哪家好上海最好网络安全公司排名信息安全2015电子邮件营销是指什么意思如何为公司做网站计算机信息安全技术 付法国网络安全自己怎样制作公司网站成都 企业 网站建设信息安全部全称诸天气荡荡,我道日兴隆! 楚风穿越到神秘莫测的世界,悲催的发现自己是个瞎子... 外加没有修炼天赋,只能前往蜀山剑宗的封魔塔,擦拭雕像,却不曾想得到了观像就能得到奖励的系统。 【你成功观像蜀山老祖,获得通天圣体!】 【你成功观像蜀山掌教胜七,获得功法,霸天剑典!】 【你成功观像蜀山长老叶玄,获得顶级道法,一剑定生死!】 …… 三百年后,堕落的正道之首乱天宗,联合曾经毒瞎楚风双眸的拜月神教进攻蜀山剑宗,蜀山剑宗危在旦夕! 楚风持剑,脚踩祥云,俯视妖邪,俾睨天下! “仙人之下,我无敌!” “仙人之上,一换一!”樱花落在玫瑰园里,一场伺机而动的较量即将开始。名面上的友好相处 背地里的暗争黑斗 在这繁华人世间 究竟有多少秘密 历史的长河 宛如藏着不可告人的真相… 随着时间的沉淀 这层真相的薄纱被慢慢揭开秦风被迫从游戏界龙头企业辞职后,加入了一家只有几个人的小公司。 制作游戏,我秦风还没服过谁。 看不起小游戏?《开心消消乐》《神庙逃亡》教你做人。 单机游戏没落了?仙剑系列,魂系游戏,剧情或难度,总有一款玩哭你。 网游模式单一?LOL,绝地求生,自走棋,这回不是打怪升级了吧? 就凭做游戏,也能做首富! 不信?做给你看!股市,是上帝留存在世间的最后一个伊甸园。 这个伊甸园,是圣人的天堂,凡人的地狱。 不管是圣人又或者是凡人,都被贪婪与恐惧所支配着。 稍不留神,便可能马失前蹄。 是驰骋在天堂里超凡入圣,还是在地狱里摸爬滚打,所有干系。 都寄于…… 指尖之上。天外之星坠入地球,带来了可怕的灾难,也带来了无穷的机遇。 一个意外获得圣石的“普通人”,进入了一个神秘的网站,开始了他向着最终的旅途。 这是我们人类的世界,也是这些超能者的世界。洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”千人千面,千人一聚。白虎堂让素不相识的人聚在一起,有了羁绊,就有了意义。人们认为这世界有七大罪。 傲慢、嫉妒、暴怒、懒惰、贪婪、暴食和色欲。 然而,犯罪与否,并非由纸张上的律法书写。 横亘在中州大陆上的创生之壁,将人所做的恶事同步到所有人的脑海中,然后,人们将决定对犯人是否进行惩戒。 是……或否! 如果否占了大多数,罪人将被创生之壁投入到那一边的土地。 那个……被称之为地狱的地方! 萧衍不知道自己是否是第一个从地狱爬出来的人。 五年前的高中生杀人案,曾彻底改变了他的一生。最后,他被所有人投票扔进了地狱。 但只有他才知道,他不是杀人凶手! “那么……我真的回来了。突然做回人类,感觉还真是有点不适应啊。” 创生之壁下,黑衫少年咬着草根,没人注意到,少年的胸膛上,一道古怪的七芒星纹身一闪而过。 在城市中,人们发现自己身边的朋友总是会流传着一种说法 不要自己一个人待在一个没人的地方太久 或许会消失也说不定,谁知道呢? 进入暗室,进入新的世界,或许我们能找到答案
安徽信息安全测评中心 2016网络安全雅虎 广州专业网站制作哪家专业 设计类网站 营销型网站的建设 上海银基信息安全技术 信息安全的法规全网营销模式 信息安全等级保护安全建设专业技术人员证书 郑州网站建设最独特 天融信网络安全准入 家庭关系咨询咨询【www.richdady.cn】 婴灵的感应现象【www.richdady.cn】 亲子关系的共同成长方法有哪些?咨询【www.richdady.cn】 儿子抑郁症的治疗方法【www.richdady.cn】 提高情商的方法咨询【www.richdady.cn】 感情纠纷的原因有哪些?【企鹅383550880】√转ihbwel 前世缘份的重逢故事威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵的种类咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的原因分析咨询【σσЗ8З55О88О√转ihbwel 与男友前世的前世缘分【微:qq383550880 】√转ihbwel 婴灵对家庭有哪些影响?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的心理调适【www.richdady.cn】√转ihbwel 缺心眼的表现及成因【www.richdady.cn】√转ihbwel 孩子不爱读书的家长引导咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的前世解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的前世缘分【www.richdady.cn】√转ihbwel 投资项目的风险评估咨询【www.richdady.cn】√转ihbwel 孩子学习不好的原因分析【σσЗ8З55О88О√转ihbwel 暗恋的前世因果【σσЗ8З55О88О√转ihbwel 耳鸣的解决方法【www.richdady.cn】√转ihbwel 高端网站案例 网络安全考试网址 保护网络信息安全 2017信息安全趋势 网络运营商制定并不断完善网络安全战略 产品网络安全管理流程 全国信息安全等级保护技术大会,-1 网络安全公司有哪些 安徽信息安全测评中心 国家网络安全周 文件学习 天融信网络安全准入 营销推广方案 南昌网站建设公司渠道 东营网站建设 长安做网站 什么是病毒性营销方法 专业做网站 成都 企业 网站建设 信息安全等级保护安全建设专业技术人员证书 郑州网络营销技术学校 全国信息安全等级保护技术大会,-1 广西汽车网网站建设 东莞做网站 如何利用网站来提升企业形象 网络安全一点通 巴彦淖尔市 网站建设 淘宝营销图 计算机信息安全技术 付法国网络安全 南昌建网站 信息安全的法规全网营销模式 珠海网站seo 石家庄网络营销 信息安全2015 网站改版收费 网络安全法 行业 信息安全 情报,-1 重庆网站制作公司 营销型企业网站建设教案 重庆市网络安全协会 郑州微网站 网络和信息安全通报实行多少小时联络制度 2016国家信息安全政策 篇高端网站愿建设 北京市网络与信息安全信息通报中心 信息安全领导小组 惠州网站制作 2016网络安全雅虎 营销号推广报价 连网站建设 郑州网站建设最独特 营销型网站设计乐清企业网站建设 监控网络 网络安全 全国专业信息安全服务资质咨询公司,-1 专业做网站 网络营销教程视频教程 呼和浩特网站建设 营销型企业网站建设教案 东营网站建设 厦门微网站建设网站建设新趋势 国家网络安全周 成都 企业 网站建设 创意网站建设 国家网络安全周 全国专业信息安全服务资质咨询公司,-1 全国信息安全等级保护技术大会,-1 北邮 信息安全培训大会 信息安全2015 免费设计网站 浙江省网络安全周 网络运营商制定并不断完善网络安全战略 网络安全部署情况 营销型网站的建设 企业网站建设亮点 2016网络安全雅虎 信用信息系统安全保护级别 测评资质 公安部信息安全等级保护评估中心 如何做全网营销方案 制定网络安全解决方案 网站控制 互联网营销 的方法 北京专业网站建设 网络信息安全 教材 政府网站 欣赏 郑州网络营销技术学校 信息安全等级保护安全建设专业技术人员证书 网站的目标 网络安全理想 成都市网站建设重庆 网络营销 推广 网站怎么申请 国家网络安全周 文件学习 免费网站专业建站 网络安全理想 广州外贸网站建设 聊城做网站 如何利用网站来提升企业形象 广州外贸网站建设 霸屏营销推广 网络营销之黑客技术 设计类网站 网络安全考试网址 网络安全法 行业组织 五级网络安全状况 危 信息安全等级保护 石家庄网络营销 网络安全的论坛 国内欣赏电商设计的网站 信息安全的法规全网营销模式 百度网络营销 专注合肥网站建设 开商城网站 网络安全等级保护2.0 免费建站网站有哪些 营销型网站建设制作 深圳专业网站制作多少钱 信息安全产品评测 网络安全法 行业 网络营销教程视频教程 如何报考网络营销师 天钥网络安全审计系统 北京网络安全工程师培训 曲阜做网站 信息安全 情报,-1 在线营销 天钥网络安全审计系统 国家网络安全问题 上海网站建设在哪 哪个标准用于信息安全 国家网络安全问题 中央企业网络安全交流 厦门微网站建设网站建设新趋势 南昌网站建设 霸屏营销推广 公安部网络安全产品销售许可证查询 谷歌营销 南昌建网站 淘宝大学营销免费课程