opacity: progress(5, 0, 10);`progress()` CSS function / notebook
`progress()` CSS function
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
/* Computes to 1, not 1.5 */
scale: progress(15, 0, 10);
/* Computes to 0, not -0.5 */
scale: progress(-5, 0, 10);/* Computes to 1.5 */
scale: progress(no-clamp 15, 0, 10);
/* Computes to -0.5 */
scale: progress(no-clamp -5, 0, 10);