Skip to content

Instantly share code, notes, and snippets.

@aryankarim
Created September 20, 2023 07:30
Show Gist options
  • Save aryankarim/fd9d63a1061a2e68d4f1c5cfb47668a9 to your computer and use it in GitHub Desktop.
Save aryankarim/fd9d63a1061a2e68d4f1c5cfb47668a9 to your computer and use it in GitHub Desktop.
Occupy Remaining Height with Tailwind
<div class="tw-h-96 tw-bg-blue-500 tw-flex tw-flex-col">
<div class="tw-h-12 tw-bg-yellow-400 ">close</div>
<div class="tw-h-12 tw-bg-orange-300">tabs</div>
<div class=" tw-flex-1 tw-bg-red-500">data</div>
</div>
https://play.tailwindcss.com/fVWkGy9snb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment