4 ms·
Even on one element you can combine tailwind classes. With styles you need to write out the final result. Then you can also use @apply if you wish but leave th
by parrit 1y ago
Even on one element you can combine tailwind classes. With styles you need to write out the final result.
Then you can also use @apply if you wish but leave that out of the argument as it is considered unidiomatic.
Of course if using React you can also use styles directly and then create your own utilities to determine how they compose. Which might give you much of the Tailwind edge without needing the compile step.
- zelphirkalt 1y agoEven on one element you can combine CSS classes. Easily.