I'm afraid it's not a code talk but, Flexbox and Grid in CSS3 have always made my life easier. But I can't stop worrying about the browser compatibility. Is it seriously safe to use Flexbox and Grid without hesitation in 2020 (now)?
Asked
Active
Viewed 7,360 times
3
-
1It is part of the css3 spec and big actors follow and implement the css3 spec. what makes you so worried ? – Alan M Jan 03 '20 at 07:31
-
1It is definitely safe to use. Just have a look at caniuse.com and type in flexbox and grid. You see compatibility rises and is already large. – Effection Jan 03 '20 at 07:32
-
IE is still widely used by people in my country, unfortunately :( – Jinwook Kim Jan 03 '20 at 07:33
-
1It depends entirely on what browsers you have to support. – zero298 Jan 03 '20 at 08:35
-
1Flexbox yes. Grid no, but I use grid with flexbox fallback. – Dejan.S Jan 03 '20 at 10:19
-
1The "This question already has an answer" question really doesn't answer this question in full, it's only about Grid, while this mentions Flexbox. – jerclarke Jun 15 '20 at 19:26
2 Answers
5
Whether it's "safe" depends on the percentage of browsers your target audience is using. So the problem can be considered subjective.
There is no fatal instability because at the moment it is rich in polyfills and most modern browsers support flexbox and grid layout.
Support tables of flexbox and grid layout:
Polyfills:
-
-
3@HosMercury A pollyfill in web development most often refers to javascript code that reproduces certain CSS or HTML5 functionality that is not supported by older browsers or devices. – WizardCoder Sep 10 '20 at 09:40
2
I think so, you can see for yourself here: https://caniuse.com/#search=grid
If you have any doubts you can check in your access log to verify your user's browsers via the user-agent

Oded BD
- 2,788
- 27
- 30