The app gets the text from HTML, clears the text element (h1), wraps every character in span, sets CSS style and --delay variable for every span, and adds all the spans into the text element (h1). In CSS, the animation is defined for spans which animate every span with different delays.
Staggered animation: text fade in from the bottom (every character with delay)
lelekaspb/coolltext
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Staggered animation: text fade in from the bottom (every character with delay)
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published