Keep CSS scroll snap targets visible below a fixed header
DEV Community
Keep CSS scroll snap targets visible below a fixed header
Keep a snapped section from landing under a fixed header by reserving space on the scroll container with scroll-padding, without changing the child snap alignment or the snap strictness.
0 comments
No comments yet.