should be REMs. EMs are relative to the element and will have some expected results when nesting. Pixel fonts are not reliable when zooming in.
I normally use SASS and have a little mixin that does the calculation from px to rem, so you can add your base font size and then add with px and it will spit out rems.
Update it to the responsive typography formula.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.