<story><title>Why I don&apos;t like Tailwind CSS</title><url>https://www.aleksandrhovhannisyan.com/blog/why-i-dont-like-tailwind-css</url></story><parent_chain><item><author>captainmuon</author><text>I feel like an old man yelling at clouds, but I actually like CSS, with classes, specifity, and the cascade.&lt;p&gt;Maybe the difference is that other people build &lt;i&gt;apps&lt;/i&gt; with lots of components. When I write HTML I mostly build web pages - a lot of text, some images, and maybe a menu.&lt;p&gt;I need to be able to tweak properties among a lot of different elements at the same time. E.g. change the font face on all elements in the main area, change the color of all links that are not special links, rotate all titles and underline them, and so on. It&amp;#x27;s an iterative approach, as I evolve the design in HTML (I don&amp;#x27;t have a designer team that hands me a psd I just have to copy). To do this with Tailwind, you&amp;#x27;d have to use components, and you&amp;#x27;d have to add another layer of abstraction to affect the right components together.&lt;p&gt;And I know nobody really uses CSS Zen Garden style themes - but it is great to be able to take a HTML snippet and use it in another project with minimal changes and a different CSS design.&lt;p&gt;CSS has shortcomings - it&amp;#x27;s missing a way to &amp;quot;include&amp;quot;, it could have more complex selectors, it can get unwieldy in larger projects - but it is also does a couple of things really well.</text></item></parent_chain><comment><author>brundolf</author><text>I build apps with lots of components and I still like CSS with classes, specificity, and the cascade :)</text></comment>
<story><title>Why I don&apos;t like Tailwind CSS</title><url>https://www.aleksandrhovhannisyan.com/blog/why-i-dont-like-tailwind-css</url></story><parent_chain><item><author>captainmuon</author><text>I feel like an old man yelling at clouds, but I actually like CSS, with classes, specifity, and the cascade.&lt;p&gt;Maybe the difference is that other people build &lt;i&gt;apps&lt;/i&gt; with lots of components. When I write HTML I mostly build web pages - a lot of text, some images, and maybe a menu.&lt;p&gt;I need to be able to tweak properties among a lot of different elements at the same time. E.g. change the font face on all elements in the main area, change the color of all links that are not special links, rotate all titles and underline them, and so on. It&amp;#x27;s an iterative approach, as I evolve the design in HTML (I don&amp;#x27;t have a designer team that hands me a psd I just have to copy). To do this with Tailwind, you&amp;#x27;d have to use components, and you&amp;#x27;d have to add another layer of abstraction to affect the right components together.&lt;p&gt;And I know nobody really uses CSS Zen Garden style themes - but it is great to be able to take a HTML snippet and use it in another project with minimal changes and a different CSS design.&lt;p&gt;CSS has shortcomings - it&amp;#x27;s missing a way to &amp;quot;include&amp;quot;, it could have more complex selectors, it can get unwieldy in larger projects - but it is also does a couple of things really well.</text></item></parent_chain><comment><author>sammorrowdrums</author><text>I think the styles everywhere thing depends somewhat on how you create components.&lt;p&gt;For example I have used Tailwind with Styled Components so I have isolated CSS for components and interactions, and consistent classes for layout.&lt;p&gt;It really makes maintenance a dream. When you update a component it is clear what CSS is tethered to it, so you don&amp;#x27;t accidentally leave unused classes around or tweak classes that are used elsewhere with unknown results. The bigger the app, and the more developers the more this becomes useful.&lt;p&gt;Of course for personal sites and blogs and projects many tools are overkill. But I have saved so much time, bugs and effort by moving to Styled Components. Tailwind feels like what I previously used bootstrap for.&lt;p&gt;I can hand write the CSS but I want to be able to quickly switch columns and fonts and alignment in a cross browser, mobile friendly way while writing the HTML on the first pass when working professionally.</text></comment>