var clientWidth = window.screen.width;
var clientHeight = window.screen.height;
var maxValue;
clientWidth < clientHeight ? $("html").css("font-size", 100 * (clientWidth / 375)) : $("html").css("font-size", 100 * (clientHeight / 375));
clientWidth < clientHeight?maxValue = clientHeight:maxValue = clientWidth;

相关文章:

  • 2021-12-02
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-07-24
猜你喜欢
  • 2021-07-13
  • 2022-12-23
  • 2022-01-25
  • 2021-12-11
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案