From b297a61f82e567a5dccb99d1a01d46c5d8329e95 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 4 Feb 2012 22:31:09 -0800 Subject: #1732: make examples of alerts in docs components page dismissable --- docs/components.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index bd2e437a5..1d3971c06 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1294,24 +1294,24 @@

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">×</a>
+  <a class="close data-dismiss="alert"gt;×</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">×</a>
+  <a class="close" data-dismiss="alert">×</a>
   <h4 class="alert-heading">Warning!</h4>
   Best check yo self, you're not...
 </div>
@@ -1324,7 +1324,7 @@
     

Error or danger

- × + × Oh snap! Change a few things up and try submitting again.
@@ -1336,7 +1336,7 @@
     

Success

- × + × Well done! You successfully read this important alert message.
@@ -1348,7 +1348,7 @@
     

Information

- × + × Heads up! This alert needs your attention, but it's not super important.
-- 
cgit v1.2.3