2014-04-25 3 views

답변

0

확실하지 내가 제대로 이해한다면 :

사용, 전체 화면으로 CSS 속성 이미지를 맞추려면 :

그러나
background-size:100% 100%; 

는 크기가 정확하지 않은 경우 이미지를 스트레칭 않습니다를

#skill2 { 
    background: url("/assets/img/developer-laptop-desk.jpg") no-repeat fixed center top/100% 100% rgba(0, 0, 0, 0); 
    text-shadow: 1px 1px #000000; 
    width: 100%; 
} 


#intro { 
    background-attachment: fixed; 
    background-image: url("/assets/img/backstretch.jpg"); 
    background-repeat: no-repeat; 
    background-size: cover; 
    height: 100%; 
    position: relative; 
    width: 100%; 
} 
+0

이미지를 수정하는 데 문제가 있으며 3D 렌더링에 문제가있는 것 같습니다. – afang

+0

클래스 ID 이름이나 이미지를 지정할 수 있습니까? –

+0

#backstretch and'developer-laptop-desk.jpg' – afang

관련 문제