mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
fix: animation
This commit is contained in:
parent
cbecbdbb2c
commit
0a23b9adb3
web/src
@ -292,9 +292,8 @@ const Item = styled.div<{delay: number}>`
|
||||
|
||||
span {
|
||||
display: block;
|
||||
animation: ${slideUp} 0.6s ${(props) => `${props.delay * 0.1}s`}
|
||||
cubic-bezier(0.19, 1, 0.22, 1);
|
||||
animation-fill-mode: both;
|
||||
animation: 0.6s cubic-bezier(0.19, 1, 0.22, 1)
|
||||
${(props) => `${props.delay * 0.1}s`} 1 normal both running ${slideUp};
|
||||
}
|
||||
|
||||
${mobile} {
|
||||
|
@ -7,6 +7,6 @@ from {
|
||||
transform: translateY(150%) skewY(10deg);
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
transform: translateY(0) skewY(0);
|
||||
}
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user