It's been a while since I come back to Webflow. I'm trying to remake my portfolio and due to the nature of my job, I have to integrate animated sprite in the website.
So far, I have succeeded in putting a animated sprite in my page by cutting frames from an sprite sheet using canvas. The problem is, even though my sprites has transparent background, the image is automatically filled with white background when displayed. I have tried many ways, but am stuck now.
Here is my working website with the animation filled with white background (it's at the page's last section):
Here is the code I'm using:
If someone has experience in this field, could you kindly provide me with help? I'm not expert in coding, so my code may looks like a mess, I'm sorry about that beforehand