Is it possible to create a fading in and out effect for a div (for example, to cycle through different backgrounds) while keeping its children (such as text) visible at full opacity at all times?
{transitions((style,
<animated.div
class={
bg[i] + " bg-fixed bg-cover absolute h-full w-screen bg-no-repeat"
}
style={{
...style,
}}
>
<TextComponentHere/>
</animated.div>
))}