Skip to content

Commit

Permalink
Added hover effect to buttons and matched button colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aanyaa26 committed Oct 31, 2024
1 parent 414f19a commit 15b402c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,40 @@
.content {
padding: 2rem;
}
/* Style for E-book button */
.E-book-button {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #ff6f91; /* Precise pink color */
text-decoration: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

.E-book-button a {
color: inherit;
text-decoration: none;
}

.E-book-button:hover {
background-color: #e91e63; /* Darker pink for hover */
color: #fff;
}

/* Style for Feedback button */
#feedbackButton {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #ff6f91; /* Matching pink color */
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

#feedbackButton:hover {
background-color: #e91e63; /* Darker pink for hover */
color: #fff;
}

0 comments on commit 15b402c

Please sign in to comment.