-
In today's episode of Andy finds clamp() useful for everything: a little progress indicator which is controlled by a
--progress% The problem with settingleftas a % is the indicator will blow out the track. Not with clamp! -
…in reply to @piccalilli_
Clamp line for you folks at home: clamp(0.001%, var(--progress), calc(var(--progress) - var(--progress-thumb-width))); --progress-thumb-width: some static width like 30px or whatever
