Add blurhash to cards

This commit is contained in:
prayag17 committed 2023-04-05 21:41:37 +05:30
1 parent 50f8e1c0f1
commit 2bbe846184
7 files changed
+215 -55

No files matched your search

+16 -1
View File
@@ -2,6 +2,9 @@
.card {
border-radius: $border-radius-default;
&-media-image-container {
transition: opacity $transition-time-default;
}
&-image {
position: relative;
border-radius: $border-radius-default;
@@ -9,6 +12,8 @@
background-position: center;
&-container {
position: relative;
border-radius: $border-radius-default;
overflow: hidden;
}
&-icon {
font-size: 4.5em !important;
@@ -27,9 +32,19 @@
top: 0;
bottom: 0;
height: 100%;
z-index: -1;
z-index: -2;
}
}
&-blurhash {
position: absolute !important;
width: 100%;
height: 100%;
top: 0;
left: 0;
border-radius: $border-radius-default;
overflow: hidden;
z-index: -1;
}
}
&-text-container {
display: flex;