re: Why it's time to embrace position sticky VIEW POST


I suggest to use this with a feature query, @supports (position: sticky). With feature query if you want to offset the sticky point, like top: 20px, it will only apply the top value to the element if position: sticky is supported.

code of conduct - report abuse