Quick question about gradients


#1

DPs won’t allow gradients. Without making adaptive views, can I just create a rectangle that will span the browser on page load?


#2

The box you will create needs to have solid colors for gradients. No transparency seems to be available at this time.
OnLoaded, set size - replace size with [[Window.width]]or click on fx to do the same

here is an example: https://q96o58.axshare.com/#id=dl52gu&p=onload


#3

Set the width to [[window.width]] on page load and window resize. Transparency exists on gradients if needed.

Demo https://d7ck36.axshare.com/
RP file: Background.rp (48.9 KB)