piccalilli_’s avatarpiccalilli_’s Twitter Archive—№ 48,151

    1. Quick tip: in CSS you can set some space for when an element is targeted, such as a heading anchor. h2 { scroll-margin-top: 2ex; } Using an ex unit will use the x-height, which is exactly what you imagine it’ll be: the height of the x character in that font *and* size.
  1. …in reply to @piccalilli_
    We went into depth on units with Every Layout: every-layout.dev/rudiments/units/