1. 程式人生 > >背景圖適應全屏

背景圖適應全屏

background: url("images/img1.jpg") no-repeat;
background-size:100% 100%;
background-attachment: fixed;
width: 100%;
height: 100%;
position: fixed;
top:0;
left:0;
right:0;
bottom:0;