Y
Hacker News
new
|
ask
|
show
|
jobs
by
oneplusone
2044 days ago
Or just use the css property scroll-margin.
2 comments
hypertele-Xii
2044 days ago
This only works with explicitly set heights. If you don't know the header's height, this won't work.
link
city41
2044 days ago
Unfortunately not supported by Safari.
link