赞同 @Chuckie Chang的回答,chrome把滚动条的width也算在媒体查询里。你把chrome调试工具换成右列显示,就会发现800px时媒体查询生效了
泻药~ 不太懂,老板要求一般都是用JS判断用户是哪个尺寸的屏幕,然后直接替换相应的session["css"]文件这样来做。前台输出?css=session["css"]。我们不太害怕效率耗损~ 因为who care ~ 至于对于某个尺寸宽高的CSS代码的编写我们不参与~
meta没加上
Statement:
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