Why do I see no styles if I add a new Tailwind class in HTML?
In JIT mode, Tailwind only generates CSS for classes it finds in your files during build or dev server. If your new class is not detected (e.g., dynamically generated or typo), no CSS is created, so no style appears.
💡 Always write full class names in your HTML or configure safelist to include dynamic classes.
Why does the hover effect not work sometimes?
Hover styles are generated only if the hover: prefix class is present in your HTML. If you forget to add hover: before the class, Tailwind won't generate the hover CSS.
💡 Use the exact hover: prefix in your class names to get hover styles.
Why is my page size smaller with JIT mode?
JIT mode generates only the CSS you use, so your stylesheet is much smaller than generating all Tailwind utilities upfront, making your page load faster.
💡 Less CSS means faster loading and better performance.