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

<a class="close" href="https://y4e.4881.com.cn/">&times;</a>
2015年网络安全数据浙江省信息安全等级保护测评机构杭州网站优化公司信息安全网络攻防就业国际信息安全会议国家信息安全评测证书地方网站建设网站注销重庆网站真实案例信息安全网络攻防就业逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。这个世界不仅存在许多种族还有着多个异界大陆,身为树妖的苏豆家园被毁自己被种族抛下,因实力不够强的他只有外出修炼 结识各种各样的种族做朋友加入了公会学炼丹、画符、锻器等有时还有各种危险任务不仅要妖兽打斗,还要被神通缉... 神秘的源罗盘究竟为何物? 异塔内又有多少宝藏? 从不参与外界事的长白树妖又为何与虚狐联手对抗神族?... 这一切的背后又隐藏多少未知...豺狼当道,虎豹环视,一招不慎,便是万劫不复;心不狠,站不稳,杀伐果断,只为无上权力。一个看似普普通通的男孩诞生在一个不起眼的地方,谁也无法想像就是这个男孩创造了一个接一个的神话,被后世永流传。无数冒险家远渡重洋、跋山涉水,用生命和热血为我们绘制出了一份完整的地图。 这个世界被划分为四个大陆,分别用其所处的地理位置命名——南方大陆、东方大陆、西方大陆与北方大陆。 洪门派的故事,就此开始。天才画家名声大噪, 赶稿收尾意外魂穿, 全新世界,精彩绝伦, 少年叶舟志在苍穹, 决心修炼,试图逆转乾坤, 贵人助修,命运天翻地覆, 巧夺阴阳造化,涅槃自命生死, 轮回掌控命运,超脱蜕凡成仙, 驻足位面之巅,双手,号令苍穹!【都市重生+宠妻+赎罪+商战】   “周飞,你相信有来生么?”   “如果有可能,我不想有来生,我只想重活一次,这辈子,有太多的遗憾了……”   濒死的虚弱感和无力感,让周飞连声音来自何方都无法分辨,不甘心、悔恨、遗憾…百般情绪涌上心头。   苟活三十多年,他对所有人都问心无愧,唯独对不起妻子和儿女!   带着这股极强的悔意,周飞重生到了十年前。   看着那一大两小三个身影,他跪倒在地,热泪盈眶。本文基于《阿给姆传奇》。 继肖国辉从避难所矩阵苏醒之后,在现实的地表世界生活了三十几年。在最后一次对海外避难所的远征之中受伤,回到77号避难所之后,在基础医疗设施的帮助下准备安度残生。此时的避难所已经是人去楼空,唯有曾经的保守派首领,避难所人类管理员代表科拉还在坚守岗位。作为迎来送往现实世界和阿给姆之间桥梁,科拉也在垂暮之年和基本瘫痪的肖国辉谈起了管理员之间代代相传的秘密,而内容和肖国辉几十年前在阿给姆大陆上每晚重复的怪梦有关。。 除了外表肢体的残缺,肖国辉的内脏器官也收了无法复原的重伤。眼看生命已经流淌到最后一滴,唯一的办法就是再次回到阿给姆世界之中,靠着“先知”的特权和矩阵中与现实不同的时间比例来继续曾经荒诞的传奇。凌晨夜里小马鏖战了半年的程序就要正式上线了,上线的过程中Bug不断,重重的黑眼圈印在脸庞,心想千万不要再有这种空格,字符,数据类型的Bug了,太tm难找了,眼睛死死的盯着屏幕上运行的日志。 Started BookApplication . . . . . ,看到成功的标志,激动的跳了起来,当天夜晚,想着自己的项目奖金,鼾声渐起..........,细细簌簌的听到您再通融通融小儿还在养病暂缓几日一定将小钱补齐,我眉头紧蹙,小钱?官人?什么鬼。我怎么睁不开眼,浑身无力。。。。什么?我一努力就成了万界至尊,我的剑是九天玄玉剑?我的空间吊坠是九天明月坠?我的鞋子是九天星月鞋?我的衣服…… 就连我内裤都是九天精金甲? 万界主宰齐呼,前辈手下留情,我等臣服!!!! 远古巨兽与人类并存的荒古世界,亿万种族,仙门林立,满天诸法,争斗不息。 浩荡似深渊永无止境,杀戮如星辰亘古恒久。 天才少年,遭天妒忌,飞来横祸,根基损毁,失去一向引以为傲的修为和天赋。 却渐渐发现,原来自己的遭受的一切,都是有人刻意为之,家族毁灭的背后隐藏着一只看不见的幕后黑手。事情的真相没有想象中简单。他发现了某些模棱两可的证据,都指向了自己的猜测。 随着事情发展,一件件事情浮出水面,那些模棱两可的证据化为确凿的证据,他渐渐意识到事情的可怕。 他能否找到事情的真相,找到隐藏在幕后的黑手? 且看一位绝世少年,如何于绝境之中浴火重生,破桎梏,登仙路,探天机,大道争雄,武动乾坤,不死不灭!一念生而扫八荒,一剑出而斩乾坤!
深圳网站建设流程 杭州营销培训会 知名网站规划 社会化网络营销类型 网络安全的博士 网络安全宣传周ppt 曲靖做网站 化妆品网络营销 贸易网站建设网络安全小组成员组成 北京信息安全测评中心 迟缓儿的咨询技巧咨询【www.richdady.cn】 家宅磁场干扰的原因咨询【www.richdady.cn】 忧郁症的原因分析【www.richdady.cn】 如何克服升迁障碍?【www.richdady.cn】 莫名其妙感伤咨询【www.richdady.cn】 冤亲债主干扰对生活有哪些影响?【微:qq383550880 】√转ihbwel 与女友前世的因果关系咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何解决孩子不爱读书的问题?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的案例有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何化解冤亲债主的干扰?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的轮回有哪些真实经历?咨询【企鹅383550880】√转ihbwel 解梦的前世因果【www.richdady.cn】√转ihbwel 冤亲债主干扰的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场转型威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场突破【www.richdady.cn】√转ihbwel 脑部不清晰的生活习惯【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主的干扰解决方法【σσЗ8З55О88О√转ihbwel 公司破产的原因分析【σσЗ8З55О88О√转ihbwel 孩子不爱读书的应对策略有哪些?【www.richdady.cn】√转ihbwel 深圳最好网络营销课程 武汉免费网站制作 信息安全 身份鉴别 金融行业信息系统信息安全等级保护 网站制作素材 edm营销平台的费用 2015年网络安全数据 信息安全专业企业 网站建设排版规定 网站建设的网站定位 公司网站与营销网站 网络安全的形势 互联网与网络安全 网络营销培训班 四川省网络安全报警 解放军信大信息安全 企业信息安全介绍 网络营销的主要职能? 北京启明星信息安全技术有限公司 信息安全与对抗技术 信息安全与对抗技术 如何做好外贸网络营销 建设手机网站费用 网络安全风险管理 自己站网站 我国网络安全形势 国内网络安全 关于网络安全的作文 移动信息安全中心,-1 地方网站建设 东莞南城网站建设 互联网营销和传统营销的区别 沧州企业网站 北京网站建设开发 joomla 2.5:你的网站建设使用与管理 下载 信息安全顾问专业能力 北京网站建设开发 深圳最好网络营销课程 知名网站规划 如何加强网络安全的 网络安全宣传周ppt 武汉免费网站制作 线条类网站 网络安全风险管理 网站运营 信息安全 身份鉴别 网络安全投诉 网络安全服务内容 重庆专业的网站建设公司 金融行业信息系统信息安全等级保护 西安网站建设案例 新浪微博营销 html5/flash设计开发|交互设计|网站建设 青岛 权威的广州h5网站 互联网与网络安全 信息安全顾问专业能力 成都高端网站建设公司 网络安全评估:从漏... 手机行业的网络营销 自己电脑做网站 带宽 十大网络信息安全事件 长沙做网站的 办公室信息安全工作职责,-1 网络安全风险管理 网站建设品牌推荐 网站主色调简介怎么说 山东省网络安全赛 四川省网络安全报警 烟草行业信息系统安全等级保护与信息安全事件的定级准则 青岛做网站 湖南最有名的营销机构 青岛免费建网站 建设手机网站费用 开县网站建设 网络安全运维面试题 建设手机网站费用 网站主色调简介怎么说 信息安全等级的分类 高校网络安全解决方案 黄山网站设计 网络与信息安全测评中心 南阳网络营销外包公司 joomla 2.5:你的网站建设使用与管理 下载 北京高端网站设计 cisp培训ppt(中国信息安全产品测评认证中心提供) 网络安全的形势 北京高端网站制作 企业网站设计 营销合理性 武汉企业制作网站 长安网站设计 应用第六章中所讲的网络营销工具之一对该书进行网络营销推广 网络营销整体运营方案专注成都网络营销 重庆网站优化 互联网营销和传统营销的区别 青岛开发区制作网站公司 曲靖做网站 有哪些网络安全团队招人? 网络营销本科学校 2017年1月信息安全 青岛免费建网站 joomla 2.5:你的网站建设使用与管理 下载 西安网站建设案例 综合营销软件 沧州企业网站 互联网与网络安全 手机微网站 沧州企业网站 国际信息安全会议 网站建设的网站定位 北京启明星信息安全技术有限公司 中国网络安全宣传周 合肥 酒店 网络营销 东莞南城网站建设 信息安全企业合作 最新网络安全问题及解决办法 2012网络安全问题 旅游网站管理系统社会化内容营销案例 应用第六章中所讲的网络营销工具之一对该书进行网络营销推广 信息安全 开源网络安全软件推荐 网站的申请 深圳最好网络营销课程 信息安全等级的分类 网站首页制作 顺德公益网站制作 龙岩建网站 如何修改网站关键词 手机行业的网络营销 网络安全资质证书有哪些 佛山全网营销 信息安全博士,-1 网站建设品牌推荐 国内网络安全50强 网络安全零基础视频 网络安全协议 原理 答案