M
M
mrWan2018-02-27 13:20:21
Flexbox
mrWan, 2018-02-27 13:20:21

Should I completely switch to flex layout?

Should I completely switch to Flexbox and give up on older browsers? or maybe there is some wonderful crutch for all browsers that do not support flex? or forget about all this and use CSS grid? It's a headache for me now, I can't decide. Many people say that some properties work differently in different browsers, if where you can use float and not check to be sure that everything is as it should, then in the case of flex, you have to be patient and study all browsers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Zhivagin, 2018-02-27
@Krasnodar_etc

If you need to support IE 10 - --- do not use flex
If you do not need --- use
Everything depends on the specific technical task

M
Mikhail Derkach, 2018-02-27
@skeevy

We look at Can I Use (we see that 98% of browsers support flex), we look at the technical task and if it is not IE 10 in the technical task, we use it.
Very powerful layout, it's a sin not to use it in principle, IMHO.
You need to check all browsers in any case, regardless of whether you use floats or flexes. And it is very interesting, who are "many"? Take it and check it yourself on your project. There is nothing wrong with that, and knowledge of technology will always be useful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question