Hi @deryck.
The problem is that this is not a pure HTML code, you are running js code. I think this is something you would need a plugin for (either a dedicated plugin that takes in the gradient colors as input and creates the gradient or there are some generic JS plugins in the marketplace that might help you achieve it). I would probably just create the plugin itself.
@deryck I thought it was a nice exercise so I just did it and publish as a free plugin.
You can go ahead and install it Stripe Gradient Plugin | Bubble
or for it and do whatever you need to
@deryck it straight forward, install the plugin and that will add a gradient element to your available elements. Drag it to the page and adjust size so it will be the whole page.
I set up the page to the new responsive engine, and did many set and width/height
BTW the editor in the sample project is public , so you can just look at how I did it
@eldad1 I tried installing this and ran into a few issues. Perhaps you can help me (I’m sure it’s user error, on my part haha)
I want to use this gradient as a background. Any suggestion for using this behind the rest of the page content?
When I preview the page with this loaded, regardless of size settings, the page continues to scale vertically without end. Does that make sense? It just keeps growing, vertically
Hi @deryck, order and size of components is configurable, and you have a lot of options here.
This is what I did
I set the page itself as “Align to parent” and “Full width”: