animation only once code example
Example: css animation once
a:hover {
animation: hover 200s infinite alternate ease-in-out;
}
@keyframes hover {
0% {
transform: scale(1, 1);
}
1% {
transform: scale(1.1, 1.1);
}
100% {
transform: scale(1.1, 1.1);
}
}