Chrome v23 didn't support viewport scale or viewport meta tag?
I made a HTML5 Webapp and I want it auto scaled by window size on PC (not mobile). so I add it in css:
@-ms-viewport { width: 1024px; }
@-webkit-viewport { width: 1024px; }
@-moz-viewport { width: 1024px; }
@-o-viewport { width: 1024px; }
@viewport { width: 1024px; }
In IE10(Win8), It OK, if window is resized smaller, everything in html is smaller. the html has scaled down.
but In Chrome v23, if window is resized smaller, everything in html is NOT scaled at all.Chrome v23 didn't support viewport scale?
No, @viewport
is not yet implemented in Chrome. As far as I'm aware, the viewport
meta tag has only ever been implemented in mobile browsers, not desktop ones.
上一篇: 用C#编写USB驱动器便携式应用程序