文章目录 1、flex-grow布局失效问题 1、flex-grow布局失效问题 注意:1、父元素必须指定宽度;2、宽度铺满的元素,必须有两个属性 flex-grow:1;width:0; .father{ width:500px; display:flex; } .left{ width:100px; } .mid{ flex-grow:1; width: 0; } .right{ width:100px; }