iphone5媒体查询与css
css媒体屏幕在iphone 5和ios 7上不起作用iphone5媒体查询与css,css,screen,media,Css,Screen,Media,css媒体屏幕在iphone 5和ios 7上不起作用 @media screen and (max-aspect-ratio: 2/3) { .content_main { position: relative; text-shadow: none; overflow: hidden; margin: 10% 5%; margin-top:2%; padding: 0; height: 75%; /*background-col
@media screen and (max-aspect-ratio: 2/3) {
.content_main {
position: relative;
text-shadow: none;
overflow: hidden;
margin: 10% 5%;
margin-top:2%;
padding: 0;
height: 75%;
/*background-color: white; */
}
尝试给出像素,而不是最大纵横比@媒体屏幕和(最大宽度:480px)不能在使用像素或emsI时出错,我也有类似的问题。有什么解决办法吗?