4 ms·
They solve different problems.
by have_faith 6y ago
They solve different problems.
- runarberg 6y agoIn 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.