Hi, can I ask some help please, how can I achieve to animate the letters going up ?
During the page load, the letters are invisible first in the div class=“balloon-area”, then after 1 second it will animate to going up. The formation of the letters is diagonal to show up when it animates by 3 letters. Then it will disappear after it reaches to the top end. Then it will shop up again after all the letters are being animate. It’s like infinite loop ?
You can use keyframes and translate the letter from one position to another.
I’m not going to write the whole thing (as I am away) but the basics are like this.
Of course you will need more complex keyframes if you want a lot of stops and a lot of other letters but the above should show how you can animate from one position to another.
How can I set a little delay ? First 3 will go up during page load then a little delay for the second 3 to start the animation and so on. Is this possible ?
The easiest solution is to have 2 sets of elements and one you animate once and disappear and the second set you just animate after setting a small animation-delay value.
Alternatively you could add a new class when the document is loaded (via js) and then use that new class to do the continuous animation. i.e. The default is to animate just once but when you add the new class you can have a new animation that is continuous.
I also got it. This what I want 3 letters going up first then delay next 3 letters. But I need to adjust my animation a little bit slow to go up, just like a balloon floating up on air.
I will try also to apply your code, this can help me because it might also have 12 letters or more but still the same by 3 letters going up.