Saw this funny behavior a few days ago, where a button will run away from the cursor if the form is invalid and tried to do something similar with CSS and a little JavaScript.
In this code I use transitions and transforms. I also use the "checkValidity" method to get the validation status with JavaScript.
Nesta página do site você pode assistir ao vídeo on-line Evading button effect with CSS and JavaScript duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coder 11 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 544 vezes e gostou 7 espectadores. Boa visualização!