Put in order · Angular course · Module 13: UI and Styling

The @apply directive

Arrange on a single line an @apply rule that creates a custom class from Tailwind utilities.

Items to put in order

  • bg-samurai-red
  • text-white
  • px-4 py-2 rounded-lg;
  • @apply

You can check the correct answer by solving this task in the CodeWorlds game.