Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-14 09:16:30 +0300
committerGitHub <noreply@github.com>2020-11-14 09:16:30 +0300
commit4f8b243ac1a7ccd13c6bb485463ae365010d2620 (patch)
treedbd2d0055376e8e77ab86b125a5a000bb84c79bc /js/tests/visual/alert.html
parentf39666b61cebbe4d23813deeb9a0b72feb31d155 (diff)
Fix `.close` instances (#32152)
Diffstat (limited to 'js/tests/visual/alert.html')
-rw-r--r--js/tests/visual/alert.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/js/tests/visual/alert.html b/js/tests/visual/alert.html
index f51fe80447..07f9b972df 100644
--- a/js/tests/visual/alert.html
+++ b/js/tests/visual/alert.html
@@ -11,16 +11,12 @@
<h1>Alert <small>Bootstrap Visual Test</small></h1>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
- <button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
</div>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
- <button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<p>
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
</p>
@@ -31,9 +27,7 @@
</div>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
- <button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<p>
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
</p>
@@ -44,9 +38,7 @@
</div>
<div class="alert alert-warning alert-dismissible fade show" role="alert" style="transition-duration: 5s;">
- <button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
This alert will take 5 seconds to fade out.
</div>
</div>