Follow us on Twitter and Facebook

四季彩娱乐:/// Alerts and Bars

/// Lightweight defaults

Rewritten base class

赣州娱乐城小姐 www.oxp7.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-06-19
  • 工信部:鼓励婴幼儿配方乳企质量安全追溯体系建设 2019-06-17
  • 市民质疑西安一培训机构无证办学 机构:正在办理 2019-06-08
  • 炮制数万斤毒豆芽 广州三个黑作坊被警方捣毁 2019-06-08
  • 南宁实现全国文明城市“四连冠” 2019-06-06
  • SNH48年度总决选速报结果公布 李艺彤登顶 2019-05-24
  • 这样吃饭让你瞬间有食欲:厌食常喝金桔水 2019-05-24
  • 地价10年暴涨4倍背后:供地减半 开发商拿地疯狂 ——凤凰网房产杭州 2019-05-19
  • 小侳们,不要光说不练假把式了,是你们履行无铲阶级国际主义义务的时候了。[哈哈] 2019-05-11
  • 国酒茅台·国之栋梁 希望工程圆梦行动获第十二届人民企业社会责任奖年度案例奖 2019-05-11
  • 无论谁说自己的理论是马克思主义理论都不算数,只有他的理论符合客观事实及其规律才是真理,否则便是谬误。 2019-05-10
  • 流动人口的户籍迁移意愿及其影响因素分析 2019-04-26
  • 张继科再负张本智和获日本公开赛男单亚军 2019-04-16
  • 苗山脱贫影像志——父母在 不远行 2019-04-11
  • 三日内8省区调整省级政府副职 4省常务副省长变动 2019-04-11
  • 重庆时时彩360彩票 华夏闻著二肖中特 六肖中特期期准王中王凤凰彩票 五子棋有段位吗 黑龙江十一选五电子版走势图 体育彩票走势图31选7 北京赛车012路 香港六彩特码资料 9肖30码图2019 贵州11选5开奖规则 中国竞彩澳客网 天津11选5预测 3d组三是什么意思 广西快三遗漏表 香港六合彩送特码