Skip to content

Instantly share code, notes, and snippets.

@joesoeph
Created February 21, 2023 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joesoeph/eddb0d47c219a55abaa425ac6d22e0b8 to your computer and use it in GitHub Desktop.
Save joesoeph/eddb0d47c219a55abaa425ac6d22e0b8 to your computer and use it in GitHub Desktop.
Example Responsive Breakpoint Using Vuetify And Tailwind
<v-row>
<v-col cols="12">
<div class="red d-flex d-sm-none">XS</div>
<div class="green d-none d-sm-flex d-md-none">SM</div>
<div class="blue d-none d-md-flex d-lg-none">MD</div>
<div class="yellow d-none d-lg-flex d-xl-none">LG</div>
<div class="pink d-none d-xl-flex">XL</div>
</v-col>
<v-col cols="12">
<div class="tw-bg-red-300 tw-flex sm:tw-hidden">XS</div>
<div class="tw-bg-green-300 tw-hidden sm:tw-flex md:tw-hidden">SM</div>
<div class="tw-bg-blue-300 tw-hidden md:tw-flex lg:tw-hidden">MD</div>
<div class="tw-bg-yellow-300 tw-hidden lg:tw-flex xl:tw-hidden">LG</div>
<div class="tw-bg-pink-300 tw-hidden xl:tw-flex">XL</div>
</v-col>
</v-row>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment