How do I make flex box work in safari?

akoito picture akoito · Jul 23, 2014 · Viewed 109.3k times · Source

How do I make flex boxes work in Safari? I have a responsive nav that uses a CSS flex box to be responsive and for some reason it won't work in Safari.

Here is my code:

http://jsfiddle.net/cyberjo50/n55xh/3/

Is there a prefix I'm missing to make it work in Safari?

Answer

huseyin39 picture huseyin39 · Dec 15, 2019

Giving flex a value solved the problem for me, e.g.

flex: 1 0 auto