Viewport Breakpoint Font Sizer

This is a Sass function I wrote to facilitate predictable viewport-based font sizes.

I wrote it to accompany my conference session on viewport units. 

It uses simple math to calculate what combination of settings would give us the font size we desire at a specific “threshold” breakpoint above which (and below which) we want the font size to increase at specific (and different) rates.

Experience it in action on CodePen!

View in GitHub