Animation (fade out) [SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 24

Animation (fade out) [SOLVED]

{SOLVED Thank you to all for giving your valuable time and helping me😊} In this code I want that the white box once faded shouldn't fade in back i.e. I want that once disappeared, it shouldn't appear again🤔 Please help ASAP🥺🥺🥺🥺 https://code.sololearn.com/WNofssiC9iwN/?ref=app

23rd Sep 2020, 3:56 PM
Demi lune🌙
Demi lune🌙 - avatar
15 Answers
+ 11
The simplest option is set the opacity of the box to 0 So after the animation, it won't be seen again
23rd Sep 2020, 4:03 PM
Justin
Justin - avatar
+ 10
KL Rahul great that works✌️✌️👌
23rd Sep 2020, 4:12 PM
Piyush
Piyush - avatar
+ 7
Awesome way 🔰 Justin 🔰 bhaiya ..but it wouldn't be visible at beginning and I want it to be visible from beginning😔
23rd Sep 2020, 4:05 PM
Demi lune🌙
Demi lune🌙 - avatar
+ 7
I think ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 try animation repeat 👀 and set it's value 0.. May that help..
23rd Sep 2020, 4:06 PM
Piyush
Piyush - avatar
+ 7
Piyush I don't want the animation to repeat 😔
23rd Sep 2020, 4:07 PM
Demi lune🌙
Demi lune🌙 - avatar
+ 7
Do u want the animation to be executed again?
23rd Sep 2020, 4:16 PM
The INDIAN
The INDIAN - avatar
+ 3
The doubt got solved .... I want to see the answer plzzz...i.e. the correct code🥺🥺🥺 ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶
24th Sep 2020, 9:22 AM
Spacice
Spacice - avatar
+ 3
Spacice see once the syntax mentioned by kl Rahul sir...it proved helpful to me😊
24th Sep 2020, 9:29 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 3
used this: animation: fadeout ease 2s forwards:
25th Sep 2020, 5:14 AM
bhagyashree
+ 2
:0 amazing ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 and can you explain what does that forward word did ???KL Rahul ....I mean meaning
24th Sep 2020, 2:25 PM
Spacice
Spacice - avatar
+ 2
in android fade in and fade out animations are used to change the appearance and behaviour of the abjects over a particular interval of time
25th Sep 2020, 5:18 AM
bhagyashree
+ 2
wow 👌it seems I need to learn about @keyframes
25th Sep 2020, 2:11 PM
Bravin Rutto
Bravin Rutto - avatar
+ 2
list[1,2,3,4,5] x=3 print(x in list)
25th Sep 2020, 3:40 PM
Abhishek Pal
Abhishek Pal - avatar
+ 2
both ko remove kr fo
28th Oct 2020, 10:06 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 1
plz give me output.mera error aa raha hai
25th Sep 2020, 3:42 PM
Abhishek Pal
Abhishek Pal - avatar