generated from rishabkhincha/rishabkhincha.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfc8af7
commit bbfc1f6
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.custom-button { | ||
/* Base button styles */ | ||
button { | ||
border: 0; | ||
background-color: #007bff; | ||
color: white; | ||
background-color: transparent; | ||
outline: none; | ||
font-size: larger; | ||
padding: 10px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
color: #333; /* Default text color */ | ||
padding: 10px; /* Adjust padding as needed */ | ||
cursor: pointer; /* Show pointer cursor on hover */ | ||
text-decoration: none; /* Remove underline by default */ | ||
} | ||
|
||
.custom-button:hover { | ||
background-color: #0056b3; | ||
/* Hover effect */ | ||
button:hover { | ||
background-color: #f0f0f0; /* Light gray background on hover */ | ||
color: #007bff; /* Change text color on hover */ | ||
text-decoration: underline; /* Underline text on hover */ | ||
} | ||
|
||
.custom-button a { | ||
color: white; | ||
text-decoration: none; | ||
} | ||
|
||
.custom-button a:hover { | ||
text-decoration: underline; | ||
/* Optional: Add transition for smooth effect */ | ||
button { | ||
transition: background-color 0.3s, color 0.3s, text-decoration 0.3s; | ||
} |