You can upload an image in gif format and assign for a button or a static image. or you can assign a container by creating an animation with CSS
.your-button-class { animation: scaleUp 1s infinite;}
@keyframes scaleUp {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }}
Adjust the animation duration (1s
in this example) and other properties as needed for your desired effect.