div 自适应浏览器高度方式

*{
    margin: 0;
    padding: 0;
}
html, body{
     100%;
    height: 100%;
}
div{
    position: absolute;
    top: 0;
    left: 0;
     100%;
    min-height: 100%;
    height: auto;
    background: #000000;
}
 
原文地址:https://www.cnblogs.com/Samuel-Leung/p/11393943.html