Did you know about scroll padding? Easy solution to fixed header problem
shrutibalasa.substack.com
If you've ever had a fixed header with navigation bar and links to sections on the same page, you surely have faced this problem. You click on a link and the page smoothly scrolls to the particular section, but the top part of the section gets hidden behind the fixed header.
Did you know about scroll padding? Easy solution to fixed header problem
Did you know about scroll padding? Easy…
Did you know about scroll padding? Easy solution to fixed header problem
If you've ever had a fixed header with navigation bar and links to sections on the same page, you surely have faced this problem. You click on a link and the page smoothly scrolls to the particular section, but the top part of the section gets hidden behind the fixed header.