Skip to content

Instantly share code, notes, and snippets.

@nchapman
Created February 20, 2010 02:11
Show Gist options
  • Save nchapman/309448 to your computer and use it in GitHub Desktop.
Save nchapman/309448 to your computer and use it in GitHub Desktop.
# ruby font_sizes_from_base.rb 13
(10..50).each { |i| puts "#{i}px => #{(i/ARGV[0].to_f * 100).round}%" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment