• 구글 계정 로그인

반응형 웹 css media width 설정

페이지 정보

profile_image
작성자 LJM
댓글 0건 조회 278회 작성일 17-09-15 08:59

본문

/* 스마트폰 가로+세로 */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px){

}

 

/* 스마트폰 가로 */

@media only screen and (min-width : 321px) {

}

 

/* 스마트폰 세로 */

@media only screen and (max-width : 320px) {

}

 

/* iPhone4와 같은 높은 크기 세로 */

@media

only screen and (-webkit-min-device-pixel-ratio : 1.5),

only screen and (min-device-pixel-ratio : 1.5) {

}

 

/* iPhone4와 같은 높은 해상도 가로 */

@media only screen and (min-width : 640px) {

}

 

/* iPad 가로+세로 */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

 

/* iPad 가로 */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

 

/* iPad 세로 */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

}

 

/* 데스크탑 브라우저 가로 */

@media only screen and (min-width : 1224px) {

}

 

/* 큰 모니터 */

@media only screen and (min-width : 1824px) {

}

댓글목록

등록된 댓글이 없습니다.