Forked from BjornDCode/gist:5cb836a6b23638d6d02f5cb6ed59a04a
Created
October 14, 2023 21:32
-
-
Save MMTE/a6a538e122eeab004598da087ff58806 to your computer and use it in GitHub Desktop.
Tailwind - Fixed sidebar, scrollable content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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