Sassy version. Viewport units are great, but, sadly, Edge doesn't support
vmax yet. Here's a simple way of getting past that when sizing an element. We set its
height using a
vw value and then set its
min-height to the same value in
vh. Resize! 😺
This Pen is a fork of Ana Tudor's Pen square edge length depending on max viewport dimension (no vmax!).