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

<a class="close" href="https://jitt.buhuia.cn/">&times;</a>
营销班网站建设开发公司军用信息安全产品认证证书查询信息安全平台windows server运行.net网站和php网站高校信息安全方案绿色系网站高级网络安全设置长沙定制网站网络安全法 检查大国脊梁,重伤失忆! 都市人生,重新开启! 我叫林凡,也叫林无双! 强悍女友,总想为我遮风挡雨,但她不知道的是,都市人生,我才是真正的王!!!三国近百年的战乱还未平复,西晋十年之久的“八王之乱”又起,华夏精锐殆尽,汉族陷于危亡之际!匈奴首先乘机发难,羯,氐,鲜卑,羌等族更是将战火席卷了整个北方大地!“五胡乱华”血腥来临!主角生为皇子,天潢贵胄,却只能偷生于公主身份,流离于军阀之间……到处都是豺狼虎豹!裙:138930598到处都是无情杀戮!易子相食,千里无人!汉族亡种灭族?!华夏支离破碎?!谁来力挽狂澜?!!一开始,穿成假太监的李易只想安分苟活着,但后来,看着高贵雍容的皇后,李易心思变了。 “江山你坐着,皇后我替你照顾。” 李易都跟皇帝打好了商量,奈何那把椅子,皇帝就是坐不稳啊! 前有狼,后有虎,奸臣又一堆堆,眼看国不国,家不家的,李易操起了屠刀……萧央重生平行世界,这世界没有前世那些大明星,大导演,大作家,于是他笑抽了。 随便写写小说,版权费到手,随便写首歌,火爆全国…… 但是他的梦想还是当个光鲜亮丽的演员,或者,能做个大导演岂不更好?   (本书企鹅号:436276579)徐通穿越洪荒世界,成为未来的圣人通天。 想到未来自己的悲惨命运,熟知洪荒剧情的徐通决定苟起来再说! 紫霄宫听道?不去! 创立截教?休想! 任他洪水滔天,我自稳健修行! 待我出关之时,一切腥风血雨量劫落幕。 至此,尘归尘土归土,天上飞天,地下入地,西方的和尚上西天!浑浑噩噩三十多年,作为一个最普通的八零后,虽然自诩为尘世一散仙,但我也深知只是在混而已,曾经把仗剑走江湖,潇洒过一生作为信仰。但最终活成了自己曾经最看不起的样子…… 没有王爷的命,却得了王爷的病。 总觉得现在生活节奏过得太快了,除了疲于生计,我们都忘了自己活着的意义。当生活的目标只剩下钱的时候,好像日子也只剩下今天了。 字写得不好,不喜欢用笔。怕写完自己都不想再翻第二遍。 活的不算精彩,但也是自己经历过的,想了想,还是打出来吧,虽然用的一指禅…… 致所有混过的青春……人家穿越都是直接氪金加点,装逼打脸,一步登天。 马致远却只能靠着一块简陋到极致的面板,在华山上努力的修炼着。 龙生九子,化作九域,俗称龙窟。 在这龙窟古道之内,秦家虽败,但定会在日后让人付出代价。秦子今日被被斩,定会在轮回后掀起浩然风波......他绝不是一届懦夫,在没有实力之前,他会忍,任凭别人的羞辱也只是一笑了之,但当实力成为他的代名词时,曾经侮辱过他的人,都会血债血还! 我秦岂,掌管天地乾坤,我为神尊,欲统众生!开局穿越,继承一家濒临倒闭动物园,一只动物都没有,仅有的鹦鹉还是穿越来的。 怎么办? 激活“神级动物园系统”。 本以为从此走上人生巅峰。 奈何,系统出品,必属精品,园里动物全是秀? 附赠“大明星系统”的金刚鹦鹉,唱歌算什么?请叫我午夜情感大师! 选择“严于自律系统”的大熊猫,别拉我,我还能干三百斤竹子,锻炼是不可能锻炼的,这辈子也不可能锻炼的! 觉醒“除恶为民系统”二哈,投降?谁让你们投降了?老子还没拆呢…… 立志于当社会大哥的平头哥,想当健美教练的袋鼠,消防兵的大象,要上战场的霸王龙,面对一个个“蒂花之秀”的动物,身为园长的苏白表示,我太难了…… 【日常休闲文,有温馨,有搞笑,看了不吃亏,看了不上当!】血域代表立身成佛,凌域则是拂袖成仙,逍遥洒脱。共要携手开辟混沌,掌日月,控星辰。白溪立群雄之中而胜于众人,傲天地,以己为法则,其通天法力更是主宰一切,但夙愿已完,便匿音讯,消声迹,他日重归,惊澜四起······
滴滴营销活动 网站的布局 网络营销环境的变化 深圳营销策划 网络安全与攻防专业深圳制作企业网站 深圳全网整合营销 陕西 网络安全和信息化领导小组 网站网页精准营销代理公司 网络安全 热点 公安局信息安全,-1 官司的原因分析咨询【www.richdady.cn】 事业不顺的职业规划【www.richdady.cn】 前世缘份如何影响今生?咨询【www.richdady.cn】 儿子不读书的前世记忆【www.richdady.cn】 婴灵对家庭关系有哪些影响?【www.richdady.cn】 与公婆前世的前世案例咨询【企鹅383550880】√转ihbwel 心慌胸闷头晕的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel “缺心眼”对人际交往的影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女咨询【微:qq383550880 】√转ihbwel 人际关系不好的自我提升咨询【www.richdady.cn】√转ihbwel 财运不佳的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的前世影响咨询【微:qq383550880 】√转ihbwel 学习成绩差的家庭教育【www.richdady.cn】√转ihbwel 有官司咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的案例分享【σσЗ8З55О88О√转ihbwel 感觉整天没精神怎么办咨询【微:qq383550880 】√转ihbwel 孩子厌学的案例分享咨询【www.richdady.cn】√转ihbwel 为什么过世的前世缘分【企鹅383550880】√转ihbwel 纠纷的法律援助咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 干扰的常见类型【企鹅383550880】√转ihbwel 网络营销商 网络安全培训报道 网络安全培训课程 2016信息安全展 营销方案中的价格策略 杭州网站制 学网络营销费用 网站的后缀 关系营销与互联网 2017网络安全公司排名 邮件营销策划方案 第十届信息安全会议,-1 顺德门户网站建设公司 内蒙古网站设计 浦东新区网站建设 品牌网站设计公司 4a平台从账号是指网络安全管控平台账号还是应用系统账号 网络营销创业 昌平网站设计 国家互联网信息安全 网络安全属性 网络安全与责任 重庆网站建设公司 网络安全行业标准 php网络安全 化工公司营销推广方案 建p2p网站 化工公司营销推广方案 网络信息安全日 网络安全入门到精通 军用信息安全产品认证证书查询 网络安全4hou 属于信息安全产品的有 属于信息安全产品的有 大连做网站的公司有哪些 信息网络安全的第三 网站设计和制作费用日用品企业网站建设 建行手机网站 营销网站优点 东莞seo网站优化 网络营销策划方案案例 杭州网站制 国家信息安全管理的主要规定包括,-1 网络营销创业 网络安全设备厂商 信息安全和管理中心 顺德门户网站建设公司 国家网络安全审查 珠海移动网站建设公司排名 第一届360信息安全大赛 淄博网站排名seo 品牌网站设计公司 汽车软文营销的案例 社区营销 网络安全资讯红黑 网络安全宣传内容 网络安全培训报道 免费营销 品牌网站设计公司 西安网站维护 做网站编程 北京网络安全招聘 网络营销商 营销方案中的价格策略 网上营销的思路 提供邢台网站优化 加强信息安全的建议和意见 国家互联网信息安全 2014网络信息安全事件济南做网站公司 网络营销能力秀互粉 网络安全信息保护 专线可以做网站 网络安全与中国方案 任丘做网站 网站的布局 网络安全与责任 元站点网络营销方法 做网站编程 网络营销策划方案案例 网站的后缀 网络安全自主可控 信息安全技术实验报告 网络安全法 检查 营销班 网络安全与攻防专业深圳制作企业网站 网络安全自主可控 免费建立自己的网站 企业级服务 网络安全 长沙定制网站 免费建立自己的网站 东莞seo网站优化 品牌网站设计公司 营销专业网站 吕梁网络营销师 社区营销 农产品的软文营销 专线可以做网站 昆明建网站要多少钱 12月网络安全大会 信息安全和管理中心 信息安全等级测评师培训如何报名 信息安全txt 建行手机网站 网络安全 专业 重庆网站制作 2014网络信息安全事件济南做网站公司 网站制作推广公司 军用信息安全产品认证证书查询 简述邮件营销的优点 鞍山网站制作 深圳全网整合营销 网站活泼 信息安全部讲师,-1 上海手机网站建设电话 上海网络安全检测公司 王老吉营销方案分析 网络安全与攻防专业深圳制作企业网站 2017网络安全公司排名 珠海移动网站建设公司排名 做网站群的公司 网上营销的思路 网站的布局 大学网络信息安全报告 个人网站设计 2014网络信息安全事件济南做网站公司 保密局 信息安全测评 网络安全信息保护 中国 信息安全 法规 网络安全与中国方案 网络安全信息共享平台 珠海移动网站建设公司排名 网络安全属性 营销方案中的价格策略 大连做网站的公司有哪些 网站的后缀