A
A
Anastasia Panfilova2016-12-14 14:39:55
css
Anastasia Panfilova, 2016-12-14 14:39:55

Why mobile browser doesn't understand flex and how to fix it?

Everything is very simple. I want to put the block in the center of the parent block. To do this, I write to the parent block:

.parent {
display: flex;
justify-content: center;
}

Everything works on all browsers, everything works on the phone, except for the mobile built-in browser. He doesn't want to and that's it. I tried to add prefixes, but it still does not center.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
ukoHka, 2016-12-14
@ukoHka

caniuse.com/#feat=flexbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question