News for hackers. Stuff that matters.
Re:Ask HN: Is it just me, or is CSS too damn hard? by onion2k on Monday January 28, 2019 @11:59PM (#19023894)
The reasons were he never got his head around the DOM or the CSS box model and the fact that it all assumed you were using CSS to style a document (or more specifically, a DOM tree).

This seems to be true of many devs who find CSS hard - there seems to be an assumption that you can take any HTML structure and use CSS to magically make it look like any design. The author of the question even lists a huge number of languages they've used over 10 years but misses out HTML as one of them. The simple fact is you can't just use CSS. To implement specific layouts you also need the right DOM structure.

There are no comments on this comment yet.