diff options
| author | Mark Otto <[email protected]> | 2012-03-25 20:41:59 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-25 20:41:59 -0700 |
| commit | 473e5714f756d9be81e9321d451bb05431dd28ee (patch) | |
| tree | 3e18323c0a6c956da22c725700e5074eb4479a4d /docs/components.html | |
| parent | ea437351ed115b240e9b150da7ee93582f31dd17 (diff) | |
| download | bootstrap-473e5714f756d9be81e9321d451bb05431dd28ee.tar.xz bootstrap-473e5714f756d9be81e9321d451bb05431dd28ee.zip | |
change all anchor alert closes to buttons
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 12 |
1 files changed, 6 insertions, 6 deletions
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 @@ <h3>Example alerts</h3> <p>Wrap your message and an optional close icon in a div with simple class.</p> <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> <pre class="prettyprint linenums"> <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> </pre> <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for fully responsive and dismissable alerts.</p> <p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p> <div class="alert alert-block"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <h4 class="alert-heading">Warning!</h4> <p>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.</p> </div> @@ -1715,7 +1715,7 @@ <div class="span4"> <h3>Error or danger</h3> <div class="alert alert-error"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <strong>Oh snap!</strong> Change a few things up and try submitting again. </div> <pre class="prettyprint linenums"> @@ -1727,7 +1727,7 @@ <div class="span4"> <h3>Success</h3> <div class="alert alert-success"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <strong>Well done!</strong> You successfully read this important alert message. </div> <pre class="prettyprint linenums"> @@ -1739,7 +1739,7 @@ <div class="span4"> <h3>Information</h3> <div class="alert alert-info"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <strong>Heads up!</strong> This alert needs your attention, but it's not super important. </div> <pre class="prettyprint linenums"> |
