Add Card button actions #24

This commit is contained in:
prayag17 committed 2023-04-08 13:23:28 +05:30
1 parent 3833f4d626
commit 88474b494b
7 files changed
+310 -113

No files matched your search

+23 -2
View File
@@ -2,8 +2,29 @@
.card {
border-radius: $border-radius-default;
&-media-image-container {
transition: opacity $transition-time-default;
&-media {
&-container {
position: relative;
border-radius: $border-radius-default;
overflow: hidden;
}
&-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgb(0 0 0 / 0.6);
opacity: 0;
transition: opacity $transition-time-default;
z-index: 10;
}
&-image-container {
transition: opacity $transition-time-default;
}
}
&:hover .card-media-overlay {
opacity: 1;
}
&-image {
position: relative;