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

<a class="close" href="https://t6w.guoziyuan.cn/">&times;</a>
网络营销站点域名采用"企业网站域名/产品名或营销页面名"的形式属于武威网站建设网站制作 价格重庆微信营销培训方案近几年饥饿营销的案例分析济南 信息安全大连网站建设公司武威网站建设管理有限公司网站设计清华大学网络安全他只身闯荡上海,从一个乡下“小赤佬”混到租界督察长,成了上海风云一时的人物。 1938年8月18日,上海南京路上,几位报童在拼命地叫喊着:“快报!快报!特大新闻,陆大奎被刺杀身亡!快报!快报!”以此来招来顾客。 ...... 昨天下午3点光景,中央旅社三楼的一间房间里。青纱帐中,陆大奎光着身子正在与三姨太调情。“叮铃铃”突然电话铃声响起。陆大奎说了句:你奶奶的。伸手去接电话。 陆大奎不情愿地:喂!我就是。 听到对方强硬的口气,陆大奎的脸顿时阴沉下来,脸上的肌肉也开始绷紧。 陆大奎搁下电话,心中疑惑不定。上次打了蒋介石外甥俞洛民的一句耳光后,被淞沪警备司令部抓去坐了几天班房,好不容易托人求情捐了一架飞机才了事。今天又打来电话,肯定不会有好事。 陆大奎心神不安地赶紧起床,穿好衣服,带了一名保镖急匆匆地出了门。刚跨出中央旅社大门才几步时,迎面射来一串子弹,陆大奎和他的保镖还来不及拔枪抵抗,就倒在了血泊之中…… 顺应天命者,悲;逆应天命者,死! 如之可奈何?祈求天地庇佑? 殊不知“天地不仁,以万物为刍狗!” 身世坎坷,且看他如何面对人生! 经历大变,且看他如何渐渐蜕变! 命运降临,且看他如何对抗命运! 持戟弯弓,且看他如何挽破苍穹! 毁天、灭地、戮神、屠魔、诛仙、噬魂、镇妖、斩尸、弑佛! 逆命运,踏天途,一切尽在——《命之途》! 莫非应和图灿分离后换上了“双重人格”,三年后图灿回来第一件事就是找他,没想到在小姨的精神病院找到。同时她也没想到,她的男友居然是她的同类,她好不容易(意外)治好了莫非,却发现莫非居然不是人,但这并不妨碍他们在一起,莫非:“把我弄成这个样子,可要好好负责。”图灿一边流着口水一边说:“好好好。”他平凡,但不平庸。身负八龙不屈之魂,誓要逆天改命,诛伐一切挡我者,乾坤未定,笑看成败! 黑白无常是我兄弟,牛头马面对我言听计从,娶阎王爷的闺女…… 人间有法医、警察,阴间有阴差、判官,阴阳之间自有他们无法触碰的地方,这就需要渡灵法医出马。 地狱空荡荡,魔鬼在人间。 诸多诡案背后,牵扯出阴司的巨大阴谋——这些参杂着巨大冤屈的灵异案件,竟然是阴司专管阴差的判官司主管崔钰。 权力之争古今存在,阳间如此,阴间亦如此。 九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 盘古的分神关誉穿越时空,阻止量子超神机器人诞生,以拯救人类。差之毫厘失之千年,误穿到了十五世纪,与女娲的纠缠者薛紫嫣相爱,改变了历史,导致黑洞死亡,天地巨变将生,人类将提前灭亡。关誉暂避高维世界恢复神力,瞬间度过五百年,借通天宝石感应导航,回到现代都市,成为黄家上门女婿,与薛紫嫣转世之身黄小婰再续前缘…… 上界八十八星座守护神灵再次降落人世,未来的都市美轮美奂霞光溢彩,但在这光鲜亮丽的背后是无尽的深渊与黑暗……数百年前的古老传说正预言着危机的到来。未来,一些被抛弃的人走上绝路,在这被命名为大西洲的陆地上“送死”。 “世界人口膨胀,那些不够完美的人还是消失了好。”某位政治界高官的女儿如此说道。 于是每年送一批无法就业或走投无路的人来这个地方。 “很多人会死。”主办方如此断言。 唯一的生路就是徒步走到大西洲南部的殖民地。宣传来这里可以成功的消息骗了所有人。 被称为“第二块净土”的陆地上,遍布生物。
五大营销系统是什么意思 网站信息安全等级测评保护公司营销 营销qq有qq空间 营销qq有qq空间 网络安全 统计 商城建网站 网络安全 统计 信息安全属于计算机 门户网站做 顺德网站建设 去世的母亲在哪【www.richdady.cn】 精神不振的咨询技巧咨询【www.richdady.cn】 特殊学校的教学方法咨询【www.richdady.cn】 灵性成长工作坊【www.richdady.cn】 与公婆前世的记忆解析【www.richdady.cn】 婴灵的超度与心灵净化咨询【σσЗ8З55О88О√转ihbwel 儿子抑郁症的康复训练【企鹅383550880】√转ihbwel 冤亲债主干扰咨询【www.richdady.cn】√转ihbwel 前世缘份的再次相遇【www.richdady.cn】√转ihbwel 维护良好家庭关系的秘诀【σσЗ8З55О88О√转ihbwel 前世缘份的缘分奇迹【σσЗ8З55О88О√转ihbwel 与老公前世的前世解析咨询【微:qq383550880 】√转ihbwel 孩子压力大的环境影响咨询【微:qq383550880 】√转ihbwel “缺心眼”对人际交往的影响咨询【企鹅383550880】√转ihbwel 缺心眼的自我提升咨询【企鹅383550880】√转ihbwel 缺心眼的沟通技巧咨询【微:qq383550880 】√转ihbwel 孩子学习不好的辅导方法咨询【σσЗ8З55О88О√转ihbwel 老公家暴的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的因果关系咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的前世记忆咨询【微:qq383550880 】√转ihbwel 银川怎么做网站 网络安全最新资讯 国家网络安全信息中心吴 国外的网络营销商城 网络营销与销售的区别 网络安全网络隐身 营销qq有qq空间 管理有限公司网站设计 银行网络安全方案成都市网络安全现状 中国国家网络安全学院 网络安全日郭启全致辞 乐清手机网站优化推广 永州网站制作 网站制作 价格 信息安全等级评估证书 怎样开网站 商城网站都有什么功能 关系式营销 在线营销工具包 建国内外网站有什么区别 网络安全 会议主题是 昆明做网站公司 wap网站开发 模板板网站网站的营销方法 重庆网络营销客户 网站用橙色 网站利用百度离线地图 网站用橙色 什么是淘宝营销新七条 想要做一个网站 网络安全中心 网络安全售后服务方案 深圳网站制作880 网络安全推荐 海淀网站设计 病毒营销 案例 2016 网络安全工作动态 门户网站制作 深圳制作网站 网络安全衡量标准 邢台网站制作哪家强 电子营销就业率 网络安全 统计 网络安全事件处理报告 网络安全法 研发安全 高级信息安全管理主管,-1 等保网络安全方案 烟台网站制作 保定专业做网站 网络营销的发展过程 网络安全 会议主题是 信息安全等级保护技...,-1 成立一个做网站的公司成本 信息安全违规案例 王老吉 春节营销案例 传统营销策略的优点 联邦信息安全管理法 银行网络安全方案成都市网络安全现状 网络营销与销售的区别 南昌电商网站设计 网络安全衡量标准 淄博网站建设相关文章 昆明网站推广 2016重大信息安全事件 网络营销的主体是什么 网络安全中心 开心网的营销手段 怎样开网站 国家网络安全信息中心吴 网站插入百度地图 网络安全最新资讯 国家信息安全实验室主任 个性化建网站定制 德阳响应式网站建设 信息安全认证 网络营销的主体是什么 深圳搜索引擎营销企业 网站网页制作公司网站 网络安全知识ppt 大连网站建设公司 网站设计的优点和缺点 武威网站建设 网络与信息安全信息通报 在线营销工具包 微信营销公司广州 网络营销方案主要内容 南通网站建设空间 成都公司网站设计 如何建网站 网络安全推荐 网站制作 价格 建国内外网站有什么区别 国家信息安全实验室主任 信息安全 网络工程 武汉网站建设联系电话 公司营销优势 门户网站做 网络安全360° 淄博网站建设相关文章 网络安全最新资讯 长期营销策划 大学网络与信息安全研究所 国外的网络营销商城 网站信息安全等级测评保护公司营销 工控 信息安全 网络安全网络隐身 精准营销网 门户网站做 湘潭做网站 网站类型有哪些 4p营销组合策略包括 网站推广专家 网络安全专家 北京旅游设计网站建设 营销qq有qq空间 专业的网络营销机构 网站报价单 商城建网站 重庆网络营销客户 网络安全中心 微网站无锡 深圳搜索引擎营销企业 商城网站都有什么功能 如何宣传网络安全 郑州网络营销服务 网络安全专家 银行网络安全方案成都市网络安全现状 做好网站 清华大学网络安全 信息安全属于计算机 银川怎么做网站 网络安全维护项目指标 制作公司网站价格 网络营销效果评估指标 网站建设大致价格2017沈阳营销策划 优帮云