Playing with text-fit. @KrijnHoetmer explores the new text-fit CSS property, fil...
Web Standards @webstandards_dev@mastodon.social
Playing with text-fit. @KrijnHoetmer explores the new text-fit CSS property, filling the gap while docs are still sparse. It scales text automatically: grow enlarges from the base size, shrink reduces it to fit the container. Modes let you scale consistently, per line, or per line including the last, with optional percentages setting min and max limits. It only affects rendering, not the computed font-size. Only in Chrome 150 for now. #css #typography