兩個div並排,右邊div固定寬度,左邊寬度自適應

如下只是其中一種方法:ide

.figure {
    height: 1400px;
    width: calc(100% - 200px);
    background: white;
    float: left;
}

.figure_side {
    height: 1400px;
    width: 200px;
    background: #f0f0f0;
    float: right;
}
相關文章
相關標籤/搜索