Description
Creating page content that sticks to the viewport as you scroll, something like a jump-to-anchor menu or section headings, has never been easier. Throw a
Summary
- AWS Amplify - the fastest, easiest way to develop mobile and web apps that scale.
- With these two CSS properties, the sidebar element sticks to the top of the viewport with an offset to give it some breathing room.
- This is unnecessary if it’s preferred that the component stretch to fill the viewport height.
- And I was indeed wanting a toggle thingi on mobile like proposed in the article.