that when user puts cursor on it , it stops floating .
How can I do this ?
https://developer.mozilla.org/en-US/docs/Web/API/Element/mouseover_event
You can use position absolute to make it look like float Add animation to triangle to give it some floating motion using key frames Via css you can pause animation on hover so the floating animation pauses and plays back when mouse hover is gone
Обсуждают сегодня