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
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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
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