간단한 질문 : CSS로이 스크롤 효과를 얻으려면 어떻게해야합니까?고정 배경 스크롤 효과
#one {
background: url(http://images.buzzillions.com/images_products/07/02/iron-horse- maverick-elite-mountain-bike-performance-exclusive_13526_100.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment:fixed;
}
#two {
background: url(http://img01.static-nextag.com/image/GMC-Denali-Road-Bike/1/000/006/107/006/610700673.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment:fixed;
}
감사합니다 : ->
는 이미이 시도! :)
해당 페이지에서 시차가 없습니다. 그 고정 위치 div는 다른 것 아래에 설정됩니다. 코드를 보라. –