D
D
DoggoTheKing2017-04-06 18:16:40
css
DoggoTheKing, 2017-04-06 18:16:40

How to make flex-boxes cross browser?

.class{
    text-align: center;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-content: center;
    align-content: center;
}

Everything seems to be fine, but the standard Android5.0 browser and its earlier versions do not think so.
This browser's engine is WebKit

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Kublyakov, 2017-04-06
@DoggoTheKing

The problem is definitely not in this code. This code will work on android 5 without problems.

V
Vladislav Polyakov, 2017-04-06
@polRk

Check if flexbox is available on this CIU site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question