P
P
Programming2019-09-27 21:17:50
Internet Explorer
Programming, 2019-09-27 21:17:50

How to make Flexbox for IE?

I type on flexbox and never checked how it works in IE
In all normal browsers everything works fine and looks the same.
It happens that there are differences on the desktop and mobile, but you always manage to do what you need.
What versions of IE and newer MS browsers normally support flexbox?
So that it was without crutches and polyfills. To make clean code cross-browser friendly.
I started thinking about it when I found out that MS browsers do not seem to support:
justify-content:space-between;
Here is a list of properties and values ​​that I use:

flex-direction:
column
row
row-reverse
column
column-reverse

justify-content:

center
space-between
flex-start
center
flex-end
space-around
align-items:
center
stretch
flex-start
center
flex-end
baseline
flex-wrap:
wrap
nowrap
wrap
wrap-reverse
align-content
flex-start
stretch
flex-start
center
flex-end
space-between
space-around
align-self:
stretch
flex-start
center
flex-end
baseline
order:
flex-grow:
flex-shrink:

What to add or subtract?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Bogachev, 2019-09-27
teacher @tosrer

MS browsers do not seem to support ...

There is no need to guess in such things, all variables are known.
Step one: Go to caniuse.com/#feat=flexbox and find browser support there.
Step two: Go to the flexbugs repository and find the list of flexbugs.
Step three: Go to the business and find out the list of target browsers (it is determined based on the audience).
By comparing these three things, you will see the answer to the question of what to use or not to use in a particular case.
PS: And yes, it's still worth testing.

B
beduin01, 2019-09-28
@beduin01

Honestly - forget it already on IE, check it better so that everything is displayed on mobile phones. IE is now even on the websites of government agencies is not higher than 1%.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question