cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
user profile image

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 width and height using a vw value and then set its min-width and 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!).


  1. No comments yet.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.