인디노트
CSS media 디바이스별 설정 본문
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
}
/*
##Device = Laptops, Desktops
##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1025px) and (max-width: 1280px) {
}
/*
##Device = Tablets, Ipads (portrait),
##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {
}
/*
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}
/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/
@media (min-width: 481px) and (max-width: 767px) {
}
/*
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
}
반응형
'소스 팁 > HTML, Java Script, jQuery, CSS' 카테고리의 다른 글
fullpage (0) | 2023.09.19 |
---|---|
PNG 를 SVG 로 변환하는 NodeJS (0) | 2021.05.23 |
CSS nth-child 선택자의 예 (0) | 2021.04.02 |
HTML 레이아웃 잡을 때 박스 안쪽 테두리 실전 2가지 방법 (0) | 2021.04.02 |
다국어 리소스 관리 솔루션 (0) | 2021.03.05 |
Comments