News for hackers. Stuff that matters.
Re:CSS Tips by have_faith on Monday April 26, 2021 @05:37PM (#26948520)
They solve different problems.
Re:CSS Tips by runarberg on Monday April 26, 2021 @06:04PM (#26948856)
In general: Flex is for flowing content, grid is for structured. You can do some awesome wrapping with flex that is impossible with grid. Also `margin-inline-start: auto` is pretty rad using flex, although you can do something similar with `justify-self` with grid.

A good use case for flex would be a list of tags, that need to wrap.