News for hackers. Stuff that matters.
Re:Tailwind and the Beauty of Ugly Code by imilk on Friday July 07, 2023 @01:40AM (#36627643)
You can use CSS preprocessors such as Sass that have inheritance. But most people doing front end design these days separate out design elements into components, which pretty much completely handles the re-usability of the underlying CSS. But @apply is useful for smaller elements used across components like buttons, form elements, headings, etc.

There are no comments on this comment yet.