Currently you have to write some custom CSS to get separate styling for headers that become sticky. However, wouldn’t it make sense to include some native options for sticky header styling?
2 Likes
Was thinking about the exact same thing the last time I had encountered this!
A separate, style-able ‘isSticky’ state for the background would be nice. For example, if you want the header bg to be transparent while showing your hero section and let it have a background color as soon as you scroll down.
2 Likes
I agree it would be nice. It would be nice to have a similar state styling like “bricks” where :hover
is it’s own selectable and when selected any changes to the controls only affect when you are hovering over an element. I’m not sure our solution would look like that, but I’ll keep some thoughts on it. Have a great weekend.
2 Likes