.yz_aside{ width: 160px; height: 100%; float: left; color: #fff; background-color: #06162d; } .yz_main{ width: calc(100% - 160px); height: 100%; float: right; }