是否有一个元标记或台式机的东西像视口初始尺度? [英] Is there a meta tag or something for desktops that works like viewport initial-scale?

查看:129
本文介绍了是否有一个元标记或台式机的东西像视口初始尺度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道你在想这是一个奇怪的请求,但是我目前正在处理的客户端给了我一个模板,并决定他希望它在浏览器中看到它和所有的HTML完成后减少70%( !!!! )。因此,把所有为我们两人做的工作抛在窗外。如果我可以调整到0.7(70%),这将是完美的,项目仍然可以推出它的方式。 谢谢!

I know you're thinking that this is a strange request, however I am currently dealing with a client that gave me a template and decided he wanted it 70% smaller after seeing it in a browser and all the HTML done (!!!!). Thus throwing all the work that was done for both of us out the window. If I could adjust the scale to 0.7 (70%) that would be perfect and the project can still roll out the way it was going. Thank you!

推荐答案

body {
zoom: 0.7;
transform: scale(0.7);
transform-origin:0 0;
-ms-transform: scale(0.7);
-ms-transform-origin:0 0;
-moz-transform: scale(0.7);
-moz-transform-origin: 0 0;
-o-transform: scale(0.7);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.7);
-webkit-transform-origin: 0 0;
}

这篇关于是否有一个元标记或台式机的东西像视口初始尺度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆