Follow us on Twitter and Facebook

///2018世界杯

///2018世界杯

yabo体育

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>.

yabo体育

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.


yabo体育

Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

Get the plugin »

yabo体育

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.

×

yabo亚博体育下载

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 connotation2018世界杯

yabo体育

× Oh snap! Change a few things up and try submitting again.
<div class="alert alert-error">
  ...
</div>

yabo体育

× Well done! You successfully read this important alert message.
<div class="alert alert-success">
  ...
</div>

yabo体育

× Heads up! This alert needs your attention, but it's not super important.
<div class="alert alert-info">
  ...
</div>

///2018世界杯

yabo体育

Default progress bar with a vertical gradient.

<div class="progress">
  <div class="bar"
       style="width: 60%;"></div>
</div>

yabo体育

Uses a gradient to create a striped effect (no IE).

<div class="progress progress-striped">
  <div class="bar"
       style="width: 20%;"></div>
</div>

yabo体育

Takes the striped example and animates it (no IE).

<div class="progress progress-striped
     active">
  <div class="bar"
       style="width: 40%;"></div>
</div>

///2018世界杯

yabo体育

Progress bars use some of the same button and alert classes for consistent styles.

yabo体育

Similar to the solid colors, we have varied striped progress bars.

yabo体育

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.

yabo体育

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.

///2018世界杯

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>

///2018世界杯

Use the generic close icon for dismissing content like modals and alerts.

×

<a class="close">&times;</a>
///yabo

Find out what's happening, right now, with the people and organizations you care about.

Visit link
© bet必威体育 Copyright © 2013.Company name All rights reserved.即刻工作室 Collect from 即刻工作室