REM vs. PX in widgets

Hello,
in my widgets I have a mixture of REM and PX size declarations.
I learned that REM depends on the font-size and therefore is better for correct scaling.

But also the other stuff in my widgets scales fine when using the Zoom-function of the browser.
So when does this matter? Or this it matter at all for OH widgets?

Regards
Bernd

After reading the long discussion at
https://stackoverflow.com/questions/11799236/should-i-use-px-or-rem-value-units-in-my-css

I guess the answer is a clear “It depends” :wink:

1 Like