Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tigt
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tigt/a9af3f0dc6fcd38383ed to your computer and use it in GitHub Desktop.
Save tigt/a9af3f0dc6fcd38383ed to your computer and use it in GitHub Desktop.
Look at this horrible `sizes` I came up with
sizes="(orientation: landscape) and (min-width: calc((7/8 * (100vh - 100px)) + 200px)) calc((100vh - 100px) * 8/7 * 0.7142),
(orientation: landscape) calc((100vw - 200px) * 0.7142),
(min-width: calc(7/8 * (100vh - 200px))) calc((100vh - 200px) * 8/7 * 0.7142),
71.42vw"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment