TailwindCSS - How To Use @apply & @layer directives

2 years ago
6

If you're new to Tailwind CSS, then you're likely trying to figure out how to use the various directives. In this video, I'll walk you through the @layer and @apply directives. We'll refactor an HTML button and go from inline Tailwind utility classes to using the same utilities as part of a CSS component class.

My website
https://www.pixelrocket.store

TailwindCSS Crash Course
https://www.youtube.com/watch?v=BY6fhtCDrqU

Loading comments...