0
我正在做一個簡單的網站目前,我有一個封面背景,在桌面上看起來不錯,但當我切換到移動時,背景只填滿了一半的屏幕?Resposive背景不填充移動屏幕
這是我的代碼。
.bg {
background: url('/imgs/storm.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment:fixed;
}
這裏是頁面的地址。
的jsfiddle:http://jsfiddle.net/djqma8ce/