Hacker News new | past | comments | ask | show | jobs | submit login

People don't do that because it's not the right way and is explicitly discouraged by the docs: "While it’s highly recommended that you create proper template partials for more complex components, you can use Tailwind’s @apply directive to extract repeated utility patterns to custom CSS classes when a template partial feels heavy-handed."

https://tailwindcss.com/docs/reusing-styles#extracting-class...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: