2

Here is what I want to do:

font-size: calc(1em * 100vh/100vw) // Good intentions, bad results. 

Or is there any other way or another property or mechanism that returns the aspect ratio of a device within the css? No javascript please that would be sacrilege! :-)

I have seen some q&a's on stackoverflow here and here and articles that sound like they deal with this problem but aren't close enough.

Marvin Danig
  • 3,738
  • 6
  • 39
  • 71

0 Answers0