Add pauses to ticker animation for smoother cycling
Animation now pauses at start and end positions before moving, eliminating jarring jumps when loop restarts.
This commit is contained in:
1 parent
29dfb78124
commit
fa7cb51e91
1 file changed
+3
-2
@@ -418,8 +418,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes device-name-ticker {
|
@keyframes device-name-ticker {
|
||||||
from { transform: translateX(0); }
|
0%, 15% { transform: translateX(0); }
|
||||||
to { transform: translateX(var(--ticker-offset)); }
|
50%, 65% { transform: translateX(var(--ticker-offset)); }
|
||||||
|
100% { transform: translateX(0); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip-raw {
|
.tooltip-raw {
|
||||||
|
|||||||
Reference in new issue
Block a user