The animation effect of CSS3 is mainly achieved through transition. Use animate to define a tween animation, and the browser will automatically render according to the set time. The code of the two masters above has been perfected, and the subject owner can modify it according to his/her own needs
Run the above code and change it to w3school.
The link is: http://www.w3school.com.cn/cs...
Give you a link and change the parameters yourself
After placing the triangle image, use the class to control the action.
For example
The animation effect of CSS3 is mainly achieved through transition. Use animate to define a tween animation, and the browser will automatically render according to the set time. The code of the two masters above has been perfected, and the subject owner can modify it according to his/her own needs