Follow us on Twitter and Facebook

新疆时时彩走势官网:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

新疆时时彩网上投注 www.s0ya.com.cn 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.网页模板
  • 【理上网来·喜迎十九大】“引进来”与“走出去”水平不断提高:我国吸收外资及对外投资情况“亮点纷呈” 2019-04-20
  • “直播政务述职”是与民沟通良机 2019-04-08
  • 上饶市2018年市县两级重大项目集中开工活动举行 马承祖下达开工令 谢来发讲话 共开工项目191个 投资总额918.6亿元 2019-04-08
  • 十九大记者招待会、集体采访:“干货”十足! 2019-04-07
  • 你家的早餐,问你家做饭的主妇;我家的问我老伴,逐级上报,在新技术支持下,不要十分钟,全国的就出来了。不懂这个,还算是高科技! 2019-04-07
  • “买房号”就包买河西房?男子借机骗走170多万 ——凤凰网房产南京 2019-04-06
  • 高清:中国男篮抵达洛杉矶 长途飞行队员略显疲惫 2019-04-06
  • “国际军事比赛-2018”将于7月28日起在7国举行 2019-04-04
  • 东方藏品周拍 :南红 惊红一瞥 7月7日 2019-04-03
  • 嗯,这个有可能。符合系统性关连。 2019-03-31
  • Map Out Your Life in Chongqing 2019-03-31
  • 完美公益影像节(2017)获第十二届人民企业社会责任奖年度案例奖 2019-03-28
  • 浙江检验检疫局积极推进出口水产品HACCP认证示范区建设 2019-03-28
  • 赵普:希望做一个民间公益和官方公益间的融通者 2019-03-12
  • 东电欲报废福岛第二核电站 开始考虑具体时间表 2019-03-06
  • 592| 688| 417| 820| 864| 865| 741| 259| 526| 634|