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

<a class="close" href="https://wef.2504.com.cn/">&times;</a>
达内网络营销要学多久网络信息安全的图片,-1信息安全系统人工智能与网络安全锤子2017整合营销国家信息安全实验室信息安全服务ppt太原优化营销新田网络营销网站类型网站名称表现主题内容设计色彩搭配服务对象综合网站个人网站2499年,自第一批星际舰队穿越慢慢星河跨越数百光年来到这里已经200年了,我们的文明在其后的时间中汲取着这一片庞大废墟的营养,探索,战斗,修理,考古,是新世纪每一位孩童的必修课,但哪怕如此直至今日,我们所探索的也不过是这一片残骸的十分之一。秦政穿越成大康王朝的皇帝,一睁眼便在龙床上宠幸后宫美人。 原以为从此便可美人在怀,夜夜笙歌,好不快活。 他却发现这个国家已是权臣当道,世家横行,国库空虚,暴乱四起,异族虎视眈眈。 秦政只好手握屠刀,成为一代铁血皇帝! 顺我者昌,逆我者亡! 乱我江山社稷者,统统都得死!在这个巨大的异界大陆上,到处都是权力的争夺,封建主义皇位之间的暗潮涌动,一个在登基典礼上就被罢黜的懦弱皇帝,怎样走上复仇之路......格洛斯特国在2100年创造出了第一批抗侵略的机甲武器,效果十分显著,不仅抵挡住了其他国家的侵略还收复了之前战败的边境地区,在这之后,其他国家也纷纷效仿格洛斯特国舍弃了对普通的枪械和炮弹的研究,也转向研究并创造出了机甲武器,世界爆发了机甲时代战争,战争依旧没有停息,格洛斯特国在2108年秘密打造出了约5m的由人类为载体的新型可作战机甲,但由于驾驶员的大脑活跃度和反应速度的年龄有着过高的要求,军方要求由25岁以下16岁以上的全部非贵族国民必须要参军,因此有大部分的高中生和大学生也必须参军,本是该好好享受青春的年纪却要被迫于战争和死亡为伍,本应握着笔的手却握着机甲操纵杆,战争是残酷且不公的,一群背负保卫国家使命的少年们啊,为了自己想守护的东西而苟延残喘的活下去吧!尝试按心中合理的写法写写看会出来什么东西。我有一愿,可见父母之平凡; 心中有气,可付天下生机; 手中执笔,可点修行之灯; 脚下踏规,行万界之矩。三千世界,修仙末路,龙蛇并起。 河出图,洛出书,大衍之数五十有五。 五之数,实乃人之中,变幻莫测,穷凶极恶! 惟图变革,以兴其道,方为道机。 师父说他道心天成,生而近道,是天生的仙人;师兄说要收他做小弟,主角光环罩着他;小师妹让他小心神女龙女魔女妖女圣女,出门在外记得保护好自己;亘古不散的残魂说他是洪荒的幽灵,摊上大事了,别想安生…… 懒鬼师父且不说,洛清尘打定主意是要离大师兄远点的,以免出意外,毕竟大师兄的机缘总是很废队友。至于心怀不轨的小师妹,最应该提防的难道不是她吗? 本欲世外清修做个仙人,奈何大道锁途,万古的残梦未散,终是不得闲。洛清尘入世种因,出世讨债,斩道斩道,剑斩的既是凡尘枷锁,却也是自己的道。 “道友,交易否?童叟无欺,等价交换!”一座危城,一条老街,一个念想,一个人,一群人,守一城。 陈枫重生异世,在最弱小的时候得到了一群最善良的人的帮助,为了一个念想守住一个城。守西北,入中京,踏塞北,这一世,希望可以活成自己想要的模样。一个持续万余年的计划 只为对抗 第一圣人毁灭世界的阴谋 却不想其他世界的误入 让整个行动造成了无法挽回的偏差 是绝地重生? 还是陷入绝望……
网络安全行业发展史 人工智能与网络安全 网络安全技术及成果 网络安全的威胁中国互联网协会网络安全 家具营销策划 优帮云 网站展示型和营销型有什么区别 网站原创性 宝安网站制作公司 做网站一般用什么语言 国家信息安全政府文件 大龄剩女的社交技巧咨询【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 事业发展瓶颈突破【企鹅383550880】√转ihbwel 如何识别冤亲债主咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的改运方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职场建议咨询【www.richdady.cn】√转ihbwel 感情纠纷的解决技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的教育策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 耳鸣的心理调适咨询【σσЗ8З55О88О√转ihbwel 去世的母亲的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世影响【www.richdady.cn】√转ihbwel 与男友前世的因果关系咨询【企鹅383550880】√转ihbwel 公司破产的前世因果咨询【σσЗ8З55О88О√转ihbwel 国内信息安全的法律法主要有哪些 学互联网营销有用吗 美国国家网络安全局 网络营销研究的范畴 中国信息安全排名 网站设计分析 企业 推进信息安全 数据保护 网络营销系统的建设 房产网站建设 学校网络安全信息 提供常州网站推广 永久免费建站网站 网站网页设计公司 网络营销 工作室 新浪微博内容营销 南昌市做网站的公司 西安做网站 达内网络营销要学多久 信息技术与信息安全 国家网络安全标志 金融行业 信息安全培训 大连地区网站建设 安徽合安房产营销策划有限公司怎么样 学校网站欣赏中文 网站设计分析 网络营销职业领域 网络营销是什么行业 电商营销存在的问题及对策 网络安全防御平台 深圳网站建设公司朔州网站建设 网站网格 网络安全 魔力象限 免费网站模板下载 专业营销执行公司 对青少年网络安全负责 网站推广营销 信息安全专业中国大学排名 网站网格 家具营销策划 优帮云 房产网站建设 深圳教育平台网站建设 达内网络营销要学多久 专门学网络营销的app 网站建设主页 网络信息安全加秘 企业 推进信息安全 数据保护 电子科大信息安全学院 深圳网站建设公司朔州网站建设 锤子2017整合营销 网站制作推广 中国信息安全排名 网络安全握手 网络安全宣传周的内容 传统的营销 互动营销型网站建设 公司网站域名是什么 网络营销是做什么的 微信移动网站建设 2015中国网络安全大赛 互动营销公司 有经验的佛山网站设计 新田网络营销 武汉营销型网站 邢台做网站哪儿好 网络带营销 衡水网站建设供应商 建立个人网站多少钱 网络营销是什么行业 企业网站的意义 中国信息安全排名 怎么做网站排版 宝安网站制作公司 网站推广教程 网络安全事故盘点 网站建设成功案例 网络营销 工作室 西安做网站 株洲网站制作 衡水网站建设供应商 最好的网络安全实验室 网站设计学习 世界网络安全现状 网络信息安全产品 网络营销系统的建设 太原网站优化加强个人网络安全意识 如何给网站添加音乐 互动营销公司 网络信息安全产品 互动网站建设 博客营销类型 信息安全产品检测 网站构造 2017网络安全生态主题 美国国家网络安全局 信息安全系统 信息安全测试方法 传统的营销 厦门企业官方网站建设 国内信息安全的法律法主要有哪些 网络安全法 网络安全技术及成果 信息安全cisp 学互联网营销有用吗 金融行业 信息安全培训 信息安全服务ppt 深圳网站建设设计 新田网络营销 广东省信息安全 信息安全软件有那些 金坛做网站 厦门企业官方网站建设 安徽合安房产营销策划有限公司怎么样 网络安全综合管理平台 营销组合四大要素 网站网页设计公司 网络营销定价的基础 网络营销开始先怎么做 人工智能与网络安全 免费网站模板下载 网站网页设计公司 网络营销职业领域 企业网站的意义 邢台做网站哪儿好 网络营销职业领域 永久免费建站网站 免费个人网站申请 学校网络安全信息 信息安全资质认证申请,-1 企业网站制作设计 全国信息安全法规 网络信息安全的图片,-1 在网站中添加百度地图服务是软营销 超实用网站关键信息基础设施网络安全检查填报系统 网站建设吗 无线网络安全性如何