Pulse button or image effect

Is it possible to add a pulse button or image effect in loop when the page loads?
How to do it?

  1. You can use a gif file with this animation
  2. You can create a pulse button in an iframe like this .

Thank you!