+ 2

How can we make an element disappear after a period of time

I want to make an element ( for example SVG). disappear after a period of time / when it's animation is over.What can I do for it

1st Mar 2019, 11:50 AM
Aditya Kannojia
Aditya Kannojia - avatar
5 Antworten
+ 6
Css alone can make it happen 😜 svg { animation: hide 1s linear 5s 1 forwards; } @keyframes hide { to { opacity: 0; } } https://code.sololearn.com/WU2I1i9SA1KK/?ref=app
1st Mar 2019, 12:07 PM
Calviղ
Calviղ - avatar
+ 3
Aditya Kannojia Do you still have any more issues?
2nd Mar 2019, 11:29 AM
Calviղ
Calviղ - avatar
1st Mar 2019, 12:01 PM
Before
Before - avatar
+ 1
Calviղ can I do this to more than one element like a slide show like in the code now I want to show one quote after another disappears https://code.sololearn.com/WNI7UW9K316J/?ref=app
1st Mar 2019, 4:26 PM
Aditya Kannojia
Aditya Kannojia - avatar
- 1
https://www.facebook.com/100012701192217/posts/652125115220856/?app=fbl
2nd Mar 2019, 11:08 AM
Ayis Methaferyisha
Ayis Methaferyisha - avatar