Better navigation using HTML and CSS
Unproofread notes
Found this fascinating CSS snippet which makes the jump links behavior better.
html {
scroll-behavior: smooth;
}
[id] {
scroll-margin-top: 60px;
}
It makes the scrolling smooth and then adds a 60px
margin at the top.
- ← Previous
The dangerous 'find' command - Next →
Mistral agents API is here
Comment via email