forked from emre/www_projectmycelium_com
refactor: add infinite-scroll animation keyframes to Tailwind config
- Added infinite-scroll animation with translateX from 0 to -50% - Animation supports horizontal scrolling effects for carousel/ticker components
This commit is contained in:
@@ -42,6 +42,15 @@ export default {
|
|||||||
'glitch-1': 'glitch-1 1s infinite',
|
'glitch-1': 'glitch-1 1s infinite',
|
||||||
'glitch-2': 'glitch-2 1s infinite',
|
'glitch-2': 'glitch-2 1s infinite',
|
||||||
},
|
},
|
||||||
|
infinite-scroll {
|
||||||
|
0% {
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user