piccalilli_’s avatarpiccalilli_’s Twitter Archive—№ 49,461

  1. I'm building a little website for my partner and have spent ages working out why my clamp() fluid type was *massive* turns out, the min was set to 16rem, not 1rem hello I am teaching people CSS
    1. …in reply to @piccalilli_
      anyway, this is working p well so far: font-size: clamp(var(--fluid-type-min), 1rem + var(--fluid-type-target), var(--fluid-type-max)); handy to be able to contextually set the custom props