mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Merge pull request #10209 from clbn/master
Fixes #10207: alert-dismissable example requires contextual class
This commit is contained in:
commit
1f16e21e75
@ -2209,13 +2209,13 @@ body { padding-bottom: 70px; }
|
|||||||
<h2 id="alerts-dismissable">Dismissable alerts</h2>
|
<h2 id="alerts-dismissable">Dismissable alerts</h2>
|
||||||
<p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>
|
<p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<div class="alert alert-dismissable">
|
<div class="alert alert-warning alert-dismissable">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="alert alert-dismissable">
|
<div class="alert alert-warning alert-dismissable">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user