PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 3.2.2
GiveWP – Donation Plugin and Fundraising Platform v3.2.2
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
give / src / DonationForms / FormDesigns / ClassicFormDesign / css / _fn.scss
_fn.scss
13 lines 499 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'sass:math';
2 @use 'variables';
3
4 // @see https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/
5 @function scaleBetween($minFontSize, $maxFontSize) {
6 $maxWidth: variables.$containerMaxWidth;
7 $minWidth: variables.$desktopMinWidth;
8 $slope: math.div(($maxFontSize - $minFontSize), ($maxWidth - $minWidth));
9 $yAxisIntersection: -$minWidth * $slope + $minFontSize;
10
11 @return clamp($minFontSize, $yAxisIntersection + ($slope * 100vw), $maxFontSize);
12 }
13