Follow us on Twitter and Facebook

南京儿童娱乐城:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

太阳舞娱乐城 www.60r6.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-05-25
  • 内乱困扰西班牙 C罗亟须正名 2019-05-23
  • 目前的缓和,是美国中期选举特郎普需要外交得分。 2019-05-19
  • 曹建明:必须坚持以人民为中心,真正做到人民检察为人民 2019-05-19
  • 《陕西省县域经济社会发展监测考评办法》解读 2019-05-16
  • “先进镁合金技术与应用”高峰论坛在沪召开 2019-05-15
  • 全面加强战略合作,推进城市学智库br和世界名城建设 2019-05-14
  • 小崔的“如意算盘”能如意吗? 2019-05-11
  • (Dos sesiones) Enfoque de China Dos sesiones históricas fijan el rumbo para nueva época Spanish.xinhuanet.com 2019-05-11
  • 出海记|机票、奖杯、小龙虾…… “中国狂热”席卷世界杯} 2019-05-04
  • 强化政治建警 贴心服务群众(在习近平新时代中国特色社会主义思想指引下——新时代新作为新篇章) 2019-04-30
  • 湖州德清县启动首批“潜力医师”项目 2019-04-23
  • 不撞南墙不回头。痛定思痛。动辄把独立自主、自力更生,说成是崩溃边缘,是多么轻率、可笑。 2019-04-15
  • 中国移动支付覆盖东盟八国 便利中国游客出境游 2019-04-10
  • 男孩“偷”两万元玩游戏 家长想要回来有点难 2019-04-10
  • 846| 830| 639| 128| 961| 226| 566| 574| 990| 42|