How to reuse a group of utility classes in Tailwind CSS without frameworks like React or Vue? #18580
-
I'm using Tailwind CSS in static HTML, without a framework
I don't want to copy all these classes every time. What is the correct or recommended way to reuse this kind of markup in plain HTML? I'm not using React, Vue, or any other frameworks - just plain HTML with Tailwind CSS. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! Check these docs: https://tailwindcss.com/docs/styling-with-utility-classes#using-custom-css |
Beta Was this translation helpful? Give feedback.
Hey! Check these docs: https://tailwindcss.com/docs/styling-with-utility-classes#using-custom-css