* { margin:0px;padding:0px; } .box { width:100%; height:100vh; display:flex; } .left { flex:1; background:blue; } .center { flex:1; background:red; margin:0 10px; } .right { flex:1; background:black; }
更新时间:2020-03-19 00:45:52
css样式再加上
*{ margin: 0; padding: 0; }.box { height: 100 vh }