+ 6

How do I make letter animations were some text write as the code is runed

3rd Jun 2018, 1:40 AM
Webster
Webster - avatar
5 Antworten
+ 5
A typing animation? With CSS, you could set an animation property and use the steps function as value. Examples: 1) https://code.sololearn.com/WygoXXDJOoZY/?ref=app 2) https://code.sololearn.com/Wl5JnNxXJtW2/?ref=app With JavaScript, you could store a string in a variable, and then with a setInterval function and charAt function call each letter of the string that's saved in the variable. Example: 1) https://code.sololearn.com/WlSvv9FSVT65/?ref=app
3rd Jun 2018, 7:10 AM
Pao
Pao - avatar
+ 4
thank you
3rd Jun 2018, 7:21 AM
Webster
Webster - avatar
+ 2
you're welcome Latudanee 👍😊
3rd Jun 2018, 7:29 AM
Pao
Pao - avatar
0
I am suggesting that try to use typed.js. A very unique way of writing text animation. https://github.com/mattboldt/typed.js/ GitHub - mattboldt/typed.js: A JavaScript Typing Animation Library
7th Jun 2018, 4:48 PM
Mohan Mishra
Mohan Mishra - avatar