英文:
Is it safe to use Flexbox and Grid freely by now (2020)?
问题
我担心这不是一种代码交流,但是CSS3中的Flexbox和Grid始终让我的生活变得更轻松。但我无法停止担心浏览器的兼容性。在2020年(现在)毫不犹豫地使用Flexbox和Grid是否真的安全?
英文:
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)?
答案1
得分: 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:
英文:
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:
答案2
得分: 2
你可以自己查看:https://caniuse.com/#search=grid
如果你有任何疑问,可以通过访问日志检查用户的浏览器信息来验证。
英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论