+ 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
5 odpowiedzi
+ 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
+ 3
Aditya Kannojia Do you still have any more issues?
+ 1
+ 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
- 1
https://www.facebook.com/100012701192217/posts/652125115220856/?app=fbl