Prototype help, When element sticky add shadow effect

When my tab is sticky (stop at the top edge), want to add a shadow effect.
Can it be implemented? Or when some elements sticky, change it to different variants.

2 Likes