撑满屏幕的div

<body>
<div class="father">
</div>
</body>

.father{
    	background-color:red;
	position:absolute;
	left:0;
	right:0;
	top:0;

	bottom:0;

}


猜你喜欢

转载自blog.csdn.net/qq_32018951/article/details/80585766
今日推荐