Text Ellipsis (Truncate)
Text Ellipsis (Truncate)
When text is too long, the end gets cut off with '…' so it doesn't spill out of its box.
💡 It's like a message preview that shows only the first part and trails off with '…'.
👆 Try it yourself
It really works — click around and see.
CSSwhite-space: nowrap; overflow: hidden; text-overflow: ellipsis;
🤖 Say this to your AI
If a product name on a card goes beyond two lines, cut it off with an Ellipsis '…' (line-clamp 2).
The key word is ‘Text Ellipsis (Truncate)’. Including it helps AI understand you much more precisely.
📌 Good to know
When text or images stick out past the edge of their box, that's called 'Overflow'. Just say 'it's overflowing' and the AI will understand.
When to use it
- When long product names or titles break the shape of your cards
Also called: …, dot dot dot, cut off text, truncate, overflow, line-clamp, text too long