Forum Academy Marketplace Showcase Pricing Features

Custom HTML Element won't take up full width/height

I’m trying to create an animated gradient effect for my bubble app.

I’m taking this code from Codepen.

Here is the code in a HTML element I’ve put on my page:

Here’s how the page looks on preview mode - I have included a regular group above the animated gradient to highlight the issue:

I don’t understand why the HTML element isn’t expanding to take up the full page width - you can see there’s on the left between the HTML element and the edge of the screen. There’s also a gap at the top between the regular group and the animated gradient.

Anybody have any thoughts on what might be causing this? :slight_smile: