相关文章推荐
善良的回锅肉  ·  1>MSVCRTD.lib(exe_main ...·  1 年前    · 
另类的香蕉  ·  curl_easy_perform() ...·  1 年前    · 
没有腹肌的仙人球  ·  C++ ...·  2 年前    · 
潇洒的蚂蚁  ·  我的学习笔记12.8_js ...·  2 年前    · 
RIGHT < br />< br />< br /> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore. </ div > </ div > </ div >

对应的Css

html, body {
    height:100%;
    margin:0;
.main-container {
    height:100%;
    display:flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-align-content: stretch;
    align-content: stretch;
.left {
    background-color:lightgreen;
    width:100px;
.right {
    background-color: red;
    -webkit-flex: 1;
    flex:1;
    position:relative;
.child {
    background-color:steelblue;
    position:absolute;
    width:100%;
    height:100%;    
.scrollable {
     overflow-y:auto;