Hello,

I’m able to make texts fade in and out sequentially, like the following :

F
Fi
Fir
Firs
First
 irst
  rst
   st
    t
S
Se
Sec
Seco
Secon
Second
 econd
  cond
   ond
    nd
     d
T
Th
Thi
Thir
Third

Demo : https://jsfiddle.net/KaKi87/t3jm8yhx/2/

But I’d like to to make these fade in and out simultaneously, like the following :

F
Fi
Fir
Firs
First
S rst
Se st
Sec t
Seco
Secon
Second
T cond
Th ond
Thi nd
Thir d
Third

How to do that ?

Thanks !

  • KaKi87@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I set such delays so that I have time to watch things happening in devtools, that’s all.

    However, reducing delays still doesn’t allow the next text to appear simultaneously with the previous text disappearing.

    The solution is figuring out how to overlay the texts without requiring a background color.