背景全屏顯示
div{background:url(../img/bg.jpg) repeat left top; width:100%; background-size:100% 100%; min-height:100%; position:absolute; text-align:left;background-attachment:fixed;}
效果:
background-size:100% 100%圖片會出現壓縮,圖片變形
background-size:cover圖片會被截取