Live data from Hacker News

CSS Grid – Table layout is back. Be there and be square

developers.google.com

1–10 of 280 posts

Re: CSS Grid – Table layout is back. Be there and be square

#6
It looks like this is getting released in the next major version of most browsers[1].

For Chrome, that means no sooner than 03/14/17. That version, Chrome 57, will also come with automatic background tab throttling[2].

[1] http://caniuse.com/#search=grid

[2] https://news.ycombinator.com/item?id=13471543

Re: CSS Grid – Table layout is back. Be there and be square

#7
> Short of taking care of sizing the elements yourself, sadly, you can't have both a vertical and horizontal rhythm by just using flexbox alone.

Accompanied by https://developers.google.com/web/updates/images/2017/01/css...

I'm pretty familiar with Flex but I simply don't understand and the diagram doesn't help. What does 'rhythm' mean in terms of layout?

Taking a guess (which I shouldn't be), I can make https://developers.google.com/web/updates/images/2017/01/css... with flex, but I'd have header and rest-of-page as columns, then have rest-of-page as a row with nav and content, then content as a column with content and footer. I think the article is saying:

> CSS grid means I can do it all at once rather than continually having to make rows and columns.

But it doesn't actually say that anywhere (and again I'm guessing).

Re: CSS Grid – Table layout is back. Be there and be square

#8

Why is this problem so hard when CSS does so much for node positioning? Why not create a simpler standard once and for all?

We had a simpler standard in 1995. It was called tables and it did this exceptionally well and more importantly was easy enough for even amateurs to understand. And then armchair demagogues decided that markup should no longer be used for markup, setting web layout back decades and creating the field of web designers whose major accomplishment was understanding stupid div hacks.

Re: CSS Grid – Table layout is back. Be there and be square

#10

It looks like this is getting released in the next major version of most browsers[1]. For Chrome, that means no sooner than 03/14/17. That version, Chrome 57, will also come with automatic background tab throttling[2]. [1] http://caniuse.com/#search=grid [2] https://news.ycombinator.com/item?id=13471543

Except for mobile ( Android, iOS ), which is the main reason that we use responsive design anyway.

I will stick to flexbox for a while.

Post reply on HN