mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-10 14:23:18 +02:00
Move fadein directly to component
This commit is contained in:
@@ -30,8 +30,6 @@ export const coverBackground = css`
|
||||
`;
|
||||
|
||||
export const fadeIn = css`
|
||||
animation: fadein 0.3s;
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
opacity: 0;
|
||||
@@ -42,3 +40,15 @@ export const fadeIn = css`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const rotating = css`
|
||||
@keyframes rotating {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user