Rem and PX are both CSS-style units. Usually PX is the unit we are familiar with. Therefore, if you convert rem according to the design draft, you generally need to convert according to the px font size set by the html. This tool can realize the conversion between rem and px.
Link:aitoolsbar