What to do with viewport relative units
bartveneman opened this issue · 0 comments
bartveneman commented
I was trying to find a proper way to sort font-sizes like 3vw or maybe even more complex like calc(5vmax + 2em). Problem is that these values are always relative to a viewport, which can have unlimited different ratios. For now they end up alphabetically at the end of the list. I think there's two options:
- Alphabetically at the end: sounds great, let's not make it more complicated than that!
- Let's provide an optional parameter with viewport dimensions and do some ridiculous calculations 😩
Dropping this here hoping for a smart default or maybe even a workable solution 😜