Skip to content

Commit

Permalink
Fix button hover color in cover example
Browse files Browse the repository at this point in the history
Replaced .btn-secondary class with .btn-light
  • Loading branch information
jtsimoes authored and mdo committed Oct 6, 2022
1 parent 5029370 commit 4822984
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions site/content/docs/5.2/examples/cover/cover.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
.btn-light,
.btn-light:hover,
.btn-light:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
}
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.2/examples/cover/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3 class="float-md-start mb-0">Cover</h3>
<h1>Cover your page.</h1>
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
<p class="lead">
<a href="#" class="btn btn-lg btn-secondary fw-bold border-white bg-white">Learn more</a>
<a href="#" class="btn btn-lg btn-light fw-bold border-white bg-white">Learn more</a>
</p>
</main>

Expand Down

0 comments on commit 4822984

Please sign in to comment.