Re:Tailwind CSS v3.0
by hbn on Friday December 10, 2021 @02:25PM
(#29514325)
You can still call it a banana in Tailwind, but you'd do it with a component in your framework rather than a class name.
If you plan on using bananas multiple times throughout your app, aren't you going to be pulling that out into a component anyway? So define that it's curved and sweet and yellow in that one place, and then insert an instance of it wherever necessary.
If you plan on using bananas multiple times throughout your app, aren't you going to be pulling that out into a component anyway? So define that it's curved and sweet and yellow in that one place, and then insert an instance of it wherever necessary.