Javascrip achieves special text beating effects 1. Let's control how to convert strings into fonts one by one
1. Obtain the string content
2. Clear string content
3. traverse the strings and cut them one by one.
4. Add positioning for the cut text
5. assign a new value to the obtained element.
2. How to beat the text after moving the mouse
1 define a variable 0
2 define a timer
3. continuously reduce Variables
4. Change the top = variable of the element.
5. When the variable reaches a certain height, keep increasing the variable.
6. When the variable is reduced to 0 (its own position,
7. Clear the top = 0 (position) of the animation to change the element)
Text beating effect-vico If there are no errors or failures, you will not learn anything; if there is no pain, you will not grow up. Once you understand this, you know that everything happens for a certain purpose. So don't be nervous or think that life is unfair, because everything has a reason, and only time can tell us what has taught us.