Hacker News new | ask | show | jobs
by seejamescode 3075 days ago
The community has been saying to use flexbox when you are only working with one axis, but I am not too sure that is true. Grid has adapted so many of flexbox’s rules, browser support seems to be the only differentiator.
1 comments

I have a site in flexbox and planning to move it to grid to learn.

There are typical 1D places (stacks of divs, basically), so typical for flex. But since I can do the same with grid I wonder if I should use flex anywhere now (even for 1D).

Note: browser compatibility does not matter for this site