Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Grid is crap. Html tables were much easier to handle, they should have gone with <grid> tags instead (since tables have been declared toxic). The cryptic nature of the grid layout units is something that seems deliberately obnoxious

who the f thinks this is readable: grid-template-rows: auto 40px 1fr 80px;



Tables were terrible.

But there is the middle ground of flexbox... honestly flexbox seems to work in nearly everything I use.


flex is ok, and actually fills a need, but can it be used to make e.g. a chat layout?

i don't agree btw. grid is voodoo declarations that is worse than tables. pretty much need to stackoverflow to do anything


>but can it be used to make e.g. a chat layout?

I don't see why not.


I use just regular ol divs to make a chat layout.


Looks pretty readable to me. 4 explicit columns, the first is width auto, second 40px, third takes up any remaining space, 4th is 80px. How would this be any more readable with tags or table setup? Especially if you want to have additional columns auto-generated by content or numerous other grid abilities that are not easy to setup with tables.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: