+ 2

How to stay keyframe of animation in css ?

If we make an keyframe to transform a rectangle , from x=0px to x=100px . After starting animation object starts moving and after the animation ends it returns to the original position of it i.e x=0px. Please tell me how to stay on last keyframe of animation i.e x= 100px

22nd Sep 2020, 9:00 AM
Vaibhav Pawar
Vaibhav Pawar - avatar
3 Respuestas
+ 2
#rect{ transform: translatex(100px); }
22nd Sep 2020, 9:17 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
6th Oct 2020, 3:26 PM
Buddha Nag
Buddha Nag - avatar