Follow us on Twitter and Facebook

幸运飞艇特怎么看:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

幸运飞艇群 www.s73z.com 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">
  <a class="close" data-dismiss="alert">×</a>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

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">×</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.

×

<a class="close">&times;</a>
/// Our Twitter Feed

Find out what's happening, right now, with the people and organizations you care about.

Visit link
© Copyright © 2013.Company name All rights reserved.免费模板 Collect from 网站模板
  • 春节我在岗:3分钟沙画告诉你 做消防员的家人是种怎样的体验 2018-12-15
  • “任怨”是一种修炼(红船观澜) 2018-12-15
  • 一语惊坛(5月8日): 回望过去,铭记历史,强我中国! 2018-10-26
  • 习近平强调发展海洋经济讲话引发强烈反响 2018-09-21
  • 学生晒大学四年“毕业账单” 上课时长达3278小时 2018-08-10
  • “中国网事·感动2018”活动说明 2018-08-04
  • 山西积极推进农业生产“保姆式”“套餐式”服务 2018-08-04
  • 端午假期国内游客超8900万人次 2018-08-04
  • 社交短视频:“抖”起来 沉下去 2018-08-03
  • 某些人总是用“客观事实”来为自己壮胆,实际上根本不懂什么是“客观事实。 2018-07-01
  • 抉择!欧文若长留绿军会损失8100万 恐会被安吉交易 2018-07-01
  • 辽宁:电商成为精准扶贫的“利器” 2018-07-01
  • 华媒:智利政府公布公交逃票惩罚机制 2018-06-30
  • 男子连掏3张百元假钞买碗面 老板忍无可忍报警 2018-06-30
  • 727| 556| 784| 887| 622| 596| 619| 351| 886| 188|