36 lines
735 B
CSS
36 lines
735 B
CSS
|
|
/* Performance optimizations for low-end hardware */
|
||
|
|
|
||
|
|
/* Force GPU acceleration on all animated elements */
|
||
|
|
* {
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
-moz-osx-font-smoothing: grayscale;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Optimize ticker animation */
|
||
|
|
@keyframes ticker {
|
||
|
|
0% {
|
||
|
|
transform: translate3d(0, 0, 0);
|
||
|
|
}
|
||
|
|
100% {
|
||
|
|
transform: translate3d(-50%, 0, 0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Reduce motion for better performance */
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
*,
|
||
|
|
*::before,
|
||
|
|
*::after {
|
||
|
|
animation-duration: 0.01ms !important;
|
||
|
|
animation-iteration-count: 1 !important;
|
||
|
|
transition-duration: 0.01ms !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Hardware acceleration hints */
|
||
|
|
.kiosk-card {
|
||
|
|
transform: translateZ(0);
|
||
|
|
backface-visibility: hidden;
|
||
|
|
perspective: 1000px;
|
||
|
|
}
|