您好,欢迎访问一九零五行业门户网

css3 mediaquery_html/css_WEB-ITnose

/** * iphone 4/4s landscape & portrait */@media only screenand (min-device-width: 320px)and (max-device-width: 480px)and (-webkit-device-pixel-ratio: 2)and (device-aspect-ratio: 2/3) {}/** * iphone 4/4s portrait */@media only screenand (min-device-width: 320px)and (max-device-width: 480px)and (-webkit-device-pixel-ratio: 2)and (device-aspect-ratio: 2/3)and (orientation:portrait) {}/** * iphone 4/4s landscape */@media only screenand (min-device-width: 320px)and (max-device-width: 480px)and (-webkit-device-pixel-ratio: 2)and (device-aspect-ratio: 2/3)and (orientation:landscape) {}/** * iphone 5/5s landscape & portrait */@media only screenand (min-device-width: 320px)and (max-device-width: 568px)and (-webkit-min-device-pixel-ratio: 2) {}/** * iphone 5/5s portrait */@media only screenand (min-device-width: 320px)and (max-device-width: 568px)and (-webkit-min-device-pixel-ratio: 2)and (orientation: portrait) {}/** * iphone 5/5s landscape */@media only screenand (min-device-width: 320px)and (max-device-width: 568px)and (-webkit-min-device-pixel-ratio: 2)and (orientation: landscape) {}/** * iphone 5/5s landscape & portrait */@media only screenand (min-device-width: 414px)and (max-device-width: 736px)and (-webkit-min-device-pixel-ratio: 3) {}/** * iphone 5/5s portrait */@media only screenand (min-device-width: 414px)and (max-device-width: 736px)and (-webkit-min-device-pixel-ratio: 3)and (orientation: portrait) {}/** * iphone 5/5s landscape */@media only screenand (min-device-width: 414px)and (max-device-width: 736px)and (-webkit-min-device-pixel-ratio: 3)and (orientation: landscape) {}@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : portrait) { //iphone 6 portrait}@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : landscape) { //iphone 6 landscape}@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : portrait) { //iphone 6+ portrait}@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : landscape) { //iphone 6+ landscape}@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px){ //iphone 6 and iphone 6+ portrait and landscape}@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : portrait){ //iphone 6 and iphone 6+ portrait}@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : landscape){ //iphone 6 and iphone 6+ landscape}/** * galaxy s3 landscape & portrait */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 2) {}/** * galaxy s3 portrait */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 2)and (orientation: portrait) {}/** * galaxy s3 landscape */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 2)and (orientation: landscape) {}/** * galaxy s4 landscape & portrait */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3) {}/** * galaxy s4 portrait */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: portrait) {}/** * galaxy s4 landscape */@media screenand (device-width: 320px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: landscape) {}/** * galaxy s5 landscape & portrait */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3) {}/** * galaxy s4 portrait */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: portrait) {}/** * galaxy s4 landscape */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: landscape) {}/** * htc one landscape & portrait */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3) {}/** * htc one portrait */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: portrait) {}/** * htc one landscape */@media screenand (device-width: 360px)and (device-height: 640px)and (-webkit-device-pixel-ratio: 3)and (orientation: landscape) {}/** * ipad mini landscape & portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad mini portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: portrait)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad mini landscape */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: landscape)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad 1/2 landscape & portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad 1/2 portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: portrait)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad 1/2 landscape */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: landscape)and (-webkit-min-device-pixel-ratio: 1) {}/** * ipad 3/4 landscape & portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (-webkit-min-device-pixel-ratio: 2) {}/** * ipad 3/4 portrait */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: portrait)and (-webkit-min-device-pixel-ratio: 2) {}/** * ipad 3/4 landscape */@media only screenand (min-device-width: 768px)and (max-device-width: 1024px)and (orientation: landscape)and (-webkit-min-device-pixel-ratio: 2) {}/** * galaxy tab 10.1 landscape & portrait */@media(min-device-width: 800px)and (max-device-width: 1280px) {}/** * galaxy tab 10.1 portrait */@media(max-device-width: 800px)and (orientation: portrait) {}/** * galaxy tab 10.1 landscape */@media(max-device-width: 1280px)and (orientation: landscape) {}/** * asus nexus 7 landscape & portrait */@media screenand (device-width: 601px)and (device-height: 906px)and (-webkit-min-device-pixel-ratio: 1.331)and (-webkit-max-device-pixel-ratio: 1.332) {}/** * asus nexus 7 portrait */@media screenand (device-width: 601px)and (device-height: 906px)and (-webkit-min-device-pixel-ratio: 1.331)and (-webkit-max-device-pixel-ratio: 1.332)and (orientation: portrait) {}/** * asus nexus 7 landscape */@media screenand (device-width: 601px)and (device-height: 906px)and (-webkit-min-device-pixel-ratio: 1.331)and (-webkit-max-device-pixel-ratio: 1.332)and (orientation: landscape) {}/** * kindle fire hd 7 landscape & portrait */@media only screenand (min-device-width: 800px)and (max-device-width: 1280px)and (-webkit-min-device-pixel-ratio: 1.5) {}/** * kindle fire hd 7 portrait */@media only screenand (min-device-width: 800px)and (max-device-width: 1280px)and (-webkit-min-device-pixel-ratio: 1.5)and (orientation: portrait) {}/** * kindle fire hd 7 landscape */@media only screenand (min-device-width: 800px)and (max-device-width: 1280px)and (-webkit-min-device-pixel-ratio: 1.5)and (orientation: landscape) {}/** * kindle fire hd 8.9 landscape & portrait */@media only screenand (min-device-width: 1200px)and (max-device-width: 1600px)and (-webkit-min-device-pixel-ratio: 1.5) {}/** * kindle fire hd 8.9 portrait */@media only screenand (min-device-width: 1200px)and (max-device-width: 1600px)and (-webkit-min-device-pixel-ratio: 1.5)and (orientation: portrait) {}/** * kindle fire hd 8.9 landscape */@media only screenand (min-device-width: 1200px)and (max-device-width: 1600px)and (-webkit-min-device-pixel-ratio: 1.5)and (orientation: landscape) {}/** * non-retina screens */@media screenand (min-device-width: 1200px)and (max-device-width: 1600px)and (-webkit-min-device-pixel-ratio: 1) {}/** * retina screens */@media screenand (min-device-width: 1200px)and (max-device-width: 1600px)and (-webkit-min-device-pixel-ratio: 2)and (min-resolution: 192dpi) {}/** * apple watch */@media(max-device-width: 42mm)and (min-device-width: 38mm) {}/** * moto 360 watch */@media(max-device-width: 218px)and (max-device-height: 281px) {}
其它类似信息

推荐信息