Update hero-carousel

This commit is contained in:
prayag17 committed 2023-03-22 14:31:14 +05:30
1 parent 12d771c6c7
commit c851201872
4 files changed
+120 -32

No files matched your search

+22 -4
View File
@@ -12,6 +12,12 @@
margin: 0 auto;
}
&-background {
&-blurhash {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
}
&-container {
position: absolute;
z-index: 0;
@@ -21,13 +27,12 @@
bottom: 0;
mask-image: linear-gradient(
to right,
transparent 20%,
black 50%
rgba(0, 0, 0, 0.1),
black 90%
);
-webkit-mask-image: linear-gradient(
to right,
transparent 20%,
rgb(0 0 0 / 0.5) 50%,
rgba(0, 0, 0, 0.1),
black 90%
);
}
@@ -40,6 +45,19 @@
right: 0;
bottom: 0;
background-position: center;
opacity: 1;
mask-image: linear-gradient(
to right,
transparent 10%,
rgba(0, 0, 0, 0.5) 50%,
black 90%
);
-webkit-mask-image: linear-gradient(
to right,
transparent 10%,
rgba(0, 0, 0, 0.5) 50%,
black 90%
);
}
&-icon {
position: absolute;