the instruction for the extension "px2rem". u can use it to transfer px to rem in a css or scss or less file.
You can change the conversion ratio according to your needs. You just need to add the following configuration in setting.json. the default value is 100. the unit is px.
prepare a target suffixes file, and click the right-click, u can see an option named "transfer px 2 rem", click it, then all the "px" unit will be transfer to "rem"