mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
add heads up note for required href on alert dismiss actions
This commit is contained in:
@@ -1689,10 +1689,11 @@
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="alert">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<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>
|
||||
@@ -1701,7 +1702,7 @@
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="alert alert-block">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<h4 class="alert-heading">Warning!</h4>
|
||||
Best check yo self, you're not...
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user