DEV Community

Discussion on: Convert px to rem Using Sass - 3 methods

Collapse
 
esneyder110 profile image
Esneyder110

Hey, i have the same question.
What happen if the 1rem is equal to 32px?
That value depends on the user's browser settings.

In that cases the function don't work properly

Collapse
 
teonsight profile image
Matteo P

I'm interested in the reply to Esneyder110's question.
Anybody?

To me it sounds like we should divide px by user's value.

Thanks