1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00

fix: animation

This commit is contained in:
uetchy 2020-03-08 11:44:34 +09:00
parent cbecbdbb2c
commit 0a23b9adb3
2 changed files with 3 additions and 4 deletions
web/src
components
util

@ -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);
}
`;