mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Add fadeIn style
This commit is contained in:
@@ -28,3 +28,17 @@ export const coverBackground = css`
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
`;
|
||||
|
||||
export const fadeIn = css`
|
||||
animation: fadein 0.3s;
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user