In all my style-sheets, I opt for using em
s instead of px
. However, in Chrome Developer Tools, the computed styles/metrics always display in px
, even for elements where I specifically used em
s:
(Here is a screenshot of the computed lengths for a button with an icon from Font Awesome. I specified the padding as 0.4em and wanted to see how tall the icon is.) While I can manually convert by dividing by 16, it's trickier with numbers like "14.841". Is there a way to change the default length measurement unit? (Similar to desktop graphics software where you can switch between pixels, points, inches, or centimeters?) Alternatively, is there a feature within the dev tools that displays lengths in ems? (Perhaps the rulers, ...?)