Comment

Comment by AlienRobot

The problem is not CSS per se, but HTML.

HTML was designed to be a document language, like a PDF, but worse because it has no absolute positioning so text just changes shape when you change the width.

Almost every website does NOT follow the "document" paradigm but an "app" paradigm with navbars, sidebars, panels, etc. None of these things fit the model HTML was specialized for.

If HTML/CSS were for those things, we would have had scoped rules for classes day 1.

parent AlienRobot 6 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton