Flexbox or CSS Grids


Can you give me your opinion on learning CSS Flexbox or CSS Grids, which one should I learn first?
I know difference between them but I can’t still decide which one should I learn first. :confused:

Best regards,

I don’t see that it matters too much which you learn first, unless you have a more immediate need for one over the other.
Most people I think will have learned flex first, simply because it had browser support sooner.


Of course, flexbox. Today flex has 97% browsers support, when css grid only 70%

Just curious, but what are you using as the source for those figures?

1 Like

About flexbox - https://caniuse.com/#feat=flexbox
css grid - https://caniuse.com/#feat=css-grid

1 Like

They aren’t mutually exclusive so even if you learn CSS grids you will still have need to populate the grid with flexbox.

Grid isn’t ready for prime time yet whereas flexbox now has very good support so I would learn flexbox first so that you can apply it in sites now and then practice with grid until it becomes mainstream (which will probably be another year or so).

Grid is likely to become the main layout tool in the future but I do have reservations about its complexity and how authors will adapt to it. I’ve only played around with grid a few times myself but intend to delve deeper in the next 6 months.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.