+ 2
how to dissappear an image after 5s ?
I am creating a simple app so that logo comes first and then dissappears. please answer this.
7 Answers
+ 4
use animation duration
+ 2
I would use a css animation or transition
@keyframes dis {
0%{
opacity: 1;
}
100% {
opacity: 0;
}
div{
animation: dis 5s linear:
}
+ 1
can't we do it with css?
+ 1
I would use a css animation or transition
@keyframes dis {
0%{
opacity: 1;
}
100% {
opacity: 0;
}
div{
animation: dis 5s linear:
}
0
With style.opacity = 0 or or remove ... time.out etc.