Closed TongDaDa closed 5 years ago
@TongDaD you can use it together with https://github.com/cuth/postcss-pxtorem with the flag replace: false
.
For example in your postcss.config.js
:
module.exports = {
plugins: {
'postcss-pxtorem': {
replace: false
},
'postcss-px-to-viewport': {
replace: false
}
}
}
Excuse me, is there a regressive solution, for example input width: 37.5 px; output: width: 37.5 px; width: 1 rem; width: 10vw;