0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix button hover color in cover example

Replaced .btn-secondary class with .btn-light
This commit is contained in:
João Tomás 2022-09-12 03:10:27 +01:00 committed by Mark Otto
parent 5029370a10
commit 4822984e19
2 changed files with 4 additions and 4 deletions

View File

@ -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` */
}

View File

@ -24,7 +24,7 @@ include_js: false
<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>