Re: [csswg-drafts] [css-values] [css-fonts-4] Native interpolation function in CSS

I just got directed here and thought it might be helpful to share two functions I did in SASS a while ago. (which do translate to plain css calc syntax)

@function interpol($min_window, $min_value, $max_window, $max_value)

@mixin interpolm($prop, $min_window, $min_value, $min_limit, $max_window, $max_value, $max_limit ) 

the actual example with the whole code: https://codepen.io/Manuel87/pen/GqzXdV

PS: @geelen .. the slider stuff looks interesting! :)

-- 
GitHub Notification of comment by Manuel87
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/581#issuecomment-304114557 using your GitHub account

Received on Thursday, 25 May 2017 20:26:13 UTC