Is it possible to scroll to a div using HTML, but instead of scrolling to the top of the div, scroll 50px up from the div ?
Ive been following this method taken from HERE, but wondered how i could scroll past the div if required. Ideally i would like to do this with just HTML an no JS, but could use JS if required.
HTML
<a href="#google"></a>
<div id="google"></div>
CSS
html {
scroll-behavior: smooth;
}