简体   繁体   English

iPad媒体查询(横向)

[英]Ipad media query (landscape)

I cannot see changes to the landscape ipad version This is the site http://bit.ly/site-demo In responsive.min.css I added this rule: 我看不到横向ipad版本的更改。这是站点http://bit.ly/site-demo在响应.min.css中,我添加了以下规则:

@media only screen and (min-device-width : 768px) 
and (max-device-width : 1024px) and (orientation : landscape) {   
  .q_logo{
    width:22%;
  }
  .header_menu_bottom .main_menu{
    left:37,0%;
  }
}

But the rule is not working. 但是规则不起作用。 How do I resolve this? 我该如何解决?

Ok after debugging you css file found this issue. 确定,调试后,css文件发现此问题。 You have missed a closing bracket for this query @media only screen and (max-width:420px) { . 您错过了此查询@media only screen and (max-width:420px) { This should solve your problem. 这应该可以解决您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM