3 ms·
You don't even need JS to fix the target scroll: https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header/21707103 http
by lifthrasiir 6y ago
You don't even need JS to fix the target scroll: https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header/21707103 https://stackoverflow.com/questions/10732690/offsetting-an-h...
- Zardoz84 6y agoYeah, but have a little problem. What happen when the anchored item have visible text ?
- hypertele-Xii 6y agoThat only works when you set the height explicitly.