New blog post: Tailwind vs semantic CSS #86
Replies: 4 comments 19 replies
-
I thought it was very interesting when you pointed out the future technical debt Tailwind could become. Haven't really considered that viewpoint. |
Beta Was this translation helpful? Give feedback.
-
i agree with the tailwind points. Although I use unocss which seems better to me, especially some of its features like
<div bg='red' border='1 solid blue'> instead of tailwind's className='border-1 border-solid border-blue` it gets cleaner with valueless attributes, like Another thing i like about this is that the responsive related classes are easy to use, like
here shortcuts could be used as classname / tag name, like
you can even compile the classes into 1 Imo unocss can be a lot more cleaner than tailwind, I like styling in the markup cuz its easy to make responsive quick |
Beta Was this translation helpful? Give feedback.
-
Maybe someday we'll see something that allows us to use Tailwind in dev, but that translates to "optimized HTML/CSS" at build time, to get around the blotted HTML/CSS argument of the blog post... best of both worlds (if one doesn't want to deal with naming/organizing CSS). |
Beta Was this translation helpful? Give feedback.
-
Maybe you've explained that somewhere, but what is your vision for Nue CSS? We have Open Props all the way to UnoCSS, but I'm not sure really what problems you're aiming to solve apart from pushing it closer to standards. |
Beta Was this translation helpful? Give feedback.
-
Check out:
https://nuejs.org/blog/tailwind-vs-semantic-css/
Beta Was this translation helpful? Give feedback.
All reactions