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

<a class="close" href="https://q73i.teladd.cn/">&times;</a>
全网市场营销有限公司招聘信息系统网站设计手机型农产品的软文营销案例供应商营销vpn技术与网络安全案例网络安全从业者必读中山大学信息安全技术研究所破坏公共信息安全网络安全服务的功能有传统市场营销包括哪些方面在这个人人都是重生的世界里面,每个路人甲都绑定着五花八门的主角系统,而我?不需要!开玩笑嘛?我可是千古一帝的转世!是在刚开始修行就能硬刚创世神的存在-_-,虽然战绩可能有点难堪,但是!这种精神就很可贵嘛——?死刑犯9527被执行枪决,竟然意外重生,不服就干,血战强敌,强行逆袭,逆天改命,我命由我不由天!看一个死刑犯如何叱咤风云,问鼎天下。 因为系统出现故障,陈己辉没有成功穿越到自己想去的修仙世界,反而来到了万国争霸的世界,成为大炎王朝的皇帝。 从此开始,陈己辉便开始任意妄为。 后宫参政。 重用外戚。 宠信太监。 流放重臣。 陈己辉在努力的做好一个昏君,但是事情却逐渐超过了他的预料。 “恭喜陛下,梁国大军已经溃不成军!” “陛下圣明!国内粮食产量已经翻倍!” “喜讯!刘国请求纳入炎国版图!” 喜欢本书的读者,欢迎加入扣群:二零,二五零,久久七零。 李复,一个22岁矿工,末世发生后偶得地下避难所系统。 他在地下造房收租,造餐厅有肉吃,造水厂有干净水用,造武器武装幸存者,造基因库帮助幸存者进化突破。造药房便宜出售,你在别的地方买不到的药我这里都有。 李复地下城的租客任何人见了都要礼让三分,说不定租客就身负超级血脉。 想住进李复的地下城吗?想过神仙般的日子吗?那就看你有没有那个运气了! 他不过是想重整世界。人的一生一定要做一些有意义的事情,醒掌天下权,醉卧美人膝,要不然空来世上走一遭,正是怀着这样的梦想,明盛只身来到城市打拼,无奈现实很残酷,处处碰壁之后总算找到一份工作,可是在一次拜访客户失败后,身心疲惫的他在公交亭睡着然后意外穿越了,这一次,他终于可以堂堂正正的不看任何人的脸色,可是救亡图存的路上同样是荆棘密布的:小冰河时代,后金虎视眈眈,天下烽烟四起,朝堂上还有党派林立,大厦将倾,看明盛如何力挽狂澜,山河一统,什么东林党?什么阉党?这天下只能有一个党,就是寡人的帝党。三十九万年前的逃亡者也敢大放厥词!三十九万年前的手下败将!上前领死!!! 时光流逝,曾经的逃亡者回到祖星,掀起怎样的波澜,又会有再怎样的经历,是战火的延续,还是和平的开端……武道之途,乃与天争命,逆天而行,遭天罚万劫。世间唯有九脉者,脉与天合,顺天而行,身怀天地气运,迎劫渡身,逢凶化吉。 林辰本乃天赋异禀,为天纵骄子,修途一路高歌,遍处风光。因缘偶得奇功妙诀,断脉重修。从此遭同门羞耻,宗门遗弃,兄弟背叛,处遭唾弃。 待我重回巅峰,问鼎苍穹,势必一洗前耻,傲世凌天。2014年6月12日,星期四,晴。 距离改变命运的中考仅有1星期的时间。 本该紧张备考的我们,命运却在这普通的一天被打乱。 学校被莫名封锁,出去便死 没有通讯,没有电,我们能用的资源越来越少。 为了活下去,昔日友好的朋友,和谐的师生, 却反目成仇,相互残杀。 来吧,同学们。 拿起手中的武器, 去面对那些吃人的感染者和想杀死自己的人吧! 我们不是残忍,我们只是想继续活着。我们穿越了?
信息安全条例 确定 互联网广告营销策划方案 供应商营销 网站引流. 网络信息安全软件 保障国家网络安全 中山网站建设外包东营做网站建设的公司 移动终端信息安全,-1 网站建立需要多少钱 东莞外贸网站推广 头脑混沌的环境影响【www.richdady.cn】 老公家暴的自我保护【www.richdady.cn】 什么原因意外的前世缘分咨询【www.richdady.cn】 失业的前世记忆【www.richdady.cn】 不爱读书的前世记忆咨询【www.richdady.cn】 不爱读书的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的沟通技巧咨询【www.richdady.cn】√转ihbwel 家宅磁场的常见问题【σσЗ8З55О88О√转ihbwel 为什么过世的前世故事咨询【微:qq383550880 】√转ihbwel 外灵干扰的前世因果咨询【www.richdady.cn】√转ihbwel 感情纠纷的解决技巧【σσЗ8З55О88О√转ihbwel 4. 财运与事业发展【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 发育倒退的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 老公家暴的心理调适咨询【微:qq383550880 】√转ihbwel 如何改善人际关系威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退对孩子心理的影响【www.richdady.cn】√转ihbwel 干扰的常见类型咨询【www.richdady.cn】√转ihbwel 孩子学习不好的辅导方法【企鹅383550880】√转ihbwel 强迫症的家庭支持咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 精神不振的心理调适【微:qq383550880 】√转ihbwel 设计网站的软件 保障国家网络安全 营销师官网 商城网站功能模块有哪些 银行信息安全案例 信息网络安全协会 成立大会讲话 芜湖网站优化 网站长尾词 网络安全审计配置文档 营销突破 下列哪项不全是防火墙的功能 防止内部信息的外泄强化网络安全性 点内营销 公安部网络安全局官网 麦包包营销 g20 网络信息安全 口碑营销的经典案例创新的南昌网站制作 网络安全科普 网站关键词排名提高网络营销的能力 e-mail营销的内容 网络安全审计配置文档 如何攻击网站 领英公司主页营销 工业信息安全产业联盟 社会化 口碑营销 公司 全网市场营销有限公司招聘信息系统 2016 网络安全ppt模板 网络安全服务的功能有 2016 网络安全ppt模板 移动网络安全管控 网络安全从业者必读 互联网广告营销策划方案 内容营销的特点是什么 国家信息安全中心主任 国家信息安全中心主任 营销优势 线下营销渠道有哪些 网络安全教学平台 快速网络营销费用 网站引流. 国家网络安全周专题 引擎营销关键词 深圳网站建设哪家好 中石油信息安全体系 移动终端信息安全,-1 物流行业网站建设方案 信息安全保障阶段中 网络对营销的影响力 上海网站制作顾问 上海信息安全管理中心地址,-1 网络营销的三个方面 网络安全服务标准方案 网络营销教学实践平台 无线网络安全隐患 贵州省网络与信息安全测评认证中心招聘 山东大良网站建设 网络安全类的公司排名 e-mail营销的内容 山东大良网站建设 关于信息安全的案例 专业信息安全服务资质公司,-1 下列哪项不全是防火墙的功能 防止内部信息的外泄强化网络安全性 网络安全的专业 供应商营销 广东营销网站建设服务 网络安全夏令营 网络营销学校 网站建设 福州 秦皇岛网站制作 领英公司主页营销 移动网络安全管控 点内营销 网站关键词排名提高网络营销的能力 营销突破 贵州省网络与信息安全测评认证中心招聘 信息安全条例 确定 网络对营销的影响力 东莞网站维护 工业信息安全产业联盟 网站的网络营销功能长沙微网站电话号码 互联网信息安全的解决最终还是要 网络安全从业者必读 网络安全的专业 张家口网站建设 上海网络营销公司 郑州网站建设案例 网络安全ver.3 内容营销的特点是什么 网络安全 解决方案 营销优势 网络营销策划培训班 网络安全英文文献 点内营销 口碑营销的经典案例创新的南昌网站制作 2017网络安全比赛 无线网络安全 周 腾达网络安全密钥不匹配 物流行业网站建设方案 戴尔网络安全上海研发中心 电商营销软件有哪些 2015工业控制网络安全态势报告 网站建设教程 二维码网站制作 营销的外部环境 沈阳做网站有名公司 网络安全服务的功能有 上海网站制作 腾达网络安全密钥不匹配 网络营销工作理想 e-mail营销的内容 信息安全的基本要求是 麦包包营销 保障国家网络安全 信息安全监测中心 广州建网站 网络安全审计配置文档 企业网络信息安全培训班 做生意的网站 专业信息安全服务资质公司,-1 网络营销的三个方面 g20 网络信息安全 网络对营销的影响力 网络安全专用产品 上海营销型网站 东莞外贸网站推广 国家网络安全周专题 网络信息安全软件 长沙做网站品牌 破坏公共信息安全 公安部网络安全局官网 个人信息安全评估办法 中央 信息安全 深圳网站建设哪家好 做电商的网站 网络安全工程师培训班 网络安全从业者必读