Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MMTE/a6a538e122eeab004598da087ff58806 to your computer and use it in GitHub Desktop.
Save MMTE/a6a538e122eeab004598da087ff58806 to your computer and use it in GitHub Desktop.
Tailwind - Fixed sidebar, scrollable content
// Source: https://twitter.com/calebporzio/status/1151876736931549185
<div class="flex">
<aside class="h-screen sticky top-0">
// Fixed Sidebar
</aside>
<main>
// Content
</main>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment