Content
@
0 reply
0 recast
0 reaction
df
@df
One thing I changed my mind about in 2023 is tailwind CSS. I started the year curious, but not convinced. Now I can't imagine working without it - particularly with shadcn. Over the last 10 years I've gone thru: global CSS -> SASS -> BEM -> PostCSS -> CSS in JS -> CSS Modules -> Inline styles (fuck it) -> Tailwind
4 replies
0 recast
22 reactions
df
@df
tailwind gives you the best of inline styles: - code colocated by relatedness, not by language or part of stack - no mental overhead/naming/referencing - no jumping between files - copy pastable But with improvements: - standardized values & systems - more concise - bundling & optimization - lib composability
3 replies
0 recast
3 reactions
Nicholas Charriere
@pushix
This is the way. I went through the exact same journey (skipped BEM)
0 reply
0 recast
2 reactions
ted (not lasso)
@ted
I read this and thought you were talking about crypto startup school until I got to the last shadcn
1 reply
0 recast
2 reactions
Tayyab - d/acc
@tayyab
Bro, you went to inline styles, Why?!
0 reply
0 recast
1 reaction