codydotjs.dev

Posts tagged frontend

  1. frontend

    Keep the tail, clip the middle

    CSS truncate hides the end of an ID, and the end is the part that differs. mantle's TruncatedText clips the middle instead. Here's why it isn't flex, what a screen reader hears, and what it costs.