News for hackers. Stuff that matters.
Re:TailwindCSS v2.0 by StreamBright on Thursday November 19, 2020 @07:48AM (#25148932)
Sorry for my ignorance, I am a backend developer and I am trying to figure out what is the best for my frontend code (when I work alone on something). So far I was using Tachyons (https://tachyons.io/) and elm-ui (https://elm-ui.netlify.app/). Is there a chance that Tailwind would be better for small / medium sized projects than these? Based on your comment it looks like. The only problem with Tailwind just by looking at the default settings was its size. I was reading somewhere that you can greatly reduce that. Your second point sounds pretty good (almost like a discriminated union for CSS)
Re:TailwindCSS v2.0 by mercer on Saturday November 21, 2020 @07:49AM (#25169412)
Once I properly used Tailwind for a mid-sized project, I was pretty much sold on it. Size was my main issue. With PurgeCSS the payload can be really small though. it only includes the Tailwind classes that you're actually using.
Re:TailwindCSS v2.0 by StreamBright on Saturday November 21, 2020 @01:43PM (#25171730)
Thanks! I am going to check out PurgeCSS.