News for hackers. Stuff that matters.
Re:Tailwind: A Utility-First CSS Framework by jorgesborges on Thursday September 27, 2018 @12:20PM (#18085947)
You can use a component. I personally design first using only tailwind utility classes. Once I reach a near-ready state I factor out the repeated code into custom components that will be easy to change in the future. That way I also don't have to wait for css to compile while I'm still making a lot of changes (I know, like 150ms right?).

.btn {

  @apply .bg-grey .rounded-sm;

}

There are no comments on this comment yet.