mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
import { keyframes, style } from '@vanilla-extract/css';
|
|||
|
|
|
||
|
|
const spinKeyframes = keyframes({
|
||
|
|
from: { transform: 'rotate(0deg)' },
|
||
|
|
to: { transform: 'rotate(360deg)' },
|
||
|
|
});
|
||
|
|
|
||
|
|
export const infiniteSpin = style({
|
||
|
|
animationName: spinKeyframes,
|
||
|
|
animationIterationCount: 'infinite',
|
||
|
|
animationTimingFunction: 'linear',
|
||
|
|
animationDuration: '1s',
|
||
|
|
});
|