@ -77,6 +77,7 @@ const config: Config = {
|
||||
'sonar-scale-1': 'sonar-scale-1 3s 1.5s linear infinite',
|
||||
'enter': 'enter 200ms ease-out',
|
||||
'leave': 'leave 150ms ease-in forwards',
|
||||
'text-overflow': 'text-overflow 8s linear infinite',
|
||||
},
|
||||
keyframes: {
|
||||
'sonar-scale-4': {
|
||||
@ -103,6 +104,11 @@ const config: Config = {
|
||||
from: { transform: 'scale(1)', opacity: '1' },
|
||||
to: { transform: 'scale(0.9)', opacity: '0' },
|
||||
},
|
||||
// https://stackoverflow.com/posts/78825869/revisions
|
||||
'text-overflow': {
|
||||
'10%, 90%': { transform: 'translate(0, 0)', left: '0%' },
|
||||
'40%, 60%': { transform: 'translate(-100%, 0)', left: '100%' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user