iphone 4和galaxy note 2的单独css
我试图为iPhone4和GalaxyNote2提供不同的css样式。但无论我为iPhone4做了什么尝试,都会在Note2上运行,我无法为它提供不同的css。以下是我按照我所设定的顺序所要做的iphone 4和galaxy note 2的单独css,css,Css,我试图为iPhone4和GalaxyNote2提供不同的css样式。但无论我为iPhone4做了什么尝试,都会在Note2上运行,我无法为它提供不同的css。以下是我按照我所设定的顺序所要做的 @media screen and (min-width : 360px) and (max-width : 640px) and (orientation: portrait) { // note 2 portrait code } @media screen and (min-width :
@media screen and (min-width : 360px) and (max-width : 640px) and (orientation: portrait) {
// note 2 portrait code
}
@media screen and (min-width : 360px) and (max-width : 640px) and (orientation: landscape) {
// note 2 landscape code
}
@media screen and (min-width : 320px) and (max-width : 640px) and (orientation: portrait) {
// iphone 4 portrait code
}
@media screen and (min-width : 320px) and (max-width : 640px) and (orientation: landscape) {
// iphone 4 landscape code
}
请帮帮我
iphone4
的最大宽度应该是480
而不是640px