As I know, em-sizing was used by websmasters to create well-scaling sites, when changing font size in browser.
But in modern times, I see that scaling a page scales all elements, even px-sized, so page is zoomed correctly. So, does designing CSS in em-units is still the best design approach ? What is a difference now ?
Sample code, that doesn't give ane difference with scaling in FF:
<div style="background: black; width: 1em; height: 1em; display: inline-block;"></div>
<p style="font-size:1em">Sample</p>
<div style="background: black; width: 12pt; height: 12pt; display: inline-block;"></div>
<p style="font-size:12pt">Sample</p>
<div style="background: black; width: 16px; height: 16px; display: inline-block;"></div>
<p style="font-size:16px">Sample</p>