How Can I attribute AT the opacity , a value of 0 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How Can I attribute AT the opacity , a value of 0 ?

In CSS, I want to change the opacity through an animation. But I don't want animation restart after the opacity is 0

25th Dec 2019, 9:49 PM
Max Andy MOUMOUNI
Max Andy MOUMOUNI - avatar
2 Answers
+ 2
Use forwards parameter Also look into CSS transition, might be cleaner
25th Dec 2019, 10:30 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 1
Okay thanks !! I will try😅
25th Dec 2019, 10:47 PM
Max Andy MOUMOUNI
Max Andy MOUMOUNI - avatar