Answer the question
In order to leave comments, you need to log in
How to calculate insta frame height relative to width?
Good morning, guys.
There is an adaptive frame that displays an image / is visible from instagram. The frame size is 100% of the filled area (container), regardless of the screen resolution. Maximum 500px. But he has 1 minus - this is the height.
Tell me, how best to calculate the height so that it ages under relative to the width?
I tried to do it by analogy with fonts , through CALC and 100vh, but it still doesn’t work out.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question