From 473e5714f756d9be81e9321d451bb05431dd28ee Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 25 Mar 2012 20:41:59 -0700 Subject: change all anchor alert closes to buttons --- docs/components.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index d5a3e2a99..bb9842be2 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1684,19 +1684,19 @@

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" href="#">×</a>
+  <button class="close" data-dismiss="alert">×</button>
   <strong>Warning!</strong> Best check yo self, you're not looking too good.
 </div>
 

Heads up! iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for fully responsive and dismissable alerts.

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.

@@ -1715,7 +1715,7 @@

Error or danger

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

Success

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

Information

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