mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
20 lines
278 B
TypeScript
20 lines
278 B
TypeScript
import { keyframes } from '@emotion/react';
|
|
|
|
export const fadeIn = keyframes({
|
|
'0%': {
|
|
opacity: 0,
|
|
},
|
|
'100%': {
|
|
opacity: 1,
|
|
},
|
|
});
|
|
|
|
export const rotate = keyframes({
|
|
to: {
|
|
transform: 'rotate(0deg)',
|
|
},
|
|
from: {
|
|
transform: 'rotate(360deg)',
|
|
},
|
|
});
|