Animation | SoloLearn: Learn to code for FREE!



I want an element to animate and rotate at 180deg. I want it to permanently stay at 180 degree after rotating but it comes back to its initial position. Please help.

6/26/2020 12:44:57 PM

Adnan Ur Rehman

3 Answers

New Answer


Add animation-fill-mode: forwards;


It worked as i wanted. Thanks bro.


maybe you can add this code animation-fill-mode: forwards;