4 ms·
When I see the grid syntax, I just wanna jump off a cliff. Who created this abomination and why? We need trials to check whether these were the output of humans
by lofaszvanitt 11mo ago
When I see the grid syntax, I just wanna jump off a cliff. Who created this abomination and why? We need trials to check whether these were the output of humans or some synthetics pretending to be humans.
- hexasquid 11mo agoIt's quite straightforward to find the discussions that lead to the specs, if you're interested in participating.
- lofaszvanitt 11mo agoSo it went thru multiple people and they all said in unison: well, this is all ironed out, easy to use and looks ok. We did a great job! Just mind boggling. I get it, maybe they want to create extra jobs, by adding complexity, hence more people are required for a role, but why keeping up the illusion? Fucking alter the economic systems if this was the goal.
- alwillis 11mo agoYes, the syntax takes a while to get used to; they were attempting to cover several different use cases. You can use ASCII art to “draw” your layout if you want to, which is quite accessible [1]. [1]: “Grid: how grid-template-areas offer a visual solution for your code” — https://webkit.org/blog/17620/grid-how-grid-template-areas-offer-a-visual-solution-for-your-code/ https://webkit.org/blog/17620/grid-how-grid-template-areas-o...
- alwillis 11mo agoLayout Land [1] is a great set of videos that explains CSS Grid [1]: https://m.youtube.com/layoutland https://m.youtube.com/layoutland
- lofaszvanitt 11mo agoWhy does it need explaining, when it has to be self explaining and not some overcomplicated mishmash. Like someone was under the influence of psychedelics when working out the specifics. We had to wait 15 years for proper positioning in css. Same shit repeated again.
- hollowturtle 11mo agoI sympathize with your comment and imagine the overflowing downvotes as soon you openly critic the web/css/javascript and their people doing the standard. I watched tons of videos and read a lot on mdn about css grid, I don't touch it for a while I need to go back at it again... After tables/floats/abs positioning eventually convoluted flex we should have stopped and review what the heck people were doing on w3c, it's artificial complexity we don't deserve that
- herpdyderp 11mo agoI simply ignore it and use flexbox without any issues.
- WorldMaker 11mo agoI think Flexbox is so much worse than CSS Grid. If Flexbox makes sense to you, it I don't think it should be that hard to learn CSS Grid, you'll already have many of the properties you need to understood learned. Grid just works properly in 2 whole dimensions where Flexbox sort of gives up after 1 and a half dimensions.
- herpdyderp 11mo agoI know grid. It doesn’t do what I want, so I don’t generally use it.