Aug 8, 2017 · 1 min read
Do you have any idea how this would work for any viewport height as well?
I’ve tried replacing vw with vh and the max/min screen sizes with heights instead of widths. But what I’m wondering is an equation that listens to both width and height at the same time.
Possibly using the difference between vmax and vmin to do this?
