Tailwind class is not working after installed

You can simply change the following codes in your style.css and it will work.

from this

@tailwind base;

@tailwind components;

@tailwind utilities;

to this

@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";

Rest of the codes remain same. Only the above needs to be changed and you’re good to go. This usually happens in tailwind v3.

Hope the answer helps you.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)