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

<a class="close" href="https://hesf.juerang.cn/">&times;</a>
qq飞车网络安全存在风险铜陵网站建设成都网站模板网络安全法进展山东网站建设推广徐州市网站开发中国网络安全 国际信息安全工程。支付宝全网营销网络营销优缺点分析 赵全,应用化学及治金双料硕士,毕业后学无所用,无房无车无女友,穿越后遂为赵瑔,江西铅山赵家庄里正之子,时逢南宋末年,宋廷上下偏安一隅苟且偷安,赵瑔以所学创业,引领宋人时尚风标,一步跨入富豪行列,计划趁大宋终结前乘船下南洋占个地方做“南阳村长”赵家庄之福引来盗匪垂涎,赵瑔不得不自建民团以自保,前世宅男从无逐鹿天下的雄霸之心,以“草根”为荣,但世事难料,为获取心仪女孩青睐,赵瑔剽窃伟人诗词以“才子”之名不胫而走,高薪聘请工匠得“奢遮小官人”褒誉。锲而不舍想泡美艳无双的白莲教天母,率民团连破白莲教数城。白富美愿以身相许,赵瑔大手笔招揽安置流民,大举开拓宝岛台湾。葛皂山灵宝天尊到场“以客座首席长老”礼待,朝廷封赐忠武节度使”,当赵瑔一步步被罩上光芒四射的主角光环时该何去何从?率领武装到牙齿的龙神军暴们下南洋占地当村长?指挥天下无二的强大帆舰称霸四海殖民东西半球?还是挥师北上笑看火枪对决弓马?人死一去何时归? 命运齿轮缓缓转动,被命运抛弃的三旬青年,独自一人在他乡流浪。断靳刺,斩霹雳。快刀乱意斩豪门。脑海的画面中夕阳射出一束束金光,照在大地上,照在庭院的一草一木上。一阵微风吹过,许多的草轻轻舞动,风轻轻拂过我的脸颊,“你你傻傻的坐在外面看什么,赶紧去洗手吃饭”我温柔的说知道了,清风,明月,走,我们一起去洗手,明月轻声说道,爸爸,我们都洗完了,就等你吃饭了,快点去快点去“这真的是梦吗”詹白云喃喃自语的说道,可是这梦也太真了吧……张天峰重回1993年,以90元豪博100万。 从实业入手,一招盲盒经济享誉全球。 入股双马公司,教两人玩转用户流量经济。 控股苹果集团,教乔布斯设计一款完美手机。 ...... 拥有前世记忆,赚钱非常简单。 这一世,张天峰要教未来富豪赚钱,让他们把自己送上首富的宝座!全人类都没想到,一场突如其来的灾祸,部分人类消亡,文明和科技倒退,全球走向末日时代,世界格局重新洗牌,不再有国家的界限,而是被几大区所代替。 在这个末日新世界,人人在自保,人人都在自救,而此时一个叫做肖章的青年从最贫困的第三无人区走出……游戏降临,现实与虚幻交织。 这里有武者拔山倒岳,声震十里。有妖兽双翼一展直上云霄,更有一种名为玩家的生物在当中嬉笑怒骂。 世界的交融,躲不开的命运。 当百米长的火焰刀气横贯于现实之中,当名为‘魔’的存在破碎空间降临之时。 举世哗然,一众玩家不由抬头仰望: “我kao!” ……2121年,【神话世界】横空出世,这是一款掀起全民进化时代的虚拟网游! 在【神话世界】之内获得的一切能力,将100%同步到现实之内! 重生十年前,叶天回到【神话世界】开服前一刻,开局获得神级建村令! 这一世,他必将收名将美人,灭胡虏异国,鞭笞天下,统一寰宇! 带三国群雄举国飞升,征战万族,成就天帝独尊!穿越到玄幻世界,好不容易加入了圣地宗门觉醒了御灵系统 谁想到攒了几个月家底贷款炼制出来的御灵丹就被圣地的圣女师姐误食了 结果因祸得福,获得隐藏奖励 但是接下来的和灵宠服从性测试任务让白云琦傻眼了 “首先是原地转圈!” “然后是摸头舔手!” “最后是以坐骑形态出击!” ....... “师姐,你也不想你在大庭广众之下做服从性测试吧?” 本以为一次是意外,但一次接一次的被其他美少女吃下御灵丹,白云琦的心态发生了微妙的变化:这是御灵还是御人啊......煮夫是个大纲废、取名废、简介废,但是唯独文笔和构思不废,喜欢看不一样的故事就请看我的书吧,本来起纲的时候是都市纪实向或者恐怖灵异向的,结果,结果因为很多东西太敏感不能写,一不小心就涉黄涉政涉黑涉毒了,所以就只能改了,以下是我坦白的内容: 这个故事呢,大体是一个叫石羽白的“年轻人”带着自己送上门的老婆孟婆神“孟芝兰”别样的强者归来之路,也没写什么大事儿,就是破个九煞改命局、破个擒天锁地阵、再盗个太古神墓啥的,顺手暴锤一下巡天夜叉王,破解了先天十六卦之谜这种小事都不值得一提了。
营销软件网 联盟网站 2017信息安全大赛 军工行业信息安全厂商要具备 搜索引擎营销测验 信息安全服务资质认证公司 昆明网络营销的发展 网络营销优缺点分析 信息网络安全检查 信息安全攻防技术 婴灵的存在有哪些科学依据?咨询【www.richdady.cn】 心特别累的前世记忆咨询【www.richdady.cn】 前世今生对现世的影响咨询【www.richdady.cn】 与老公前世的前世缘分【www.richdady.cn】 前世老公的前世因果咨询【www.richdady.cn】 家庭关系的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 发育倒退的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回存在吗?咨询【微:qq383550880 】√转ihbwel 干扰【σσЗ8З55О88О√转ihbwel 学习成绩差的咨询技巧【σσЗ8З55О88О√转ihbwel 老公家暴的原因分析咨询【微:qq383550880 】√转ihbwel 学习成绩差的咨询技巧咨询【企鹅383550880】√转ihbwel 不爱读书的解决方法【σσЗ8З55О88О√转ihbwel 有官司的法律援助咨询【企鹅383550880】√转ihbwel 冤亲债主干扰的根源是什么?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的自我保护【微:qq383550880 】√转ihbwel 自闭症的心理调适咨询【微:qq383550880 】√转ihbwel 家庭关系中的矛盾如何解决?咨询【微:qq383550880 】√转ihbwel 家庭中常见的意外事故原因咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的自我保护咨询【www.richdady.cn】√转ihbwel 信息安全应急响应机制 中国网络安全 国际 汽车营销案例医药网站建设 网络安全技能大赛ctf 网站建设 选中企动力 网络营销推广哪家好 qq飞车网络安全存在风险 网络安全威胁解释 营销软件网 访问京东为网站选择5个核心关键词和30个长尾关键词? 手机app网站建设 徐州市网站开发 济南网络营销推广 信息安全合规 北京网站建设公司收购 搜索引擎营销测验 罗湖网站建设 信科网络 信息安全等级保护管理办法(试行),-1 营销策略中的渠道策略 日照网站推广烟台网站建设联系电话 网络安全保护方案 网站挂载 网络安全的特点有哪些 邮件营销的步骤有哪些 营销班级 个性化网站 信息安全 公告 网络和信息安全管理 传统的市场营销 微博营销是一项系统工程微博营销的操作模式包含以下哪些 cio信息安全高峰论坛 上海专业做网站排名 邮件营销的步骤有哪些 企业信息安全组织架构 广州域名企业网站建站哪家好 网站建设申请 企业网络软文营销推广多少钱 东莞手机网站建设 陕西网站建设多少钱 网络信息安全ppt 天津网站建设公司 美国大学信息安全 信息安全展示平台,-1 网络安全法进展 长春网站设计 网络安全防护手段 企业信息安全组织架构 最新网络安全动态 信息安全攻防技术 网站利润 网站挂载 青岛网站优化 内蒙做网站 简述网络营销的内涵 旅游网站案例 营销型网站建设定制 火山小视频营销 微博营销是一项系统工程微博营销的操作模式包含以下哪些 营销型网站建设定制 经典营销策划案例 姜堰网网站 海尔集团品牌营销战略 uiwebview网络安全配置 信息安全专业大二课程 信息安全应急响应机制 网络营销推广哪家好 杭州建网站 信息网络安全知识培训 中国网络安全 国际 山东 信息安全 检查 微博营销是一项系统工程微博营销的操作模式包含以下哪些 网站设计公司网站 信息安全的保护对象,-1 网络安全的特点有哪些 网站设计公司网站 内蒙做网站 最新网络安全动态 无线网络安全问题和防范 北京网站建设第一 福州网站制作公司名字密码信息安全测评中心 旅游网站案例 一站式营销 东莞手机网站建设 美国大学信息安全 分析一个网站 信息安全服务资质认证公司 杜蕾斯微信营销案例 网络安全新技术有哪些 旅游网络营销方案设计 啊d注入工具的sql注入点的修复方法_网络安全_脚本之家如何保护自己的信息安全在网络上 中国信息安全安华 信息安全 公告 企业信息安全组织架构 军用信息安全产品认证证书等级 可口可乐网络营销策划 建网站的程序免费 网络安全资讯网 营销策略中的渠道策略 国家网络安全信息小组 信息安全认证公司 网站建设论坛 山东网站建设推广 网络营销优缺点分析 整体营销的含义 杭州建网站 淘宝店铺全年营销方案 大专网络营销教材 汽车网络营销 国家对信息安全性 最新网络安全动态 网络营销的相关案例 军工行业信息安全厂商要具备 大专网络营销教材 温州网站设计 啊d注入工具的sql注入点的修复方法_网络安全_脚本之家如何保护自己的信息安全在网络上 深圳制作公司网站 破解网络安全密匙 建网站的程序免费 温州网站设计 精准网络营销信息安全技巧 一个好网站 网站建设与推广推荐 精准网络营销信息安全技巧 小米的营销模式分析 营销学培训 广州域名企业网站建站哪家好 山东网站建设推广 信息安全等级保护测评师,-1 网站上传文件存储方式 创新的网站建站 企业信息安全组织架构 传统的市场营销 国内外信息安全标准 企业网络软文营销推广多少钱 成都网站模板