以一个分辨率为基准,根据分辨率计算,例如:deviceWidth = 320,font-size = 320 / 6.4 = 50pxdeviceWidth = 375,font-size = 375 / 6.4 = 58.59375pxdeviceWidth = 414,font-size = 414 / 6.4 = 64.6875px
以一个分辨率为基准,根据分辨率计算,例如:
deviceWidth = 320,font-size = 320 / 6.4 = 50px
deviceWidth = 375,font-size = 375 / 6.4 = 58.59375px
deviceWidth = 414,font-size = 414 / 6.4 = 64.6875px