Top
Best
New

Posted by msephton 1 day ago

CSS is DOOMed(nielsleenheer.com)
https://cssdoom.wtf/
475 points | 108 commentspage 6
bradley13 17 hours ago|
Is this a proof of how great CSS is?

Or is it proof that CSS has "jumped the shark", adding in a plethora of features that have no place in a "stylesheet"?

antisol 16 hours ago|
Yeah. I came here to say: "this is awesome, but it's not evidence that css is awesome".
Levitating 1 day ago|
Is CSS that awesome? It's still a language designed for styling webpages with 30 year of added features. I'd argue something purpose built would be a much better tool for the potential usecases people try to use CSS for now.

I guess I am asking, if modern CSS is so awesome, it's awesome compared to what exactly?

oopsiremembered 1 day ago||
I think the argument lies in its flexibility and versatility (regardless of it being the most efficient or effective tool for this one particular task).

Duct tape is awesome for the same reason -- even though there are several effective use cases for duct tape where a different tool would technically be "better" for the job.

Levitating 1 day ago||
But you don't choose CSS, it's the only tool in the toolbox. As long as you stick to the Web.
hexasquid 20 hours ago|||
I'm asking the same question!

No doubt the very loudly opinionated not-web-dev community, who have So Much To Say about web devs and web tech, have produced an uncontroversial, perfect layout system, styling system, and language to produce the replacement for this awful web tech. Where is it? What is it? Please provide (the better version of) a hyperlink to the docs.

Levitating 8 hours ago||
There's decades of UI frameworks where the structure of the elements/widgets dictates the layout. HTML/CSS doesn't do that, because it is clearly made to style text documents, not UIs.

So yes I will argue that Qt6 and GTK are better than flexboxes.

Because you asked for it, here's some documentation to a UI framework which I believe to work better than the web stack: https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/index.html

pier25 1 day ago|||
I was writing CSS +20 years ago and it's never been better.
sbarre 1 day ago|||
What kind of system would you propose (or do you envision) for applying visual styling to HTML markup in modern web pages today?

You can keep it high level but your comment makes me think you have something in mind, and I'm honestly curious.

Levitating 1 day ago||
I am not sure what a purpose-built tool would look like, but the CSS-like language you see in UI frameworks like GTK is tailored for styling actual UI's.

In CSS on the web, just centering a div has historically been a problem. We have flexbox now, but what if CSS was designed with our current needs from the get-go?

micromacrofoot 1 day ago|||
compared to old css, it just keeps getting better
hrmtst93837 20 hours ago||
People keep reinventing 'better' styling tools, and we ends up with more bloat and more magic, while static UIs definately stay simpel.