Follow us on Twitter and Facebook

曾道人白小姐六合彩:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

004白小姐玄机图 www.0cwx.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 网站模板
  • 介休“厕所革命”助力美丽乡村建设 2019-04-23
  • 东风悦达起亚家园获第十二届人民企业社会责任奖年度案例奖 2019-04-23
  • “一带一路”论坛 值得世界期待 2019-04-19
  • “招工”50万,日本正式承认将引进外国劳工缓解劳动力短缺 2019-04-19
  • 首届尧都文化旅游节新闻发布会在京举行 诚邀八方客感受帝尧魅力 2019-04-09
  • 杭帮菜十年海外行 圈粉异国食客靠匠心 2019-04-09
  • 俄方:美方毁坏俄领事机构大门驱动装置进入搜查 2019-04-08
  • 图解丨我国医疗技术和质量双提升 人民健康再添保障 2019-04-07
  • 九成AI企业亏损:人工智能遭遇商业落地之痛 2019-04-05
  • 女性之声——全国妇联 2019-03-29
  • 河北医大一院为患儿送出特殊的儿童节礼物 2019-03-29
  • 房地产就有国家和集体之土地不计价到计价,这笔是经济收入还是财产收入? 2019-03-27
  • Xi Menschen sind die Erschaffer der Geschichte, die wahren Helden 2019-03-22
  • 回复@老老保老张工:各级计委啊!虽然有时候也征求企业的意见,但仅仅是作为制订计划的参考,权重微乎其微…… 2019-03-16
  • 本论坛上有位网名为“第十阶层1”的网友,你可问问他“阶层”与“阶级”有什么区别!呵呵! 2019-03-06
  • 163| 687| 296| 26| 352| 421| 669| 273| 888| 123|