News for hackers. Stuff that matters.
Re:Show HN: Tailwind Button Playground by hmhrex on Friday January 03, 2020 @02:03PM (#21949141)
That just seems like a lot of classes though. Is it possible to create a component that inherits those classes?
Re:Show HN: Tailwind Button Playground by malydok on Friday January 03, 2020 @02:12PM (#21949251)
You simply create your own component class and `@apply` tailwind classes to it.

See: https://tailwindcss.com/docs/extracting-components