Skip to content

Glossary: Tailwind CSS

@apply

Also written: apply

A Tailwind directive that copies the CSS of the utilities you list into your own rule. Kettle & Crane uses it to build `.btn` from utilities like `rounded-lg px-4 py-2`.

Where the book teaches it

Related terms

@layer components@referenceUtility class