0

I tried to edit the modul tailwind, like in a tutorial. I followd the instructions but still got the same problem.

Problem: Unknown at rule @tailwind Unknown at rule @apply

@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    @apply bg-gray-50;
}

@layer components {
    .btn {
        @apply bg-[#12b488] text-white px-3 py-2 rounded-md text-sm text-white;
    }
}
Taminator
  • 7
  • 1
  • If postcss and tailwind are setup correctly, then it's an editor only issue. See https://stackoverflow.com/questions/47607602/how-to-add-a-tailwind-css-rule-to-css-checker – Ahmed Shaqanbi Jan 29 '23 at 21:28

0 Answers0