mirror of
https://gitlab.com/vyla-entertainment/home-frontend.git
synced 2026-11-16 20:17:39 -05:00
updated UI
This commit is contained in:
@@ -36,42 +36,24 @@
|
||||
transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
will-change: transform;
|
||||
contain: layout style paint;
|
||||
}
|
||||
|
||||
.marquee-left .marquee-track {
|
||||
animation: marquee-scroll-left 60s linear infinite;
|
||||
transform: translateX(var(--marquee-x-1, 0));
|
||||
}
|
||||
|
||||
.marquee-right .marquee-track {
|
||||
animation: marquee-scroll-right 60s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll-left {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll-right {
|
||||
from {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
transform: translateX(var(--marquee-x-2, 0));
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
||||
.marquee-track,
|
||||
.executors-marquee-track,
|
||||
.showcase-track {
|
||||
animation: none !important;
|
||||
.marquee-track {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Performance optimization: GPU acceleration */
|
||||
.marquee-row {
|
||||
will-change: transform;
|
||||
}
|
||||
Reference in New Issue
Block a user