mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
14 lines
350 B
TypeScript
14 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',
|
|
});
|