rem转px


rem和px的比例是1:16,也就是说2.5rem,等同于 2.5 * 16 = 40px

参考资料

https://codebeautify.org/rem-to-px-converter

相关