style:zoom自适应

This commit is contained in:
杨丹华
2025-05-23 10:13:50 +08:00
parent bdbfce8c23
commit 7a34c2fb07

View File

@@ -157,6 +157,11 @@ div{
height: 60px; height: 60px;
} }
/*屏幕兼容性*/ /*屏幕兼容性*/
@media screen and (min-width:150px) and (max-width:749px){
body{
zoom: 0.6;
}
}
@media screen and (min-width:750px) and (max-width:1280px){ @media screen and (min-width:750px) and (max-width:1280px){
body{ body{
zoom: 0.75; zoom: 0.75;