Zrób coś powoli niewidocznego CSS

.disappear{
    animation: disappear 2s ease forwards;
}

@keyframes disappear {
    from { opacity: 1; }
    to { opacity: 0; }
}
Maximilian Steiger