Created
December 11, 2020 11:33
-
-
Save praveenjuge/21ad1f87616db5bdb11084e6a31c89f2 to your computer and use it in GitHub Desktop.
Tailwind Screen Size Debug for Hugo
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
{{ if .Site.IsServer }} | |
<div class="fixed p-3.5 bottom-3.5 left-3.5 rounded text-sm font-bold bg-white border" aria-hidden="true"> | |
<span class="sm:hidden">XS</span> | |
<span class="hidden sm:block md:hidden">SM</span> | |
<span class="hidden md:block lg:hidden">MD</span> | |
<span class="hidden lg:block xl:hidden">LG</span> | |
<span class="hidden xl:block 2xl:hidden">XL</span> | |
<span class="hidden 2xl:block">2XL</span> | |
</div> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment