piccalilli_’s avatarpiccalilli_’s Twitter Archive—№ 59,097

    1. In today's episode of Andy finds clamp() useful for everything: a little progress indicator which is controlled by a --progress % The problem with setting left as a % is the indicator will blow out the track. Not with clamp!
  1. …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
    1. …in reply to @piccalilli_
      don't for a minute think I know what I'm doing tho
      oh my god twitter doesn’t include alt text from images in their API