Follow us on Twitter and Facebook

永盛彩票注册:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

永盛彩票官方网站 www.kivmo.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.即刻工作室 Collect from 即刻工作室
  • 世界上海拔最高的无人超市将落户拉萨 2019-07-20
  • 起床就吃早餐 5大早餐误区最伤人 2019-07-19
  • 国务院办公厅印发《意见》 推进奶业振兴保障乳品质量安全 2019-07-18
  • 女性之声——全国妇联 2019-07-17
  • 我们包住内力,在不断变化中寻找契机可出击可借力亦可卸力。 2019-07-16
  • 陈坤:虽然会被困扰,但感谢情绪无法删除 2019-07-15
  • 【十九大·理论新视野】为什么要“建设现代化经济体系”?   2019-07-14
  • (清仓)德国埃丝伯爵黑啤酒500ml【价格 品牌 图片 评论】 2019-07-13
  • 比如,修中医专业的学子参加英语高考,不是扯蛋吗 2019-07-13
  • 学者:台当局处理新党三杰案引发两岸交流新担忧 2019-07-12
  • 的神话少了没人相信我,继续,希望你造出更多的神话来 2019-07-12
  • 探寻秘境阿勒泰《章棋的视频日志》 2019-07-11
  • 榻榻米房里的书桌,如何做到即好看又实用? 2019-07-11
  • 武汉市武昌区:社区学校筑平台 班长议事谋担当 2019-07-10
  • 赏荷正当时!错过就要等明年 2019-07-09
  • 双色球篮球走势图 电子游戏发展史 王中王内部透码资料 新疆时时彩今天开奖结来 双色球和值走势图新浪 贵州快3基本走势带坐标 内蒙古时时彩走势图彩 河南快三走势图爱彩乐 单双中特中后付款 广东时时彩11选五预测 福彩幸运武林投注技巧 彩票随机选号器在线 11选5前二组选所有号码 香港六合彩单双中特 重庆快乐10分钟走势图