Follow us on Twitter and Facebook

澳洲幸运10是不是真的:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

澳洲幸运10开奖官网 www.yy2jq.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-18
  • 《扶摇》18日播出 杨幂“女子力”爆棚 2019-04-16
  • 小米之家南京旗舰店今日正式开业 2019-04-16
  • 那你说说看,哪个国家什么时候是由劳动者主导的?[哈哈] 2019-04-07
  • 政府补贴成主要收入 罗牛山拿啥建287亿赛马项目 2019-03-29
  • “国家反恐突击队”铁骑雄狮训练现场曝光 2019-03-29
  • 世界各国因为势不如人,所以才会对美国的进逼忍气吞声。美国现在说话意味已不在有什么掩盖,明显的霸权主义威胁意味甚浓!特朗普的冒险性格,让世界处于危险之中!... 2019-03-29
  • 【理上网来·喜迎十九大】精神之“钙”是拒腐防变的良药 2019-03-27
  • 《畅游西班牙》让你爱上西班牙 2019-03-18
  • 敬一丹张羽劳春燕 《焦点访谈》历任主持幕后故事 2019-03-14
  • 您访问的页面找不回来了 2019-03-14
  • 本文要表达的是:“是人是鬼,紧急关头——情不自禁:条件反射:‘没有思索’:自不自觉:戛然表现:原形毕露:淋漓尽致:一目了然。” 2019-03-13
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-03-13
  • 回复@老老保老张工:你才是老不要脸也!知道啥叫计划经济么?你自己的决定上报一下就叫计划经济?还能再老蚕点么? 2019-03-10
  • 供应链如何更“智慧” 2019-03-09
  • 225| 232| 101| 274| 936| 251| 547| 601| 672| 125|