Gradient Partners Marquee (#34)

This commit is contained in:
Fede Álvarez 2022-04-12 15:16:11 +02:00 committed by GitHub
parent ba11dcb6f8
commit 69608a5472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,6 @@
bottom: tovw(160px, 'default', 160px);
left: 0;
opacity: 0.4;
z-index: -1;
margin-left: 0;
background: linear-gradient(
180deg,
@ -56,6 +55,7 @@
content: '';
pointer-events: none;
user-select: none;
z-index: -1;
}
}
}
@ -71,12 +71,25 @@
}
&__container {
height: tovw(70px, 'default', 63px);
margin-top: tovw(60px, 'default', 43px);
mask-image: radial-gradient(
circle,
rgb(3 3 3 / 1) 0%,
rgb(3 3 3 / 1) 78%,
rgb(3 3 3 / 0) 100%
);
@include respond-to('mobile') {
width: unset !important;
margin: tovw(60px, 'default', 43px) tovw(-18px, 'mobile') 0
tovw(-18px, 'mobile');
width: unset !important;
mask-image: radial-gradient(
circle,
rgb(3 3 3 / 1) 0%,
rgb(3 3 3 / 1) 68%,
rgb(3 3 3 / 0) 95%
);
}
margin-top: tovw(60px, 'default', 43px);
}
}