Answer the question
In order to leave comments, you need to log in
What is better to use in 2021 grid gap or flex gap?
I know the topic has been raised more than once, it is important to find out the latest data and ask experienced colleagues if you often use gap? Maybe there is an analog?
With a support of 92 percent, might it be more appropriate to move to the grid?
CSS property: gap: Supported in Grid Layout
Global 92.6% + 0.86% = 93.46%
gap property for Flexbox
Global 82.44%
Clients have recently started returning tasks, after the test they noticed that gap flexes do not work on iPhones (now explosive safari - we it was not enough in due time ie6-7).
Comrades, it's just interesting to know your opinion.
I myself love flex, but I put aside grids for a long time, maybe its time has come?
Answer the question
In order to leave comments, you need to log in
Use grid, if the task with grid is too complicated or resource-intensive, then use flex, and for indents, you will have to work out with margin including negative values.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question