Trying to create a bouncing effect on text
Check out my attempt here. It seems like the bug is in this area.
@keyframes bounce{
0%, 40%{
transform:scale(2,.5) translate(0,100px);
}
45%,55%{
transform:translate(0,-50px);
}
55%, 100%{
transform:translate(0,0);
}
}
However, there is a bug where the bouncing effect starts 50px too high. Any suggestions on how to fix it?