https://jsfiddle.net/channg/j...
Why does the width of display:flex using box change?
After changing flex:-webkit-box, will the subsequent boxes be pushed out?
stackoverflow docker 1
stackoverflow docker 2
display: box; 2009 version of flexdisplay: flexbox; 2011 version of flexdisplay: flex; current version
display: box;
display: flexbox;
display: flex;
Due to version issues, you cannot simply change display: flex to display: -webkit-box
display: flex
display: -webkit-box
You also need to change flex-grow: 1 to -webkit-box-flex: 1
flex-grow: 1
-webkit-box-flex: 1
stackoverflow docker 1
stackoverflow docker 2
display: box;
2009 version of flexdisplay: flexbox;
2011 version of flexdisplay: flex;
current versionDue to version issues, you cannot simply change
display: flex
todisplay: -webkit-box
You also need to change
flex-grow: 1
to-webkit-box-flex: 1