+ 4

Animation

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.

26th Jun 2020, 12:44 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
3 Antworten
+ 3
Add animation-fill-mode: forwards;
26th Jun 2020, 12:50 PM
Calviղ
Calviղ - avatar
+ 3
It worked as i wanted. Thanks bro.
26th Jun 2020, 1:14 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
+ 1
maybe you can add this code animation-fill-mode: forwards;
27th Jun 2020, 7:27 AM
Andi Gigatera Halil Makkasau 🇮🇩
Andi Gigatera Halil Makkasau 🇮🇩 - avatar