Home > Blockchain >  how do I code a button with animated background ? (React)
how do I code a button with animated background ? (React)

Time:01-13

I would like to create a button with animated(gif/video) background

here is an example - the DOWNLOAD button on this sites main page: https://fivem.net/

Preferably I would like to see a solution using React

CodePudding user response:

in CSS:

backgroundImage: url('animated-gif-url.gif')

  • Related