响应式网页布局,不能控制放缩,媒介查询也不起作用,求解。_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:35:56
Original
1383 people have browsed it




Login




    
    

        
        

登录


        
 
        
        
        
        
        
        

    

 


css中的媒介查询也没有作用:
@media screen and(min-device-width:300px){ 
      body{background-color:#000;}
     #submit,#forget,#user,#pwd{height:25px;}
}


回复讨论(解决方案)

css中的媒介查询也没有作用:
@media screen and(min-device-width:300px){ 
      body{background-color:#000;}
     #submit,#forget,#user,#pwd{height:25px;}
}
多设置几个值

css中的媒介查询也没有作用:
@media screen and(min-device-width:300px){ 
      body{background-color:#000;}
     #submit,#forget,#user,#pwd{height:25px;}
}
多设置几个值


测试工具的原因,插手机可以控制到。

老衲没有明白啊啊啊啊啊

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!