Scaling text font size with widgets on the Dashboard

I have some widgets that display information through text and would like the text to scale with the widget size. I have tried to use "vw" and "vh" which scales to the full window rather than the widgets, and I have tried some other CSS tricks as well with no avail.