.title2 {
position: absolute;
top: 0;
right: 31%;
animation-name: vanishEffect;
animation-iteration-count: 1;
animation-delay: 2.5s;
animation-timing-function: ease-out;
animation-duration: 1s;
}
@keyframes vanishEffect {
0% {
opacity: 1;
}
90% {
opacity: 0;
}
100% {
display: none;
}
}
Can someone please clarify how I can ensure it disappears permanently? I thought it was working, but the text keeps reappearing! I want to hide the text completely after the effect is executed rather than have it visible again at the end of the animation.