Categories
learning

Applying Multiple Tailwind Classes as Single Class

From src, but I haven’t tested…

<div class="my-div"></div>
<div class="my-div"></div>
<div class="my-div"></div>
<div class="my-div"></div>
.my-div {
   @apply bg-black text-white opacity-50 py-4 px-2 rounded-lg;
}

By bo.

I'm @boyEatsSteak in a lot of places. I have been wanting 🍕 for weeks. I like gadgets and technology and keeping notes and tips for my future self since all I can remember is that I forget things.