2 ms·
Huzzah! I don't think I ever would have thought to set both width and max-width (to > 100 vw no less!). Makes sense now that I see it though, thanks!
by zamadatix 4y ago
Huzzah! I don't think I ever would have thought to set both width and max-width (to > 100 vw no less!). Makes sense now that I see it though, thanks!
- amenghra 4y agomax-width gets set to vh, not vw. I do dislike this solution because the ratio is encoded twice. I’m sure there are other ways to achieve the same, some are perhaps more elegant?