B
B
bpGusar2018-04-09 16:28:33
css
bpGusar, 2018-04-09 16:28:33

How to solve the problem with IE and EDGE when layout on Flex?

Layout is coming, the client wants the site to work in IE and EDGE, and since I got to know FLEX, I can’t stand all these floats or other crap. Here's how to layout now without breaking the site in IE and EDGE?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Belkin, 2018-04-10
@BelkinVadim

EDGE supports flexes, IE supports flexes from version 10, but with prefixes (an autoprefixer will help). But in IE, there are some peculiarities of using flex, related to the size of the elements of the flex container. It's not worth it to just type in Chrome and hope that the autoprefixer will do everything right in IE, there is a chance that the result will surprise you. Therefore, I recommend checking all the developments related to flex at once

L
litash, 2018-04-09
@litash

look at modernizr, it can help a lot, it adds a bunch of classes to the body with or without support for flex, gradients, etc. it turns out that for chrome opera firefox you will write flexes and under uh and edge unfortunately floats and display block :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question