2017-12-07 2 views

답변

2

아이폰 5는 그래서 당신과 같이이 orientation와 정보와 max-device-width을 사용할 수 있습니다 568px의 가로 폭 :

@media screen and (max-width: 374px), 
     screen 
     and (max-device-width: 568px) 
     and (orientation: landscape) { 

    /* styles here for iphone 5 landscape + any screen below 374px */ 
    .hide-content-iphone5 { 
     display: none; 
    } 
} 

"또는"미디어 쿼리 의미의 쉼표 - 그래서 화면을 캡처하는 374px보다 작거나 최대 장치 너비가 568px이며 가로 방향입니다.