@apply and @layer
Bundle repeated utilities into a single class with @apply, organize your custom styles into Tailwind's three layers with @layer, and learn when that helps and when it hurts.
Lesson 22 of 24
Bundle repeated utilities into a single class with @apply, organize your custom styles into Tailwind's three layers with @layer, and learn when that helps and when it hurts.