-
Notifications
You must be signed in to change notification settings - Fork 198
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
4380f88
commit 7f7b6f4
Showing
2 changed files
with
19 additions
and
19 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,20 +1,20 @@ | ||
/* Center and make the title bold */ | ||
.my-custom-card .grid-item-card-title { | ||
.gallery-card .grid-item-card-title { | ||
text-align: center; | ||
font-weight: bold; | ||
} | ||
|
||
/* Default style for hover content (hidden) */ | ||
.my-custom-card .hover-content { | ||
.gallery-card .hover-content { | ||
display: none; | ||
text-align: center; | ||
} | ||
|
||
/* Show the hover content when hovering over the card */ | ||
.my-custom-card:hover .default-title { | ||
.gallery-card:hover .default-title { | ||
display: none; | ||
} | ||
|
||
.my-custom-card:hover .hover-content { | ||
.gallery-card:hover .hover-content { | ||
display: block; | ||
} |
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