I have page that I am using flex to wrap some div elements depending on the width of the browser. It is working fine on ID >= 10 and Chrome. Most of the flex stuff works on Firefox except for flex-flow:row wrap. Not sure what I am doing wrong?
This is the flex wrapper css
.topnav {
display: flex;
display: -moz-box;
display:-ms-flexbox;
display:-webkit-flex;
flex-flow: row wrap ;
flex-direction: row;
-moz-box-pack: center;
-webkit-flex-direction: row;
justify-content: center ;
-webkit-justify-content: center;
-moz-justify-content: center;
width: 100%;
margin:0px;
border: none;
}
Here is the inner box css
.block-wrapper{
/border: solid thin papayawhip;/
margin: 2px;
height:110px;
background-color: white;
border: solid thin black;
width: 240px;
justify-content: center;
-moz-justify-content: center;
}
I have use Firebug to inspect the styles and wrap is there but does nothing.
Thanks.