经典的随内容的增多,底部不断向下走,保持一直在下面
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>经典的随内容的增多事,底部不断向下走,保持一直在下面</title>
</head>
<body>
<div class="wrap" style="position: fixed; left:0;top:0; width: 100%; height: 100%;right: 0;bottom: 0; background: #ccc; overflow: auto">
<div style=" min-height: 100%; width: 100%">
<div style="padding-bottom:50px;">
<div>中间的内容区域</div>
</div>
</div>
<div style="margin-top:-50px; position: relative;"><button>底部的内容</button></div>
</div>
</body>
</html>