Update card component #153

This commit is contained in:
Prayag Prajapati committed 2023-08-26 13:29:47 +05:30
1 parent e11056c2ce
commit 002d92d8ad
7 files changed
+122 -144

No files matched your search

+21
View File
@@ -4,11 +4,32 @@
width: 100%;
height: 100%;
object-fit: cover;
transition: opacity $transition-time-fast;
position: absolute;
z-index: 1;
top: 0;
left: 0;
&-container {
position: relative;
width: 100%;
border-radius: $border-radius-default;
box-shadow: 0 4px 8px rgb(0 0 0 / 0.2);
}
&-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3.4em !important;
fill: url(#clr-gradient-default) !important;
color: transparent;
&-container {
background: $clr-gradient-dark;
height: 100%;
width: 100%;
position: relative;
z-index: 0;
}
}
}
}