Responsive Foundation 6.0.0

Sidebar

Typography » Factory Calculate Growth ScaleLink

Since: 2.0.0 New Issue

Calculates the multiplier needed for growth between a minimum and maximum value based on a given rate of growth.

@param {int} $min - The minimum value to use. Units, if used, must match $max. @param {int} $max - The minimum value to use. Units, if used, must match $min. @param {int} $steps - The total number of values to calculate. @return {int} - A number to multiply by in an exponential equation to equal the maximum value on the last value calculated. Useful to calculate $scale for use in the calc-size function.

@see calc-size @requires pow - an exponential function in the mathsass library

Source: _typography-tools.scss, line 230 View Source