Where are you trying to return HTML in Perspective? The only place this can work is within the Markdown component, if you’ve specifically allowed HTML.
What you probably want is to put your min(max()) CSS expression into a style class, and then apply that style class to whatever components you choose.
i think this css expression just doesnt make any sense. A max(16px) inside a min(8px) does not seem right xd
As now with this expression it will always return 8px... How do you want to size it?
min 8px and max 16px?
should look like this:min(max(8px, 2vw), 16px)
or you just use clamp: clamp(8px,2vw,16px)