Why call linear interpolation a "lock"?
It's amusing to see "calc" in CSS. You're only allowed the operators + - * /. No functions. Want to bet people start demanding user-defined functions?
It's amusing to see "calc" in CSS. You're only allowed the operators + - * /. No functions. Want to bet people start demanding user-defined functions?
The word "clamped" should have been used instead of "lock". They just want the text size to scale linearly with page width, but they want to "clamp" the text size so that it always stays within some reasonable (min, max) range. They could have also called it "piecewise linear".
There are two water levels, high and low side of the lock.
The lock smoothly transitions you from one level to the other.
A media query without the transition would be like navigating a boat down a waterfall rather than down a lock; jarring!
font-size, line-height = function(viewport_width, max, min)
in CSS. I think a closer analogy would be comparing it to timing/easing functions, rather than linear interpolation.Doesn't Sass/SCSS already do that?
"Eventually"