Skip to content

Instantly share code, notes, and snippets.

@simonminton
Created October 20, 2020 08:13
Show Gist options
  • Save simonminton/b0c91d7a5ca76fdbc976b55a277ef3de to your computer and use it in GitHub Desktop.
Save simonminton/b0c91d7a5ca76fdbc976b55a277ef3de to your computer and use it in GitHub Desktop.

Revisions

  1. simonminton created this gist Oct 20, 2020.
    7 changes: 7 additions & 0 deletions tailwind-breakpoint-indicator.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <div class="fixed top-0 left-0 w-8 h-8 bg-red-700 text-white flex justify-center items-center" style="z-index: 99999999">
    <div class="flex sm:hidden">XS</div>
    <div class="hidden sm:flex md:hidden">SM</div>
    <div class="hidden md:flex lg:hidden">MD</div>
    <div class="hidden lg:flex xl:hidden">LG</div>
    <div class="hidden xl:flex">XL</div>
    </div>