@use "sass:math";
//默认设计稿的宽度
//$designWidth: 3840;
//默认设计稿的高度
//$designHeight: 2160;
#app,html{
  font-size: 32px;
}
@media screen and (max-width:1920px){
  #app,html{
    font-size: 16px;
  }

}
$designWidth: 1920;
$designHeight: 1080;

//px转为vw的函数
@function vw($px) {
  @return math.div($px , $designWidth) * 100%;
}

//px转为vh的函数
@function vh($px) {
  @return math.div($px , $designHeight) * 100%;
}
