4 ms·
At the time I used padding-top for each of the #elements, the header being absolutely positioned. More recently I discovered that you can just use `scroll-marg
by john-doe 5y ago
At the time I used padding-top for each of the #elements, the header being absolutely positioned.
More recently I discovered that you can just use `scroll-margin-top: 100vh`, as seen here: https://cadars.github.io/portable-php/ https://cadars.github.io/portable-php/
- TedShiller 5y agoInteresting, thanks for the tip!