Scroll Padding

Web Development

Updated Apr 17th, 2021

This makes me happy

Scroll-padding: 2rem 0 0 0;

Can solve the fixed header hiding the section title bug. I’ve definitely battled this for a while where you click a link send you to a specific part of the page but maybe you’re fixed header is blocking it or the view is just not where it should be