r/website • u/Yousemith_Begun48 • Aug 01 '26
DISCUSSION Is anyone still hand coding CSS or has Tailwind basically won
it feels like every new hire I talk to only knows Tailwind and gets lost in a plain CSS file. just wondering if vanilla CSS is becoming a legacy skill at this point.
12
u/ExplanationOk2014 Aug 01 '26
Tailwind suxk
1
1
u/Arcx07 Aug 08 '26
Hi! can you please enlighten me why tailwind sucks? I don't get the hate. Is it because it's harder to write than css?
1
1
Aug 02 '26
[removed] — view removed comment
1
1
u/MediocreAnalyst2121 Aug 02 '26
While I don’t use it anymore, other than a project at work, I think it’s fine if the CSS isn’t too complicated.
My issue with Tailwind is that once you’re doing pseudo selectors and such it gets really crazy - then I much prefer using SCSS.
2
9
u/BoGrumpus Aug 01 '26
Seems to be. I can't count the number of times in recent years where the designers for a WP or Shopify or whatever site end up sending me a checklist of things that are breaking for mobile or don't have a configuration setting in their page builder to get the effect they want.
HTML is just as bad. Designers are using the "tools" without knowing HTML so they don't realize how they just tanked their SEO efforts because they put the heading tags in a different <section> than the paragraph below it. Or that no visually impaired person can ever be able to buy anything from them or none of their customers can have their phone read them your blog like a podcast on their way to work.
The tools and software we use does what we tell it to. That doesn't do anyone any good if you don't know what to tell it.
G.
7
u/morgan_baker_dev_mbd Aug 01 '26 edited Aug 01 '26
I’m still using CSS/Sass.
Tailwind, when I tried it, just felt like far too much effort for such a relatively simple thing (CSS)
3
u/scragz Aug 02 '26
look into modern css features. I've managed to mostly ditch scss. you can even do nesting now!
1
u/morgan_baker_dev_mbd Aug 02 '26
I’ve seen what has been released within recent updates and you’re right, it does look to reduce the need for Sass entirely.
For myself, much of it boils down to comfort. I’ve been using it for years now and can just ‘flow’ when writing using it. I feel like I’m making faster decisions as it feels far more native to me.
Although I’m aware I’ll be missing out on some fantastic, useful features of modern CSS, I just need to find the time to read about them and their use cases.
1
u/92smola Aug 06 '26
I keep scss just for the &—modifier {} syntax, replacing the & sign for the upper level class, if i recall right css doesnt have that
1
12
5
5
u/RSMxsmanic Aug 01 '26
I hand-code everything.
-1
u/No_Presentation1242 Aug 02 '26
Okay boomer
1
u/RSMxsmanic Aug 02 '26
More than 98% of sites use CSS; less than one percent use Tailwind. Which of these provides the better return on your learning investment?
1
u/No_Presentation1242 Aug 02 '26
To say you hand code everything is not a flex anymore. It’s outdated.
1
u/RSMxsmanic Aug 02 '26
I'm not sure what you mean by a flex. Writing code by hand is never "outdated," but it may not be cost-effective when the only priority is speed of development. Rather like assembly language.
1
u/No_Presentation1242 Aug 03 '26
Writing code by hand is absolutely outdated with AI now. If you tried to get a developer job and told the hiring manager that you only write code by hand, you wouldn’t get the job.
1
5
3
u/arianebx Aug 01 '26
i use both - anywhere where i want a repeatable class i can control and change-once-change-everywhere, i declare classes
if things are plain vanilla, i use raw tailwind
(I did learn CSS as a hobby, in the era of Sass)
3
3
2
u/hotdog-savant Aug 01 '26
Tailwind will go away eventually just like coffeescript. It’s makes your html files unreadable. Global handcoded css files are the way to go.
1
u/Ingo-Steinke-Dev Aug 04 '26
When Tailwind or Boostrap go away, you can still include the exported styles in your project forever. After all they are just arbitrary class names. I used to "hate" Tailwind less than CSS-in-JS, but in the end it doesn't matter much more than tabs vs. spaces now. Whatever gets the job done, or whatever my predecessor used before abondoning their legacy codebase.
2
u/ActAdditional265 Aug 01 '26
I personally really dislike it and never use it. It's the new Bootstrap, now forgotten and nobody talks about it. I really don't like their approach, some devs are just not into design or don't want to spend any time on UI and use whatever is trendy at the moment.
2
u/azangru Aug 01 '26
Is anyone still hand coding CSS
Certainly
gets lost in a plain CSS file
I think I would get lost in tailwind. Never tried the thing. Was hoping I could outlast it.
3
u/dvduval Aug 01 '26
Yeah, I don’t think about CSS anymore. I just tell ChatGPT what I want to see. I gave examples where needed.
1
1
u/max_mou Aug 01 '26
Is tailwind like bootstrap or material-css?
1
u/92smola Aug 06 '26
To elaborate on the already correctly provided no, its not a ui library, you dont get ready made components and styles, you could argue that you get some defaults in tailwind as well, but that is minimal and not the main point, tailwind is just a helper to write css in a different way - the atomic css way, where every classname is a representation of exactly one property value pair, for example padding: 16px is p-4 in tailwind. It flips the role of the class, the original idea of the class was to give a reusable style identity for which you then write the styles for in a css file targeting that unique class name you gave it. In tailwind you stack different atomic classes directly on the element, so for every line of style definition you do in css, you would add one tailwinds atomic class and tailwind compiles the needed css from a list of all the classes you used. Tailwind made it easier and quicker to work on the html/css part of dev work, by skipping the need to name things, especially when it comes to things which are just wrappers which in tailwind you just write flex gap-2 for and move over them, in plain css you have to come up with a proper semantic name like .sidebar-info-section-controls-wrap or whatever, and you then had to jump between two files to make your edits, structure and styling were noticably two different things, with tailwind they blend in the same flow which often feels more natural, you are creating and styling the elements in the same one place, you dont have to track where are the styles coming from like you do in normal css and especially if its not done properly, handling the cascade and the name spacing of classes is a whole domain of skill in css that tailwind just eliminates the need for, but also surrenders some niche cool tricks which are much nicer to do in plain css, you can always use both and mix and match inside the project but then you really need to know your stuff and have discipline about what the rules for when to use what are, how to sync up design tokens from a single source etc.
0
1
1
u/No_Foundation_1051 Aug 01 '26
Why are you still actively using CSS? LLMs are here for years, nobody writes code, and especially not CSS, anymore.
1
1
1
u/copperfoxtech Aug 01 '26
I ise SCSS for everything. There is something about inline styling that looks messy to me. Plus I really enjoy having that separation between the two just for organization sake.
1
u/Hungry_Objective2344 Aug 01 '26
I write all my CSS by hand. Maybe a little Sass if I really need something.
1
u/Viktordarko Aug 02 '26
Aghhh I hate tailwind!
I personally prefer modules, so basically plain css.
However I just took over a newly vibecoded tailwind project and I feel I can’t escape it now! I might plan a refactor out of it and towards modules CSS + lightning CSS
1
u/MaximallyInclusive Aug 02 '26
I’ve got a nearly perfect flex-box grid system set up, it’s all original.
1
1
u/yangmeow Aug 02 '26
Never use a css library. Everything is hand coded more or less…custom sites, artist at heart.
1
1
u/DarthOobie Aug 02 '26
Tried tailwind and it turned the components into indistinguishable word soup. Made troubleshooting and finding code 10x harder.
Switched back to flat BEM classes and never going back to tailwind again.
1
1
1
1
1
u/Zoltan_Csillag Aug 02 '26
Tailwind sucks hard. Or I do by not understanding any need for that mess.
1
u/Distinct-Survey475 Aug 02 '26
It really comes down to architecture.
If you’re working on traditional HTML templates, Shopify, or WordPress monoliths, Tailwind quickly turns into unmaintainable class clutter in your markup. I completely get why people hate it in that context.
However, if you’re building with component-driven frameworks (Astro, React, Vue), the component boundary is your scoping mechanism. You write the utilities once inside <ProductCard />, and you never have to invent artificial BEM names like .product-card__title--active or worry about dead CSS piling up over the years.
Plus, with Tailwind v4 moving design tokens directly back into CSS via @theme, it’s much closer to vanilla CSS than older versions.
Tailwind hasn’t "won" or replaced knowing CSS—it just solved naming fatigue and orphan stylesheets in component-based apps.
1
1
1
u/heylesterco Aug 02 '26
I only hand code css. I’ve had to use Tailwind on a couple Wordpress projects where the budget required I find a theme as a starting point, but from there on it’s all pure html and css and so the projects become a mess under the covers of Tailwind that came before I got my hands on it and CSS (and probably a few too many “!Important”s). CSS is my favorite part of web design, and my favorite kind of problem-solving.
1
u/scragz Aug 02 '26
I don't like tailwind but if it's best for the client then I'm writing tailwind. I still hand roll my own stuff.
1
1
1
u/sleeksky_dev Aug 03 '26
It is not tailwind that won but the form factor. The ability to add styles inline with html and as a short hand. It works because they are a perfect form for AI and how it can design with a string of tokens.
Inline styles are extremely verbose and decoupled css like in bootstrap don't go well with AI.
The hard part is having to pre-process the code to generate the styles and inject. But the plumbing is place now with NextJS and all static site generators supporting it out of the box.
Yes, if you are hand coding then may be a decoupled approach will be more optimal. But if using AI agents which I think has become the default, Tailwind clearly wins.
1
u/really_cool_legend Aug 03 '26
Why is everyone such a dork when it comes to Tailwind? It's a tool that some people like and nobody is making you use - why does it take up so much mental space for people that don't use it?
Proper superiority complex vibes
1
u/DirtAndGrass Aug 03 '26
Tailwind if you like memorizing and tech debt
Modern raw css if you prefer understanding
1
u/Due-Horse-5446 Aug 05 '26
Tailwind is literally css..?
Theres only a few extra features thats anything other than a "predeclared" class representing one css prop
1
u/KaleRemarkable1019 Aug 05 '26
The plain CSS got quite a bit better last few years. Variables and nested classes made it a lot easier to write.
1
u/cssrocco Aug 05 '26
Tailwind is a horrible idea and nothing new. Utility classes have been around for a while and you almost always outgrow them when you need to start making things responsive, or you want to separate concerns ( as you should ). pair that with the fact that nothing about css is difficult, and since emmet is in vscode and other monaco based IDE’s you can shorthand most lightning fast anyway. all i see with tailwind is cluttering the dom for no real reason.
If you truly wanted utility, or a case of changing something in one place to propagate style changes everywhere you could make a library of partials in scss that do the same like:
```
%bg-sky-700 {
background-color: /some value/
}
.my-purposeful-class {
@extend %bg-sky-700;
}
```
And if anybody goes “oh but i don’t want a css pre-processor” tailwind uses one anyway. And you don’t need to tree-shake partials as they don’t get compiled into css until they’re used.
1
u/Upstairs-Version-400 Aug 05 '26
I don’t let Tailwind into our projects. I do however like their CSS reset so I pinch that. I like a few utilities from Tailwind but not the whole system. So if people want a “mb-4” then go ahead and make some utilities for it. Utility classes are extremely easy to make yourself.. you want Tailwind for the whole system. I worked with it for years and still like to use it for some things but not others.
1
u/92smola Aug 06 '26
I am reverting back to scss and BEM, seems a better fit for AI, tailwind biggest win for me was the DX of writing styles and the readabilty was always a trade off, now I dont have to worry about writing the styles, i am more interested in reading them so for me it flipped back, who know what the future hold, fundementals are by definition always useful
1
1
u/whiterhino8 Aug 07 '26
I've Tried long time both . with tailwind it is much easier to work with .
AI tools also work better with tailwind .
1
1
1
1
1
u/Citrous_Oyster Aug 01 '26
That’s cause they never actually learned css or how to properly structure and organize it. You don’t write vanilla css. You use LESS for nesting and other features. And group all the media queries for each section on top of each other and then have a comment tag to say which section the queries go to and have a mobile 0rem query for mobile code so you can collapse it and all other queries. Makes css sheets cleaner and more organized.
I been using my own LESS css for years now. Tailwind would just slow me down. It’s for developers who haven’t spent time on css and need their hand held placing it inline in the html.
1
u/wutzelputz Aug 02 '26
the good news is you don't even need LESS or SASS for many things now because they have become native CSS features. like nesting: https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Nesting/Using
1
u/Citrous_Oyster Aug 02 '26
Not as clean as less. And in less I can do (32/16rem) and it spits out 2rem in the compiled css sheet. That way I never have to make rem calculations again and I can change them to whatever number I want and it will automatically compute and rebuild. Much cleaner way of working and easier to see pixel value instead of doing rem math to understand how many pixels aomething in the css is.
0
u/Jellyfishr Aug 01 '26
Never heard of Tailwind do plenty of css
4
u/electricrhino Aug 01 '26
How have you never heard of Tailwinds
1
u/Jellyfishr Aug 01 '26
I've briefly looked into it now. AI said "a framework that blows large quantities of cryptic class names through your markup was perhaps accurately named."
0
1
1
Aug 01 '26
[removed] — view removed comment
1
u/AutoModerator Aug 01 '26
Your post has been automatically removed because your account is less than 14 days old.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Aug 02 '26
[removed] — view removed comment
1
u/AutoModerator Aug 02 '26
Your post has been automatically removed because your account is less than 14 days old.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Aug 02 '26
[removed] — view removed comment
1
u/AutoModerator Aug 02 '26
Your post has been automatically removed because your account is less than 14 days old.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
•
u/AutoModerator Aug 01 '26
Hi! ModBot here. Please make sure to read our rules and report this post if it breaks them. (This is simply a reminder. Don't worry, your post won't be removed just for posting!)
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.