I made a simple animation with keyframe and when running it does not stop at 100% and yes back at the beginning of my CSS animation, see:
.mostramenu
{
animation: desce 2s;
-webkit-animation: desce 2s;
}
@keyframes desce {
0% {
margin-top: -70px;
}
100% {
margin-top: 1px;
}
}
What could be wrong? I tested it in various browsers and also adjusting -webkit-
I also tested FROM-TO
@keyframes desce {
from {
margin-top: -70px;
}
to {
margin-top: 1px;
}
}