my header should be transparent until the user scrolls down to 100. Then it should ease in to change color.
I have create a state which chances the background color after context.screen?.[‘scroll’]?.[‘y’]>100. This works fine. But how do I get to ease in the background color?
I have tried with the transition parameter but nothing changed. Please advise.
Looking under the covers via devtools, the transition is set on the child div while the parent is changing. I made a short video illustrating the phenomenon:
Wonderful! Love the hard puzzles. We tackle questions like this every day in State Change office hours. The low-code aspects of weweb come up often, and we make progress together!