I have a big main navigation panel that I want to animate when it\'s deploying (expanding).
I\'m working with jQuery to trigger the visibility of it by adding/removing t
I am tired of this issue, better use animation:
.container .element.animation {
animation: SHW .5s;
animation-fill-mode: both
}
@keyframes SHW {
from {
transform:scale(0.7);
opacity:0
}
to {
transform: scale(1);
opacity:1
}
}
Add only to .element class .animation and its working:
$('.container .element').addClass('animation');