标签:child ott 100% htc position body flow overflow div
<body>
<div class="parent">
<div class="leftChild"></div>
<div class="rightChild"></div>
</div>
</body>
body {width: 100%, height: 100%}
.parent {overflow: hidden; position:fixed; top:0; bottom:0; left:0; right:0}
.leftChild {float:left; overflow:auto; width:40%;height: 100%}
.leftChild {float:left; overflow:auto; width:60%; height: 100%}
后续还有更好的解决方案,会继续更新
标签:child ott 100% htc position body flow overflow div
原文地址:https://www.cnblogs.com/xiaominsweet/p/9186986.html