I am using rem
s for my CSS sizes and am also using getBoundingClientRect
in javascript. getBoundingClientRect
returns it’s values in px
by default. Is it possible to get it to return the values in rem
s? It would make my code a little simpler.