Move fadein directly to component

This commit is contained in:
jeffvli
2022-11-05 12:00:46 -07:00
parent 385ec5f856
commit 07123615ca
4 changed files with 23 additions and 7 deletions
+12 -2
View File
@@ -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);
}
}
`;