Skip to content
Discussion options

You must be logged in to vote

yeah scroll-padding-top is one of those CSS properties that flew under the radar for years while everyone was writing JS scroll offset hacks. works great with sticky headers since the browser handles the math natively. mind marking this as answered so it shows up for others with the same setup?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Leong-Qi-Jin
Comment options

@sunnypatell
Comment options

Answer selected by Leong-Qi-Jin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants