aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorAndreas Cederstròˆm <[email protected]>2012-03-27 08:36:34 +0200
committerAndreas Cederstròˆm <[email protected]>2012-03-27 08:36:34 +0200
commit5d2062a3ccb0fed4901fc9f312c961d042f569bf (patch)
treef84d34fac624297f1a70cfebb350ecea42a3327d /docs/components.html
parent917f11e6799ddd43b439ce1f7a10c1a7360bcf3b (diff)
downloadbootstrap-5d2062a3ccb0fed4901fc9f312c961d042f569bf.tar.xz
bootstrap-5d2062a3ccb0fed4901fc9f312c961d042f569bf.zip
Finish of close conversion from a to button
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/components.html b/docs/components.html
index 5df760459..7854df523 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1879,8 +1879,10 @@
<div class="span4">
<h2>Close icon</h2>
<p>Use the generic close icon for dismissing content like modals and alerts.</p>
- <p><a class="close" style="float: none;">&times;</a></p>
-<pre class="prettyprint linenums">&lt;a class="close"&gt;&amp;times;&lt;/a&gt;</pre>
+ <p><button class="close" style="float: none;">&times;</button></p>
+<pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre>
+ <p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
+<pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
</div><!--/span-->
</div><!--/row-->
</section>