阅读背景:

“显示完整站点”按钮以绕过css媒体查询。

来源:互联网 

I'm using css media queries on my website to switch to a more vertical layout on smaller devices. This works quite well, but I'd like to add a button on the site with something like "Show desktop version". I want to make this button (or link, whatever) force or alter the media query evaluations so they evaluate as if the screen width was bigger than it is (e.g. 1200px instead of 320px). Is this possible?I'm using css media queries on my website to sw




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: