Skip to content

Instantly share code, notes, and snippets.

@terkel
Last active February 19, 2019 10:29
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 terkel/2c33cd44475c077e7d2f2f71b15dbac7 to your computer and use it in GitHub Desktop.
Save terkel/2c33cd44475c077e7d2f2f71b15dbac7 to your computer and use it in GitHub Desktop.
// 1/1 (1) * 7/4 (1.75) // 16px/28px
// 16/15 (1.06667) * 15/8 (1.875) // 17.06667px/32px
// 8/7 (1.14286) * 63/32 (1.96875) // 18.28571px/36px
// 36/31 (1.16129) * 31/16 (1.9375) // 18.58064px/36px
// 80/63 (1.26984) * 63/32 (1.96875) // 20.31746px/40px
//
// 9/8 (1.125) * 1/1 (1) * 14/9 (1.55556) // 18px/28px
// 9/8 (1.125) * 16/15 (1.06667) * 5/3 (1.66667) // 19.2px/32px
// 9/8 (1.125) * 8/7 (1.14286) * 7/4 (1.75) // 20.57143px/36px
// 9/8 (1.125) * 36/31 (1.16129) * 31/18 (1.72222) // 20.90323px/36px
// 9/8 (1.125) * 80/63 (1.26984) * 7/4 (1.75) // 22.85714px/40px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment