This is the code from my attempt at creating this Dribble design by tubik with HTML, CSS, and a touch of JS.
More of a proof of concept than anything else 😅.
You can watch me code this in this video.
I can't redistribute the video file that I used, but you could get a free one to replace it on Pexels Video, if you want to try your own version, or to improve what I created.