Here is an example of utilizing CSS animations:
.show-left-menu {
-webkit-animation-name: leftSidebarAni;
-webkit-animation-duration: .25s;
-webkit-animation-timing-function: ease-out;
-webkit-animation-iteration-count: 1;
}
@-webkit-keyframes leftSidebarAni {
0% {
-webkit-transform: translate3d(0, 0, 0);
}
80% {
-webkit-transform: translate3d(84%, 0, 0);
}
100% {
-webkit-transform: translate3d(79%, 0, 0);
}
}
Is there a way to make sure that a div with the class 'show-left-menu' remains in its final (100%) state?