VH height calcs in microthemer

This topic contains 1 reply, has 2 voices, and was last updated by  Sebastian 2 weeks, 5 days ago.

Author Posts

thinkgobig

can we use calcs on height, or css calcs in general in microthemer?
If so, where is that done or the documentation for it?
Thanks.


Sebastian

Hey,

You can use calc in any GUI field. However, I think there may be some restrictions on using calc() with vh. I tried a few attempts but Chrome reported the rule to be invalid. calc(50vh) works, which is no different from 50vh, but calc(50vh – 100px) doesn’t. It seems browsers don’t support all combinations of units with calc().

I can offer some advice on alternative solutions if you would like to share your issue?

Cheers,
Sebastian

You must login or register to reply to this topic.