How to create an animated background


I was wondering how I could implement an animated background on one of my dApp pages( to this minting website you see how they have the animated background(

Thank you,

Yup, many ways to do this.

  1. with a HTML section that specifies the source (src) of the looping video, and css rules that make that element span the page, with a z-index smaller than the other z-index’s of the page.

  2. Some background video/lottie implementation. You can use plugins, but I would try to minimize dependencies.

1 Like

Hey @seodesignslab,

If you check the network requests for the website, you will notice they are just looping a GIF :slight_smile:

Hope that helps.

1 Like