CSS position:sticky – How to detect element is stuck?
We still have no pseudo class to detect is
position:sticky
element is stuck at the moment or stay in its initial place. Some unresolved limitations don't allow to create an universal solution for everyone. Let's try to temporarily solve this issue.