104
submitted 8 months ago* (last edited 8 months ago) by rimu@piefed.social to c/webdev@programming.dev

This study compares two websites with similar design: the commercial Spotlight template from developers of Tailwind vs the same site with semantic CSS.

you are viewing a single comment's thread
view the rest of the comments
[-] wathek@discuss.online 18 points 8 months ago

Tailwind feels like CSS i have to re-learn. It's maybe slightly easier? mostly it just makes my html unreadable to the point i barely know what's going in anymore. I don't do much frontend stuff but i'm gonna go back to plain old CSS for my next project. It all sounds good in theory, but in practice, tailwind has been more work rather than less. I feel like i put a fair amount of time in understanding how everything works too.

It just really feels like one of those things that makes little difference but i wasted way roo much time on trying to give it it's fair chance.

[-] Strawberry@lemmy.blahaj.zone 5 points 8 months ago

CSS is great and every framework that tries to mix styling with the page markup needs to die

[-] Vincent@feddit.nl 3 points 8 months ago

Absolutely, the goal of Tailwind is not to allow you to skip learning CSS, and if you don't know CSS well, Tailwind is going to be pretty painful.

[-] spartanatreyu@programming.dev 0 points 8 months ago

I've seen people advocate for Tailwind because "CSS is too hard, I don't want to think about selectors".

CSS isn't too hard, there are easy ways to do things, and hard ways to do things (for backwards compatibility reasons). If you don't learn modern CSS then you're only going to be doing things the hard way.

[-] wathek@discuss.online 1 points 8 months ago

That's how i got sold on it too. My CSS skills aren't great, tailwind made it just slightly harder to deal with CSS i feel. Seems healthier to learn actual CSS instead of abstracting it away if the benefit is that low in the best of cases. Sure, large projects are a thing, but nobody puts a whole project in 1 css file anymore anyway, so what does it matter at that point.

[-] Vincent@feddit.nl 1 points 8 months ago

I've seen people advocate for Tailwind because "CSS is too hard, I don't want to think about selectors".

Yep, those people are wrong :)

(I mean sure, you can sort-of mostly skip selectors if you use Tailwind, but selectors are about the easiest part of CSS. I've never heard of someone struggling specifically with those but not with e.g. layouts, stacking context, relative font sizes, etc.)

this post was submitted on 13 Mar 2024
104 points (92.6% liked)

Web Development

3430 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS