r/ProgrammerHumor • Spanish is turing complete • Dec 16 '18

The pains of CSS

Post image
58.0k Upvotes

582 comments sorted by

View all comments

10

u/Andy_B_Goode Dec 16 '18

I have never understood why CSS has remained so popular as a way of positioning things in a browser viewport. It's bizarre to me that in this day-and-age, after years of single-page web apps, browsers haven't implemented some alternative to CSS that better suits app-like websites instead of page-like websites. I know there are workarounds, but they basically amount to writing code that then gets transformed into CSS for browser consumption. Why can't we have a native alternative? Why do I keep having to use a system that's essentially meant for aligning chapter headings on a page, when what I'm really doing is positioning a popup dialog relative to where the user clicked?

0

u/[deleted] Dec 16 '18

[deleted]

-7

u/scandalousmambo Dec 16 '18

and have pretty much solved the positioning frustrations everyone had with CSS

There shouldn't have been any to begin with.

9

u/[deleted] Dec 16 '18

Why do you say that? CSS is from a time when responsiveness wasn't a thing. I think it has adapted nicely. A graphic designer can send me a pimped out webpage mockup, and I know every time that I create that exact page, working on every device, and I can do it all using only HTML/CSS/JS in a relatively short amount of time and minimal code.

-1

u/scandalousmambo Dec 16 '18

Why do you say that?

CSS is the Whore of Babylon.