手机自适应 rem

@media only screen and (min- 320px){
  html {
    font-size: 62.5% !important;
  }
}
@media only screen and (min- 640px){
  html {
    font-size: 125% !important;
  }
}
@media only screen and (min- 750px){
  html {
    font-size: 150% !important;
  }
}
@media only screen and (min- 1242px){
  html {
    font-size: 187.5% !important;
  }
}

原文地址:https://www.cnblogs.com/double330/p/13093440.html