Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

What to do with viewport relative units #2

Open
bartveneman opened this issue Aug 13, 2017 · 0 comments
Open

What to do with viewport relative units #2

bartveneman opened this issue Aug 13, 2017 · 0 comments

Comments

@bartveneman
Copy link
Contributor

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 😜

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant