This is a nice HTML animation for the labels on input fields like text fields by Florin Pop. When you click on the input field the label which is shown as the default text, jump sup tot the top of the field in a smooth wave animation.
If you are having trouble with the pen, try the archived copy on GitHub
Wave Lable Animation Snippet
See the Pen Fun Waving Animation by Florin Pop (@FlorinPop17) on CodePen.default