this post was submitted on 08 Jan 2025
80 points (91.7% liked)

Programming

17781 readers
273 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 2 days ago (3 children)

Yeah CSS is now decent. The only problem is that the nesting is not very well supported yet. It’s something like only browsers > 2023 and let’s be realistic people run old machines.

[–] [email protected] 1 points 1 day ago (1 children)

I've read interesting argumentation against nesting. I'm not confident in whether it's more useful or not, in some situations or in general.

[–] [email protected] 2 points 1 day ago

Trust me, you'll code faster and your CSS will be way more readable.

[–] [email protected] 4 points 2 days ago (1 children)

We still see somewhat old browsers, especially from people using Safari on Apple devices (because IIRC it only updates when you update the whole OS). But it's a lot better than it used to be thanks to most browser having auto-updates

[–] [email protected] 1 points 1 day ago

Yeah, exactly.

[–] [email protected] 8 points 2 days ago (1 children)

Definitely not widely supported enough. Made the switch from sass back to css quite a while ago and let postcss polyfill less supported features like nesting.

[–] [email protected] 1 points 2 days ago (1 children)

Yeah, I was reading about PostCSS the other day, but still too lazy to change my environment. To be fair I only need the nesting polyfill and some kind of minifier, the rest I can live with native stuff.

[–] [email protected] 2 points 2 days ago

Lightning CSS is also great. A minifier at its core but also includes transpiling for older browser