Remix.run Logo
Levitating 13 hours 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?

hexasquid 4 hours ago | parent | next [-]

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.

oopsiremembered 13 hours ago | parent | prev | next [-]

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 12 hours ago | parent [-]

But you don't choose CSS, it's the only tool in the toolbox. As long as you stick to the Web.

pier25 11 hours ago | parent | prev | next [-]

I was writing CSS +20 years ago and it's never been better.

sbarre 13 hours ago | parent | prev | next [-]

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 12 hours ago | parent [-]

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 13 hours ago | parent | prev | next [-]

compared to old css, it just keeps getting better

hrmtst93837 4 hours ago | parent | prev [-]

People keep reinventing 'better' styling tools, and we ends up with more bloat and more magic, while static UIs definately stay simpel.