Created
October 20, 2020 08:13
-
-
Save simonminton/b0c91d7a5ca76fdbc976b55a277ef3de to your computer and use it in GitHub Desktop.
Add an indicator for current breakpoint in TailwindCSS. Place directly after the <body> tag.
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
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment