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

What to do with viewport relative units #2

Description

@bartveneman

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 😜

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions