This question already has answers here:
How can I scale an entire web page with CSS?
                                
                                    (9个答案)
                                
                        
                                4年前关闭。
            
                    
我正在这个项目http://79.115.10.208:5000上工作,我发现如果将firefox浏览器的缩放比例更改为90%,我的网站会更漂亮。是否存在使用CSS快速调整大小的技巧?

最佳答案

在CSS上尝试

body {
-moz-transform: scale(0.9, 0.9); /* Moz-browsers */
zoom: 0.9; /* Other non-webkit browsers */
zoom: 90%; /* Webkit browsers */
}

关于css - css调整缩放完成网站的大小,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33366463/

10-12 13:02
查看更多