When scrolling down, gray/blacken the page

When scrolling down I would like to gradually gray/blacken the page.
Any way to do it?
Thanks!
Dan

Maybe a gradient background in the page style is what you are looking for

https://manual.bubble.io/core-resources/elements/page-element#background-style

I dont think this is the answer
but thanks anyhow

ah! my bad :sweat_smile: .
Do you mean like adding an overlay on top of the page?

exactly!
Thanks!
Dan

Hey dmintz2,

Easiest thing to do would be to overlay a shape over your entire page, then set opacity conditionals.

As the page reaches a certain scroll position, have the opacity change from 0 - 10, then 10 - 20, and so on. You’ll have to set multiple conditionals for the shape, but it shouldn’t be that hard!

First thank you so much!
Second, how do you set opacity conditionals??

how do I do that??

Cheers,
Dan

This topic was automatically closed after 70 days. New replies are no longer allowed.