Hubitat HTML Attribute Display

I like how the native sharptools tiles scale the font size as the overall dashboard is scaled. What HTML/CSS in a custom tile will achieve the same effect? I’ve tried defining font size in percent, em, etc. but no luck.