Home / CSS Tips Generated By ChatGPT / Controlling Text Overflow in CSS Use the text-overflow property to handle how overflowed content is displayed in a block container. Source Code .overflow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }