@media запросы для вёрстки страниц

{шаблон} @media медиазапросы

Полезный набор @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)  and (orientation: portrait) {

 }
 
/* 
 ##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) {

 }

CSS
07 декабря 2019, 21:18 Разработка 0    8 0