needed div a:last-child {
animation:none!important
}
needed div a {
animation: neededMoveReverse .6s ease-in-out forwards;
}
needed div a:hover {
animation: neededMove .6s ease-in-out forwards;
}
@keyframes neededMove {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
z-index: 10;
}
100% {
transform: translateY(10px);
z-index: 10;
}
}
@keyframes neededMoveReverse {
0% {
transform: translateY(10px);
z-index: 10;
}
50% {
transform: translateY(-10px);
z-index: 10;
}
100% {
transform: translateY(0);
}
}